Member
Member
mileslogan   2009-08-05, 03:53
#1

Sorry , any idea with this error ? Its at the top of the main gallery page.
No galleries have been added .

Deprecated: Function ereg() is deprecated in C:\wamp\www\pics\zp-core\functions-i18n.php on line 305

Administrator
Administrator
acrylian   2009-08-05, 08:04
#2

No, that is not an error and not really an issue yet. Your server must be running already PHP 5.3 that labels the ereg function (and all others of the regex extension) as deprecated as these functions will be not in PHP 6 anymore.

Member
Member
southdreamz   2009-08-11, 05:07
#3

I just installed latest zenphoto and i got same error in my local system, using Windows XP and PHP 5.3.

Deprecated: Function ereg() is deprecated in C:\wamp\www\zenphoto\zp-core\functions-i18n.php on line 305.

but my live server is running 5.2.6, so there is no problem with this.

Administrator
Administrator
acrylian   2009-08-11, 08:08
#4

Not to use depecated functions is basically a recommendation. It will not be a real problem until PHP 6 where these will be thrown out.

Member
Member
sbillard   2009-08-11, 14:15
#5

We will eventually change all these. Personally, I think the PHP people have made a mistake here. There is not a simple replacement for these functions, so much work and testing will be required to stop using them. Work that would be better spend on "real" problems.

Member
Member
shub   2009-08-20, 16:10
#6

any way to remove those stupid messages? kinda ugly!

-Shub

Member
Member
sbillard   2009-08-20, 21:26
#7

It would seem you are in luck http://us3.php.net/manual/en/function.error-reporting.php.

With the introduction of this error message the powers that be have seen fit to allow supressing the messages. Set the error reporting to include E_ALL ^E_DEPRECATED in functions-basic.php where it is currently being set to E_ALL

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.