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