Does anybody know how to fix this error:
Warning: date() [function.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 'EST/-5.0/no DST' instead in /home/anajulia/public_html/inc/sessions/model/_session.class.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/anajulia/public_html/inc/sessions/model/_session.class.php:215) in /home/anajulia/public_html/inc/sessions/model/_session.class.php on line 222
Warning: date() [function.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 'EST/-5.0/no DST' instead in /home/anajulia/public_html/inc/items/model/_itemquery.class.php on line 628
Warning: Cannot modify header information - headers already sent by (output started at /home/anajulia/public_html/inc/sessions/model/_session.class.php:215) in /home/anajulia/public_html/inc/_core/_template.funcs.php on line 168
Warning: Cannot modify header information - headers already sent by (output started at /home/anajulia/public_html/inc/sessions/model/_session.class.php:215) in /home/anajulia/public_html/inc/_core/_template.funcs.php on line 182
Warning: date() [function.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 'EST/-5.0/no DST' instead in /home/anajulia/public_html/inc/sessions/model/_hitlist.class.php on line 127
Site: www.anajuliajatar.com
Add this to php.ini
date.timezone = America/New_York
Thanks fplanque and sam2kb
Adding
date.timezone = America/New_York
to php.in fixed the problem.
This happens when upgrading PHP to a recent versions.
You can ask the support for your web host to fix this in their php.ini file.
With b2evolution v5 you can also correct this manually by editing the /conf files and setting a timezone there.