Page 1 of 1

Vicibox 3.0.9 apache error log fills HD on Time Zone error

PostPosted: Tue Jan 18, 2011 9:48 am
by williamconley
Code: Select all
Warning: date(): 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/New_York' for 'EDT/-4.0/DST' instead in /srv/www/htdocs/a2billing/common/lib/common.defines.php on line 118


Code: Select all
 nano /etc/php5/apache2/php.ini

search for timezone

uncomment and set your zone: (remove ";" from front of line)
Code: Select all
date.timezone ="America/New_York"

List of Supported TimeZones: http://www.php.net/manual/en/timezones.php

reboot or restart apache

Code: Select all
/etc/init.d/apache2 restart


Explanation: http://www.php.net/manual/en/timezones.php