Phpbb3 ошибки php

Linux, FreeBSD, Solaris и другие. Новости, настройка, решение проблем
Ответить
Lorem_ipsum
Сообщения: 1
Зарегистрирован: 20 дек 2012, 23:04

Phpbb3 ошибки php

Сообщение Lorem_ipsum » 20 дек 2012, 23:08

ИМХО что то странное мне выдает форум который поставил вчера на внутрикорпоративном серве поэтому сцыль дать не могу. На нем Вин 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
В чем проблема где что накрутить?

Аватара пользователя
aspirin
Сообщения: 25
Зарегистрирован: 30 окт 2012, 09:53

Re: Phpbb3 ошибки php

Сообщение aspirin » 21 дек 2012, 08:55

Вот скрин
trouble_php.jpg
trouble_php.jpg (118.57 КБ) 20431 просмотр

Аватара пользователя
Alexander
Администратор
Сообщения: 132
Зарегистрирован: 15 сен 2012, 01:25
Контактная информация:

Re: Phpbb3 ошибки php

Сообщение Alexander » 21 дек 2012, 11:19

В php.ini нужно правильно указать временную зону, для меня это:

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

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

Ответить