Installed PHP 5.3 on a Drupal 6.2 system and now get the following errors:
•warning: 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. We selected 'UTC' for 'UTC/0.0/no DST' instead in /var/www/html/sites/all/modules/event/event.module on line 1554.
Disable the event module and the errors go away.
Went into /admin/settings/event/timezone and set all TZ selections to a NON-Sitewide choice and stil get the same errors when the event module is enabled.
Any ideas?
Thanks!
Comments
Comment #1
bscsi CreditAttribution: bscsi commentedMay have figure it out. Seems that the time info needs defined in the php.ini file. So added this:
date.timezone = UTC
And those errors went away!
Comment #2
japerryEvent for Drupal 8 is unrelated to older versions. If an issue similar to this one exists, please open a new issue with the 8.x branch.