We are aware of a potentially service impacting issue. Learn more

PHP 5.2.x to PHP 5.3.x Joomla Warning: date() [function.date]: It is not safe to rely on the system’s timezone settings. Print

  • 23

We did see the following message popping up at quite some (older) Joomla sites after upgrades of PHP 5.2.x to PHP 5.3.x,

Warning: date() [function.date]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting 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.

you can resolve this issue easy by adding the following to your php.ini file:

date.timezone=’Europe/Amsterdam’

(Or of course the timezone you are in, a full list can be found here: http://www.php.net/manual/en/timezones.php )


Was this answer helpful?

« Back