Код: Выделить всё
[phpBB Debug] PHP Notice: in file /includes/captcha/captcha_factory.php on line 36: phpbb_captcha_factory::include(./../includes/captcha/plugins/di6a_captcha_nogd_plugin.php): failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /includes/captcha/captcha_factory.php on line 36: phpbb_captcha_factory::include(): Failed opening './../includes/captcha/plugins/di6a_captcha_nogd_plugin.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php5/PEAR')
[phpBB Debug] PHP Notice: in file /includes/captcha/captcha_factory.php on line 38: call_user_func(di6a_captcha_nogd::get_instance): First argument is expected to be a valid callbackДобавлено спустя 2 минуты 34 секунды:
Код: Выделить всё
/**
* return an instance of class $name in file $name_plugin.php
*/
function &get_instance($name)
{
global $phpbb_root_path, $phpEx;
$name = basename($name);
if (!class_exists($name))
{
include($phpbb_root_path . "includes/captcha/plugins/{$name}_plugin." . $phpEx);
}
$instance = call_user_func(array($name, 'get_instance'));
return $instance;
}Добавлено спустя 4 минуты 14 секунд:
А вот откуда корень зла:
includes/acp/acp_captcha.php
Код: Выделить всё
$selected = request_var('select_captcha', $config['captcha_plugin']);
$selected = (isset($captchas['available'][$selected]) || isset($captchas['unavailable'][$selected])) ? $selected : $config['captcha_plugin'];
$configure = request_var('configure', false);Код: Выделить всё
// Delegate
if ($configure)
{
$config_captcha =& phpbb_captcha_factory::get_instance($selected);
$config_captcha->acp_page($id, $this);
}А в итоге все свелось к тому, что в _config у переменной captcha_plugin было значение с префиксом... При установке значит записывается неправильно...
Добавлено спустя 13 минут 31 секунду:
В общем, при возникновении подобной проблемы зайдите через phpMyAdmin в таблицу phpbb_config (вместо phpbb_ - ваш префикс), найдите запись с переменной captcha_plugin и поставьте ее значение в phpbb_captcha_nogd (это уже независимо от вашего префикса). После этого очистите кэш.

