Hi All,
I am new to Zikula and just configured and installed Zikula with Apache and MySQL. After the installation when I go to index.php I get "Function split() is deprecated" error and in Apache's error.log see a 500 error:
[Sat Jul 18 21:21:51 2009] [error] [client 127.0.0.1] PHP Deprecated: Function eregi() is deprecated in C:\\cygwin\\home\\ashish\\Apps\\Apache\\htdocs\\z\\footer.php on line 11, referer: http://localhost:8888/z/install.php
[Sat Jul 18 21:21:51 2009] [error] [client 127.0.0.1] PHP Fatal error: Call to a member function themefooter() on a non-object in C:\\cygwin\\home\\ashish\\Apps\\Apache\\htdocs\\z\\footer.php on line 29, referer: http://localhost:8888/z/install.php
I am new to PHP too so any help is highly appreciated.
Thanks,
-AS
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- krator responded to »Multiple Errors Migrating Dizkus 3,1 to Dizkus 3.2« 18. Jun
- mikebcoffee created topic »Convert modules to 'Gettext'« 18. Jun
- rgasch responded to »Zikula: Not Ready for Prime Time?« 18. Jun
- trichers created topic »Mobile Theme html5 and link with tel:« 18. Jun
- espaan responded to »Interesting jQuery Javascript projects...« 17. Jun
- incasas responded to »Migrating Postcalendar 6.2 to Postcalendar 8.0« 17. Jun
- krator responded to »Error converting RATINGS and WEBLINKS« 16. Jun
Login
Getting: Function split() is deprecated
-
- Rank: Registered User
- Registered: Jul 18, 2009
- Last visit: Jul 18, 2009
- Posts: 1
-
- Rank: Developer
- Registered: Jun 16, 2003
- Posts: 2218
sounds like you have PHP 5.3 installed.
[ref (1) and (2)]PHP site
Note: As of PHP 5.3.0 the regex extension is deprecated, calling this function will issue an E_DEPRECATED notice.
if you installed PHP yourself, you may want to install 5.2.10 instead.
as for the footer error, that may be related to the first two, or you may have a corrupted package. I would suggest re-uploading the package tarball again. -
- Rank: Software Foundation
- Registered: Jul 21, 2001
- Posts: 725
I'll add a ticket to Zikula 1.2
Drak
--
Zikula Lead Developer
Board Member of the Zikula Foundation
Follow me on twitter.com/zikuladrak -
- Rank: Registered User
- Registered: Apr 02, 2002
- Last visit: Dec 13, 2009
- Posts: 32
apparently the solution is.....
To resolve this you can replace split by explode(). -
- Rank: Moderator
- Registered: Mar 15, 2005
- Last visit: May 30, 2010
- Posts: 1077
-
- Rank: Moderator
- Registered: Mar 15, 2005
- Last visit: May 30, 2010
- Posts: 1077
I replaced eregi with preg_match on all the lines it told me were the issues but am still getting a system error on PHP 5.3.
Quote
System Error
Non critical error
An unknown error has occured. The following error message was returned by the system
Function eregi() is deprecated
- Moderated by:
- Support
