Posted by Kevin
2016-02-20

I got a warning message. 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. How could I remove it?
Posted by Tom
2016-02-20

I think you are using one of PHP v3.x series. It seems some PHP distributor accidentally injected a bug in php.ini file and that's causing the warning message in any PHP scripts that use the date() function.

A solution is declare your timezone specifically. Open web/staff/index.php and put this line after the first line "<?php"
date_default_timezone_set('---your timezone constant here---');
You can find timezone constants in this page:
http://php.net/manual/en/timezones.php