Jump to content


Photo

Module Problem


  • Please log in to reply
1 reply to this topic

#1 Mac06

Mac06

    Etomite Forum Newbie

  • Member
  • 1 posts

Posted 19 July 2012 - 12:26 PM

Hi,
I am having problems with my website,
All the modules appear on every page with the following:-

Deprecated: Function split() is deprecated in /home/terona/public_html/modules/mod_mainmenu.php on line 52

What has caused this and what can I do to clear this problem.
Regards
Terry

#2 PaulD

PaulD

    Likes Etomite Forums!

  • Developers
  • PipPip
  • 413 posts

Posted 19 July 2012 - 10:09 PM

Split was dropped from php from version 5.3 - I think all you have to do is replace all the incidents of split with preg_split

It seems that the problem is with your customisations and not Etomite itself.

Another solution (albeit temporary) is hosts that have upgraded their php will sometimes allow you to use a lower version of PHP by some command in a .ini file somewhere (your host will have exact details).

Hope that helps.

Paul.

Useful link:
http://www.php.net/m....preg-split.php

Edited by PaulD, 19 July 2012 - 10:10 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users