Вопросы при работе на nginx+php-fpm

 • Просмотры: 2243
Vy
VyacheslavS
Сообщения: 25
Зарегистрирован: 27 май 2009, 19:02
Сообщение

Вопросы при работе на nginx+php-fpm

28 май 2009, 19:20

Установил трекер на nginx+php-fpm,
при включении опции @define('DEBUG', true); в config.php (тркекра), замечен следующий вывод дебага:
[phpBB Debug] PHP Notice: in file /includes/functions_posting.php on line 1629: Undefined index: enable_queue_trigger
[phpBB Debug] PHP Notice: in file /posting.php on line 1119: Undefined index: enable_queue_trigger

Warning: Cannot modify header information - headers already sent by (output started at /home/www/moy-sait/includes/functions.php:3484) in /home/www/moy-sait/includes/functions.php on line 4073

Warning: Cannot modify header information - headers already sent by (output started at /home/www/moy-sait/includes/functions.php:3484) in /home/www/moy-sait/includes/functions.php on line 4075

Warning: Cannot modify header information - headers already sent by (output started at /home/www/moy-sait/includes/functions.php:3484) in /home/www/moy-sait/includes/functions.php on line 4076

Warning: Cannot modify header information - headers already sent by (output started at /home/www/moy-sait/includes/functions.php:3484) in /home/www/moy-sait/includes/functions.php on line 4077
Данный вывод замечен при создании нового поста, темы или после редактирования сообщений.
Как бы это побороть?
Vy
VyacheslavS
Сообщения: 25
Зарегистрирован: 27 май 2009, 19:02
Сообщение

Вопросы при работе на nginx+php-fpm

28 май 2009, 21:42

И еще один очень неприятный баг:
в админке когда пытаюсь зайти Конфигурация -> Размещение сообщений, то страница практически отсутствует и в верху вываливается дебаг:
[phpBB Debug] PHP Notice: in file /adm/index.php on line 275: Undefined index: queue_trigger_posts
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3484)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3484)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 155: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3484)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 156: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3484)
Параллельно на этот сервер установил "чистый" форум phpBB-3.0.4, на нём подобного не происходит.
Хотелось бы устранить эти баги, тк nginx это практически стандарт для трекера.
Аватара пользователя
PPK
Администратор
Благодарил (а): 82 раза
Поблагодарили: 1621 раз
Сообщения: 10284
Зарегистрирован: 21 мар 2009, 17:13
Сообщение

Вопросы при работе на nginx+php-fpm

29 май 2009, 11:31

Выполнить в "phpmyadmin":

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

INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('enable_queue_trigger', '0', '0'), ('queue_trigger_posts', '3', '0');
Если префикс в таблицах не phpbb_ - заменить на свой.
Vy
VyacheslavS
Сообщения: 25
Зарегистрирован: 27 май 2009, 19:02
Сообщение

Вопросы при работе на nginx+php-fpm

29 май 2009, 16:54

Огромное спасибо, помогло. :D

PS:phpmyadmin-а нету, Апача тоже нет :)
Аватара пользователя
PPK
Администратор
Благодарил (а): 82 раза
Поблагодарили: 1621 раз
Сообщения: 10284
Зарегистрирован: 21 мар 2009, 17:13
Сообщение

Вопросы при работе на nginx+php-fpm

30 май 2009, 09:24

Ну phpmyadmin я не случайно обрамил кавычками ... )
BA
BALTAZAR
Откуда: Московская область
Благодарил (а): 3 раза
Сообщения: 202
Зарегистрирован: 26 май 2009, 15:34
Сообщение

Вопросы при работе на nginx+php-fpm

04 июн 2009, 03:22

А у меня при заходе на любой форум:

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

[phpBB Debug] PHP Notice: in file /includes/session.php on line 2203: Undefined index: viewquickreply
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4088: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3484)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4090: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3484)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4091: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3484)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4092: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3484)
хотелось бы тоже поправить...
Vy
VyacheslavS
Сообщения: 25
Зарегистрирован: 27 май 2009, 19:02
Сообщение

Вопросы при работе на nginx+php-fpm

19 сен 2009, 09:31

Поставил последнюю текущую версию - 20090411 (rev.20090913 #21) и при поиске выпадает следующее:

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

[phpBB Debug] PHP Notice: in file /includes/search/fulltext_native.php on line 173: Undefined index: max_num_search_keywords

Warning: Cannot modify header information - headers already sent by (output started at /home/www/moy-sait/includes/functions.php:3570) in /home/www/moy-sait/includes/functions.php on line 4160

Warning: Cannot modify header information - headers already sent by (output started at /home/www/moy-sait/includes/functions.php:3570) in /home/www/moy-sait/includes/functions.php on line 4162

Warning: Cannot modify header information - headers already sent by (output started at /home/www/moy-sait/includes/functions.php:3570) in /home/www/moy-sait/includes/functions.php on line 4163

Warning: Cannot modify header information - headers already sent by (output started at /home/www/moy-sait/includes/functions.php:3570) in /home/www/moy-sait/includes/functions.php on line 4164
Как можно поправить?
PS: работает на nginx+php-fpm.
Аватара пользователя
PPK
Администратор
Благодарил (а): 82 раза
Поблагодарили: 1621 раз
Сообщения: 10284
Зарегистрирован: 21 мар 2009, 17:13
Сообщение

Вопросы при работе на nginx+php-fpm

19 сен 2009, 09:57

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

INSERT INTO phpbb_config (config_name, config_value) VALUES ('max_num_search_keywords', '10');
если префикс таблиц не phpbb_ - заменить на свой
Vy
VyacheslavS
Сообщения: 25
Зарегистрирован: 27 май 2009, 19:02
Сообщение

Вопросы при работе на nginx+php-fpm

19 сен 2009, 11:06

Спасибо, помогло! :D
Dg
Dganic
Сообщения: 48
Зарегистрирован: 09 июн 2009, 19:53
Сообщение

Вопросы при работе на nginx+php-fpm

04 ноя 2009, 23:57

[phpBB Debug] PHP Notice: in file /tracker/include/index_add1.php on line 73: Undefined index: ppkbb_trlast_stattime
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4162: Cannot modify header information - headers already sent by (output started at /config.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4164: Cannot modify header information - headers already sent by (output started at /config.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4165: Cannot modify header information - headers already sent by (output started at /config.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4166: Cannot modify header information - headers already sent by (output started at /config.php:1)

точно такойже веб сервер, такая ошибка.. отчего они вообще возникают? и как боротся?

Вернуться в «Ошибки, проблемы, недочёты»