ExBB Community » Файловый ExBB » Решение проблем » Warning: date() [function.date]

Страниц (1): [1]
 

1. alexpkb - 21 февраля 2012 — 07:14 - перейти к сообщению
Вылезает следующее предупреждение:
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/Moscow' for '3.0/no DST' instead in E:\...\index.php on line 144 Огорчение
Как исправить?
2. CAB - 21 февраля 2012 — 08:09 - перейти к сообщению
alexpkb, это где такое появляется? Что-то мне подсказывает что это не скриптов форума сообщение, а хостинга (сервера)...
3. alexpkb - 21 февраля 2012 — 08:32 - перейти к сообщению
Предупреждение:
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/Moscow' for '3.0/no DST' instead in
ссылается на следующие скрипты:
E:\..\Apache\htdocs\forum\index.php on line 144
E:\..\Apache\htdocs\forum\index.php on line 167
E:\..\Apache\htdocs\forum\include\fm.class.php on line 181
E:\..\Apache\htdocs\forum\include\fm.class.php on line 182
E:\..\Apache\htdocs\forum\include\fm.class.php on line 183
E:\..\Apache\htdocs\forum\include\fm.class.php on line 184
4. BON - 22 февраля 2012 — 13:46 - перейти к сообщению
а помоему это косяк хостинга
5. AlexHart - 9 марта 2012 — 04:18 - перейти к сообщению
Это не косяк хостинга, столкнулся только что с такой же ошибкой при установке php-5.4.0-nts-Win32-VC9-x86. Все очень просто: в php.ini ищете строку "date.timezone =" и подставляете свой. Тут можно его узнать(так проще) http://php.net/date.timezone. У меня например так date.timezone ="Asia/Vladivostok" и все, глюк кончился Радость

Яндекс.Метрика   

Powered by ExBB
[Script Execution time: 0.0462]     [ ]