Forums / Install & configuration / About "strtotime()" error and Shared web hosting

About "strtotime()" error and Shared web hosting

Author Message

Pascal France

Monday 18 February 2008 11:43:44 am

Hi,

I would like to install eZP 4.0.0 on a Shared web hosting server (mavenhosting.com).
At the begining of the installation I get this error message:

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 'Europe/Berlin' for 'CET/1.0/no DST' instead in /home/lapresse/public_html/ezflow/lib/ezutils/classes/ezdebug.php on line 879

I have read these two threads:
http://ez.no/developer/forum/install_configuration/it_is_not_safe_to_rely_on_the_system_s_timezone_settings
http://ez.no/developer/forum/install_configuration/timezone_on_php5_unstabel_version_solved
and I followed the André's solution:

1. Put it in '/settings/override/site.ini.append.php'
[TimeZoneSettings]
TimeZone=Europe/Paris

But it doesn't work and I still get the same error message. Therefore I have directely modified the site.ini file. But without more success.

A technician of mavenhosting told me to put:

[TimeZoneSettings]
TimeZone=Europe/Berlin

Before going on, I just would like to know the impact to the behavior of eZP if I use this setting whereas I'm in France ?

Regards,

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Vicente Olivan

Monday 18 February 2008 10:55:24 pm

Hi, Pascal:

See this link:
http://ez.no/developer/forum/install_configuration/4_0_time_zone_error_during_install

Grettings

eZ debug

Timing: Jan 18 2025 15:14:17
Script start
Timing: Jan 18 2025 15:14:17
Module start 'content'
Timing: Jan 18 2025 15:14:18
Module end 'content'
Timing: Jan 18 2025 15:14:18
Script end

Main resources:

Total runtime0.9504 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 587.9609180.8047
Module start 'content' 0.00770.9353 768.7656532.8281
Module end 'content' 0.94300.0074 1,301.593842.0547
Script end 0.9503  1,343.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.3075140.0002
Check MTime0.00130.1363140.0001
Mysql Total
Database connection0.00090.093110.0009
Mysqli_queries0.903295.0334550.0164
Looping result0.00070.0761530.0000
Template Total0.912196.020.4561
Template load0.00180.191420.0009
Template processing0.910395.777720.4552
Template load and register function0.00010.012410.0001
states
state_id_array0.00140.147410.0014
state_identifier_array0.00080.080720.0004
Override
Cache load0.00150.1558240.0001
Sytem overhead
Fetch class attribute can translate value0.00090.092920.0004
Fetch class attribute name0.00110.112730.0004
XML
Image XML parsing0.00080.082120.0004
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00160.1636180.0001
String conversion0.00000.001230.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
2content/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
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs