Error on new eZp 4.0 install

Author Message

Andy Boston

Thursday 13 March 2008 1:22:51 pm

Hi there folks,

I've just installed version 4.0.0 with ezwebin and this keeps coming up

Strict Standards: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST' instead in /usr/home/ticklesi/public_html/lib/ezfile/classes/ezlog.php on line 127

How do i fix it?

Thanks in advance

André R.

Thursday 13 March 2008 1:31:07 pm

If you search for 'strtotime' in the forum you will get at a dozen of threads about it, the most straight forward way is to set thedate.timezone in php.ini.
If you can't do that, then please take a look at the other forum threads..

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Andy Boston

Thursday 13 March 2008 4:29:07 pm

Thanks Andre,

Can you tell me the path to the php.ini I need to change?

I can do it, I just need to know where it is :-)

Michael Hall

Friday 14 March 2008 2:05:43 am

If you're on Linux, it will probably be in /etc somewhere, either in the top level of the /etc directory or perhaps in the /etc/httpd directory.

On CentOS the path is /etc/php.ini

André R.

Friday 14 March 2008 2:09:09 am

No no no, use phpinfo() to get the exact php.ini file used, it's os / distro, package / self compiled and php4 / php5 independent.. :)

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Andy Boston

Tuesday 18 March 2008 5:28:01 pm

Thanks Andre I'll have a look :-)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.