Warning: date () [function.date]:
Does anyone know where I can read the documentation for solving this warning. I can find a warning and I just get the phone book cost of pages with the same problem.
Warning: date () [function.date]: Cannot rely on system timezone settings. You must use the date.timezone parameter or the date_default_timezone_set () function. If you have used any of these methods and you are still getting this warning, you are most likely wrong with the timezone ID.
$config['today'] = date('Y-m-d');
source to share
You need to set the default timezone for PHP in a file php.ini
or in a program entry point file.
See more information at http://php.net/manual/en/function.date.php , http://www.php.net/manual/en/function.date-default-timezone-set.php and http : //www.php.net/manual/en/datetime.configuration.php#ini.date.timezone .
source to share
The method Nathan mentioned can be fixed by setting the timezone as stated in:
http://www.php.net/manual/en/function.date-default-timezone-set.php
A warning identical to your post is mentioned on this page at:
http://www.php.net/manual/en/function.date-default-timezone-set.php#73174
source to share