Recent Topics

1 Dec 13, 2012 03:09    

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

2 Dec 13, 2012 21:32

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.

3 Dec 13, 2012 21:49

Add this to php.ini

date.timezone = America/New_York

4 Dec 14, 2012 04:22

Thanks fplanque and sam2kb

Adding

date.timezone = America/New_York

to php.in fixed the problem.


Form is loading...