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

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 31 2025 01:24:35
Script start
Timing: Jan 31 2025 01:24:35
Module start 'layout'
Timing: Jan 31 2025 01:24:35
Module start 'content'
Timing: Jan 31 2025 01:24:35
Module end 'content'
Timing: Jan 31 2025 01:24:35
Script end

Main resources:

Total runtime0.0260 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.3828151.2422
Module start 'layout' 0.00540.0048 739.6250220.7500
Module start 'content' 0.01010.0144 960.3750997.9922
Module end 'content' 0.02450.0015 1,958.367229.9922
Script end 0.0260  1,988.3594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002810.6711140.0002
Check MTime0.00114.1635140.0001
Mysql Total
Database connection0.00103.654710.0010
Mysqli_queries0.003111.739230.0010
Looping result0.00000.087910.0000
Template Total0.00114.110.0011
Template load0.00083.220810.0008
Template processing0.00020.883210.0002
Override
Cache load0.00062.265310.0006
General
dbfile0.00217.922580.0003
String conversion0.00000.032940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs