Home Features Pricing Support Contact

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

This article was:   Helpful | Not helpful Report an issue


Article ID: 329
Last updated: 06 Apr, 2011
Revision: 1
Views: 4633
Comments: 1
print  Print email  Subscribe share  Share pool  Add to pool comment  Add comment
Comments
https://www.kbpublisher.com/kb/client/images/icons/comment.svg 1 Comments

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