Closed GoogleCodeExporter closed 9 years ago
"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."
The error will go away if you edit your php.ini file to contain date.timezone =
Europe/Berlin
Original comment by kovellia
on 2 Feb 2012 at 11:53
The Timezone is set correct....
phpinfo()
date/time support enabled
"Olson" Timezone Database Version 2011.14
Timezone Database internal
Default timezone Europe/Berlin
Is there another hint???
You can look on the errors on http://kb.senum.net or http://senum.net/testkb/
Original comment by toxicai...@gmail.com
on 6 Feb 2012 at 3:01
Problem solved.
You need to set the default Timezone in index.php
// Set up default timezone.
date_default_timezone_set('Europe/Berlin');
Original comment by toxicai...@gmail.com
on 6 Feb 2012 at 8:23
i seem to have the same issue i added to index.php and also my phphinfo shows i
running 5.3.24
// Set up default timezone.
date_default_timezone_set('Europe/Berlin');
Original comment by mthomas2...@gmail.com
on 5 Apr 2013 at 6:54
I have added date.timezone = Europe/London to my php.ini file and I have added
date_default_timezone_set('Europe/London'); as the first line on index.php but
I am still getting this error.
Original comment by pe...@astbury.com
on 4 Sep 2013 at 4:24
Original issue reported on code.google.com by
toxicai...@gmail.com
on 2 Feb 2012 at 11:12