всегда работало корректно, но ранее такой комбинации действий не пробовал:
зашел в форум корзины, в удаленную тему и нажал ПАНЕЛЬ МОДЕРАТОРА.
вывалилась ошибка:
Код: Выделить всё
[phpBB Debug] PHP Notice: in file /includes/mcp/mcp_topic.php on line 355: include(./includes/prime_trash_bin.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /includes/mcp/mcp_topic.php on line 355: include(./includes/prime_trash_bin.php) [function.include]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /includes/mcp/mcp_topic.php on line 355: include() [function.include]: Failed opening './includes/prime_trash_bin.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')
Fatal error: Call to undefined function set_stifled_topic_template_vars() in /home/motobrat/public_html/includes/mcp/mcp_topic.php on line 356
из любых других тем и разделов все вызовы корректны.
может кто сталкивался? что может быть? и как бороться с данной ошибкой?
Добавлено спустя 13 минут 1 секунду:
сам спросил, подумал и нашел решение:
в инструкции к обновление с версии 1.0.11 до 1.1.3
mcp_topic.php встречался только на шаге 1.0.11-1.1.0
так вот там по инструкции:
Open: includes/mcp/mcp_topic.php
Find
Tip: This may be a partial find and not the whole line.
Code:Select All
include($phpbb_root_path . 'includes/prime_trash_bin.' . $phpEx);
Replace with
Tip: Replace the preceding line(s) to find with the following lines.
Code:Select all
include($phpbb_root_path . 'includes/prime_trash_bin_a.' . $phpEx);
но
prime_trash_bin. встречается в коде не один а два раза.
собственно, переименование второго вхождения
prime_trash_bin. в
prime_trash_bin_a. избавило от указанной выше ошибки.