bizzlesnaff / mwenhanced

Automatically exported from code.google.com/p/mwenhanced
0 stars 1 forks source link

Warning: date() #222

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 'Europe/Moscow' for 'MSK/3.0/no DST' instead in 
/var/www/html/templates/blizzlike/body_right.php on line 59 

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 'Europe/Moscow' for 'MSK/3.0/no DST' instead in 
/var/www/html/templates/blizzlike/frontpage/frontpage.index.php on line 75 

I've tried using notepad++ to find the culprit but there are to many date tags 
to know which one to edit properly.

Original issue reported on code.google.com by john.fos...@gmail.com on 23 Jan 2014 at 4:40

GoogleCodeExporter commented 9 years ago
This is on a CentOS box on the Windows Box this does not happen

Original comment by john.fos...@gmail.com on 23 Jan 2014 at 4:49

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Solved I tossed date_default_timezone_set("America/New_York"); below 
error_reporting(E_ALL); in index.php (took forever to think about why that 
didn't fix it then remembered the server caches) so cleared cache it works.

Original comment by john.fos...@gmail.com on 23 Jan 2014 at 7:11