Страница 1 из 1

Phpbb3 ошибки php

Добавлено: 20 дек 2012, 23:08
Lorem_ipsum
ИМХО что то странное мне выдает форум который поставил вчера на внутрикорпоративном серве поэтому сцыль дать не могу. На нем Вин 2003 сервер апач пхп и эскуэль. сообщение такого плана:

Код: Выделить всё

[phpBB Debug] PHP Notice: in file /index.php on line 86: 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 'MSK/3.0/no DST' instead
[phpBB Debug] PHP Notice: in file /index.php on line 86: getdate() [function.getdate]: 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
В чем проблема где что накрутить?

Re: Phpbb3 ошибки php

Добавлено: 21 дек 2012, 08:55
aspirin
Вот скрин
trouble_php.jpg
trouble_php.jpg (118.57 КБ) 20804 просмотра

Re: Phpbb3 ошибки php

Добавлено: 21 дек 2012, 11:19
Alexander
В php.ini нужно правильно указать временную зону, для меня это:

Код: Выделить всё

date.timezone = "Europe/Moscow"
Исправь эту опцию в конфиге, сообщения должны исчезнуть.