I installed Drupal 7 to see how there coming along, and I got this message in v6 also. But, where do I set value to satisfy the warning message?
Warning: date_create(): 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 'America/Los_Angeles' for 'PST/-8.0/no DST' instead in format_date() (line 2316 of /srv/www/drupal-7/drupal/includes/common.inc).
Is this setting in the php.ini config:
[Date]
; Defines the default timezone used by the date functions
;date.timezone =
...if it's this, then how should the value look or is it something that needs to be fixed in the common.inc?
Comments
That sounds like one of those
That sounds like one of those strange PHP5.3.x quirks.
Same on Mac OS 10.6 (PHP 5.3.0)
I get this error message too. Mac OS X provides PHP5.3.0.
date.timezone setting
Try entering the appropriate timezone setting in your php.ini file. e.g.
date.timezone = Europe/London
Available timezone options can be found at http://php.net/manual/en/timezones.php
Thanks davidkm, I set the
Thanks davidkm, I set the date.timezone and so far it's working....
See #348448: PHP strict
See #348448: Always report E_STRICT errors and related issues.