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.

eZ debug

Timing: Jan 18 2025 19:09:18
Script start
Timing: Jan 18 2025 19:09:18
Module start 'layout'
Timing: Jan 18 2025 19:09:18
Module start 'content'
Timing: Jan 18 2025 19:09:19
Module end 'content'
Timing: Jan 18 2025 19:09:19
Script end

Main resources:

Total runtime0.7706 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 589.1641152.6406
Module start 'layout' 0.00670.0034 741.804739.4766
Module start 'content' 0.01010.7586 781.2813608.2266
Module end 'content' 0.76870.0018 1,389.507816.1484
Script end 0.7705  1,405.6563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4131160.0002
Check MTime0.00130.1632160.0001
Mysql Total
Database connection0.00080.110110.0008
Mysqli_queries0.710292.1642680.0104
Looping result0.00060.0834660.0000
Template Total0.734595.320.3672
Template load0.00200.254120.0010
Template processing0.732595.061820.3663
Template load and register function0.00010.016910.0001
states
state_id_array0.00110.142610.0011
state_identifier_array0.00080.097320.0004
Override
Cache load0.00170.2154270.0001
Sytem overhead
Fetch class attribute can translate value0.00090.121930.0003
Fetch class attribute name0.00170.214380.0002
XML
Image XML parsing0.00110.137330.0004
class_abstraction
Instantiating content class attribute0.00000.0035110.0000
General
dbfile0.00080.1004230.0000
String conversion0.00000.003540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs