Ошибка timezone setting после обновления PHP 5.3
-
Добрый день. Есть проблема — на хостинге обновили версию PHP до 5.3. После этого на страницах сайта появились сообщения
Warning: strtotime() [function.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/Helsinki' for 'EET/2.0/no DST' instead in /home/h7u162/public_html/wp-includes/functions.php 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 'Europe/Helsinki' for 'EET/2.0/no DST' instead in /home/h7u162/public_html/wp-includes/functions.php
В корне сайта я в php.ini я прописала:
[Date] ; Defines the default timezone used by the date functions date.timezone = Europe/Helsinki
На сайте ошибка исчезла, однако она осталась в админке Вордпресса
Просмотр 1 ответа (всего 1)
Просмотр 1 ответа (всего 1)
- Тема «Ошибка timezone setting после обновления PHP 5.3» закрыта для новых ответов.