PHP date() error - system timezone settings

Bug #572467 reported by Peter Hebert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
phSite CMS
Invalid
Low
Unassigned

Bug Description

On certain systems, when browsing the site root in browser, the following error code is generated:

PHP date() relying 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.

Tags: date php timezone
Revision history for this message
Peter Hebert (peterhebert) wrote :

this appears as a result of not setting a default time zone in php.ini
not a CodeIgniter bug per se...
if you set the timezone to UTC in php.ini it works fine in PHP 5.3 (which is the version in which this error appeared)

date.timezone = UTC

Changed in phsite:
status: New → Invalid
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.