Error en el ACP al buscar un usuario
Publicado: 05 Oct 2011, 15:22
Vean, al querer ir a darle permisos a un usuario en el ACP, me sale este error:
miré los acrchivos: includes/acp/auth.php y adm/index.php pero están originales.
así que deduje que el error está en el includes/functions.php: línea 3787.
pero allí tengo este código desde las líneas 3774 hasta la 3799:
tampoco es algo editado por un mod eso, creo
Ayuda por favor
Código: Seleccionar todo
[phpBB Debug] PHP Notice: in file /includes/acp/auth.php on line 1208: Undefined index: perfil
[phpBB Debug] PHP Notice: in file /includes/acp/auth.php on line 1114: Undefined index: perfil
[phpBB Debug] PHP Warning: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3787)
[phpBB Debug] PHP Warning: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3787)
[phpBB Debug] PHP Warning: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3787)
[phpBB Debug] PHP Warning: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3787)
así que deduje que el error está en el includes/functions.php: línea 3787.
pero allí tengo este código desde las líneas 3774 hasta la 3799:
Código: Seleccionar todo
// Check the error reporting level and return if the error level does not match
// If DEBUG is defined the default level is E_ALL
if (($errno & ((defined('DEBUG')) ? E_ALL : error_reporting())) == 0)
{
return;
}
if (strpos($errfile, 'cache') === false && strpos($errfile, 'template.') === false)
{
// remove complete path to installation, with the risk of changing backslashes meant to be there
$errfile = str_replace(array(phpbb_realpath($phpbb_root_path), '\\'), array('', '/'), $errfile);
$msg_text = str_replace(array(phpbb_realpath($phpbb_root_path), '\\'), array('', '/'), $msg_text);
$error_name = ($errno === E_WARNING) ? 'PHP Warning' : 'PHP Notice';
echo '<b>[phpBB Debug] ' . $error_name . '</b>: in file <b>' . $errfile . '</b> on line <b>' . $errline . '</b>: <b>' . $msg_text . '</b><br />' . "\n";
// we are writing an image - the user won't see the debug, so let's place it in the log
if (defined('IMAGE_OUTPUT') || defined('IN_CRON'))
{
add_log('critical', 'LOG_IMAGE_GENERATION_ERROR', $errfile, $errline, $msg_text);
}
// echo '<br /><br />BACKTRACE<br />' . get_backtrace() . '<br />' . "\n";
}
return;
break;
Ayuda por favor