Автор Тема: Fatal error: template->_tpl_load_file()  (Прочитано 3100 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Groodyru

  • Гость
Братва, жесточайший хелп!!
Есть форум про сео, на день почасту стал выдавать такие ошибки:
Warning: array_filter() expects parameter 1 to be array, null given in /home/zammmc.com/public_html/forum/includes/session.php on line 2162

Warning: strtr(): The second argument is not an array in /home/zammmc.com/public_html/forum/includes/session.php on line 2211

Fatal error: template->_tpl_load_file(): File /message_body.html does not exist or is empty in /home/zammmc.com/public_html/forum/includes/functions_template.php on line 63
Что делать, как лечить? Форум может вообще не одкрываться?.? 
Вот строка 63 из functions_template.php:
         trigger_error("template->_tpl_load_file(): File {$this->template->files[$handle]} does not exist or is empty", E_USER_ERROR);
 

Steenie

  • Гость
Fatal error: template->_tpl_load_file()
« Ответ #1 : 10 Июля 2015, 17:51:53 »

Первых две это уарнинги, замечания, при них форум будет работать, а вот третий еррор - фатал, он то и ложит форум..
 

Silver

  • Гость
Fatal error: template->_tpl_load_file()
« Ответ #2 : 14 Сентября 2015, 15:24:30 »
Что у тебя за форум)) Это старая трабла phpBB 2010 года)) Она исходит из бага в моде Thanks for post (Rating edition) Палыча.
Лечится так: нужно в файле posting.php
строку
include($phpbb_root_path . 'includes/functions_thanks.' . $phpEx);
поставить перед строкой
delete_post_thanks($post_id);
В итоге должно получиться вот так:
include($phpbb_root_path . 'includes/functions_thanks.' . $phpEx);
delete_post_thanks($post_id);
 

WebSimple

  • Гость
Fatal error: template->_tpl_load_file()
« Ответ #3 : 10 Ноября 2015, 14:31:11 »

Спсибо братюнь, сделал так вроде помогло, пока полет нормальный .!
 

 

В быстром ответе можно использовать BB-теги и смайлы.

Имя: E-mail: