Solved: 14 Years, 2 Months, 2 Weeks ago PHP 5.3 problem ?
#1
Solved: 14 Years, 2 Months, 2 Weeks ago
I am getting a lot of warnings while using the forum. Some Examples:

Quote:Warning [2] strtotime(): 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/Paris' for '2.0/DST' instead - Line: 221 - File: C:\inetpub\wwwroot\inc\class_feedparser.php PHP 5.3.0 (WINNT)
Quote:Warning [2] 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/Paris' for '2.0/DST' instead - Line: 5382 - File: C:\inetpub\wwwroot\inc\functions.php PHP 5.3.0 (WINNT)
Quote:Warning [2] mktime(): 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/Paris' for '2.0/DST' instead - Line: 1724 - File: C:\inetpub\wwwroot\inc\functions.php PHP 5.3.0 (WINNT)

I am using the forum on "vista 64 bit ultimate" with "php 5.3.0". Is this a seroius problem or are there any work-around / quick-fixes avaible to disable these warnings?
#2
Solved: 14 Years, 2 Months, 2 Weeks ago
Those warnings look like a php.ini problem, rather than with MyBB. MyBB is using the date, mktime and strtotime functions and those functions are saying your system's timezone settings have a problem.

You should contact your host with the problem to set your timezone correctly, or alter php.ini yourself.
#3
Solved: 14 Years, 2 Months, 2 Weeks ago
Yes, this was the problem Rolleyes

Quote:[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
; date.timezone =

Quote:[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = "Europe/Berlin"

Thanks a lot!


Forum Jump:


Users browsing this thread: 1 Guest(s)