На новом, в целом работает но частично не работают 2 модуля. Вот основной - https://github.com/jbreu/phpBB-Reputati ... its/master
Суть проблемы:
На всех страницах форума всё подключается нормально, кроме страниц: /app.php/help/faq , /app.php/reputation/56 (это указанный выше модуль - тут должна быть страница с подробностями о репутации юзера). Т.е. страницы, в генерации которых участвует app.php.
В логах:
Код: Выделить всё
PHP message: PHP Warning: include(): Failed opening './common.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/forum/index.php on line 25
PHP message: PHP Warning: include(./includes/functions_display.php): failed to open stream: No such file or directory in /var/www/html/forum/index.php on line 26
PHP message: PHP Warning: include(): Failed opening './includes/functions_display.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/forum/index.php on line 26
PHP message: PHP Notice: Undefined variable: user in /var/www/html/forum/index.php on line 29
PHP message: PHP Fatal error: Call to a member function session_begin() on null in /var/www/html/forum/index.php on line 29" while reading response header from upstream, client: 176.59.47.1, server: rusantikvar.ru, request: "GET /forum/app.php/reputation/56 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "rusantikvar.ru", referrer: "http://rusantikvar.ru/forum/viewtopic.php?f=3&t=308"
Код: Выделить всё
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
Как решить эту проблему?