Knowledgebase
date/timezone not set in server php.ini causes error in admin
Posted by on 18 November 2013 07:53 PM

Version:

Loaded 7 Core 7.000.5.1 or earlier

Reported Issue:

If the date/timezone is not set in the php.ini (part of the php compiled on your server) 
 
Warning: strtotime() [function.strtotime]: 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/Chicago' for 'CST/‐6.0/no DST' instead in
/home1/yoursite/public_html/admin/includes/modules/summary/revenue.php on line 50
 
Resolution:

The fix is to add to admin/includes/application_top.php a setting like below;

date_default_timezone_set('America/Los_Angeles');
(1 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako Fusion