В 0.4.1 версии, когда, к примеру, автором установлена подписка на фото, и ее комментирует другой юзер, выскакивает ошибка:
Код: Выделить всё
[phpBB Debug] PHP Notice: in file /gallery/includes/functions_posting.php on line 168: Undefined index: 6650Письмо о новом комментарии, соответственно, не приходит адресату.
Если фото комментирует не кто-то другой, а автор фото, подписавшийся на него, то ошибка не появляется, и фото не выключается из подписки.
В 168-й строке functions_posting.php, как раз участвует user_email на который ничего не приходит после нового комментария:
Код: Выделить всё
if (($i_view_ary[$row['user_id']] != 1) || !trim($row['user_email']))Так было на 3.0.4 - й версии форума.
Поставил 3.0.5 и проапдейтил галерею до 1.0.0, ошибка в точности повторяется, ну и до кучи к ней добавились ошибки, связанные с новым блоком в functions.php для последней версии галереи:
Код: Выделить всё
[phpBB Debug] PHP Notice: in file /gallery/includes/functions_posting.php on line 168: Undefined index: 6650
Warning: Cannot modify header information - headers already sent by (output started at Z:\home\souleyman1.ru\www\forum\includes\functions.php:3256) in Z:\home\souleyman1.ru\www\forum\includes\functions.php on line 3860
Warning: Cannot modify header information - headers already sent by (output started at Z:\home\souleyman1.ru\www\forum\includes\functions.php:3256) in Z:\home\souleyman1.ru\www\forum\includes\functions.php on line 3862
Warning: Cannot modify header information - headers already sent by (output started at Z:\home\souleyman1.ru\www\forum\includes\functions.php:3256) in Z:\home\souleyman1.ru\www\forum\includes\functions.php on line 3863
Warning: Cannot modify header information - headers already sent by (output started at Z:\home\souleyman1.ru\www\forum\includes\functions.php:3256) in Z:\home\souleyman1.ru\www\forum\includes\functions.php on line 3864Код: Выделить всё
// application/xhtml+xml not used because of IE
header('Content-type: text/html; charset=UTF-8');
header('Cache-Control: private, no-cache="set-cookie"');
header('Expires: 0');
header('Pragma: no-cache');Прошу помощи, уважаемые гуру, потому как сам не дотягиваюсь до решения проблемы, а сайт никвегессена сегодня залип от количества посетителей в связи с выходом новой версии галереи практически одновременно с новым релизом форума...

