Home Features Pricing Support Contact
Search:     Advanced search

Warning: date(): It is not safe to rely on the system's timezone settings...

Article ID: 329
Last updated: 06 Apr, 2011

 Error message/code:

Warning: date(): It is not safe to rely on the system's timezone settings...

Description:

Since PHP 5.1.0 (when the date/time functions were rewritten), every call to a date/time function will generate a E_NOTICE if the timezone isn't valid, and/or a E_WARNING message if using the system settings or the TZ environment variable.

Solution:

In file admin/config.inc.php set value for $conf['timezone']
available timezones see at http://www.php.net/manual/en/timezones.php

Article ID: 329
Last updated: 06 Apr, 2011
Revision: 1
Views: 4539
Comments: 1
Print Export to PDF Subscribe Share Add comment
This article was:   Helpful | Not helpful
Comments
1 Comments

Prev   Next
Content Encoding Error...     SMTP Error: Could not connect to SMTP host