MULTIMEDIA, Video digital, Grabación, Diseño gráfico, Diseño web, Programación > Webmasters - Diseño Web - Programación - Diseño gráfico
Instalando Coppermine 1.4.5.
destroyer:
Desactiva el firewall, a ver si es el que te bloquea las cookies.. ;-)
Un saludo
algeck:
--- Cita de: destroyer en 27 de Abril de 2006, 09:40:32 am ---
Desactiva el firewall, a ver si es el que te bloquea las cookies.. ;-)
Un saludo
--- Fin de la cita ---
Quitado, lo mismo.........
Este es el error.
--- Citar ---Warning: ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail() has been disabled for security reasons in /data/members/free/tripod/es/d/l/o/dlozan/htdocs/galeria/include/debugger.inc.php on line 46
Warning: ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail() has been disabled for security reasons in /data/members/free/tripod/es/d/l/o/dlozan/htdocs/galeria/include/debugger.inc.php on line 47
--- Fin de la cita ---
Probado en explorer y en otro equipo, lo mismo.
ladyblues:
Por favor, podrías mandarme el archivo debugger.inc.php que está en la carpeta include o postear aquí el código... me pasó con una galería el otro día y se arregló bien rápido.
No vas a ser tu menos.
Un abrazo!
Mabel
algeck:
Me salto la parte inicial que esta entre /../
--- Citar ---if (!defined('E_STRICT')) {
define('E_STRICT', 2048); // PHP 5
}
class cpg_debugger {
// Define variables that store the old error reporting and logging states
var $old_handler;
var $old_display_level;
var $old_error_logging;
var $old_error_log;
var $logfile;
var $report;
var $active = false;
var $error_level;
var $basepath_len;
function cpg_debugger($log = 'debug.log') {
$this->logfile = $log;
$this->basepath_len = strlen(dirname(dirname(__FILE__)));
}
function start() {
if (!$this->active) {
$this->report = false;
if (CAN_MOD_INI) {
$this->old_display_level = ini_set('display_errors', 1);
$this->old_error_logging = ini_set('log_errors', 0);
}
$phpver = explode('.', phpversion());
$phpver = "$phpver[0]$phpver[1]";
if ($phpver < 43) {
$this->old_handler = set_error_handler('cpg_error_handler');
} else {
$this->old_handler = set_error_handler(array(&$this, 'handler'));
}
if (is_bool($this->old_handler)) {
error_reporting(E_ALL ^ E_NOTICE);
}
// $this->old_error_log = ini_set('error_log', $this->logfile);
$this->error_level = E_ALL;
$this->active = true;
}
}
function stop() {
if ($this->active) {
// restore the previous state
if (!is_bool($this->old_handler) && $this->old_handler) {
set_error_handler($this->old_handler);
}
if (CAN_MOD_INI) {
ini_set('display_errors', $this->old_display_level);
ini_set('log_errors', $this->old_error_logging);
// ini_set('error_log', $this->old_error_log);
}
$this->active = false;
return $this->report;
}
}
// user defined error handling function
function handler($errno, $errmsg, $filename, $linenum, $vars='')
{
$filename = substr($filename, $this->basepath_len);
$errortype = array (
// E_ERROR => 'Error',
E_WARNING => 'Warning',
// E_PARSE => 'Parsing Error',
E_NOTICE => 'Notice',
E_CORE_ERROR => 'Core Error',
E_CORE_WARNING => 'Core Warning',
E_COMPILE_ERROR => 'Compile Error',
E_COMPILE_WARNING => 'Compile Warning',
E_USER_ERROR => 'CPG Error',
E_USER_WARNING => 'CPG Warning',
E_USER_NOTICE => 'CPG Notice',
E_STRICT => 'Runtime Notice'
);
// NOTE: E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR and E_COMPILE_WARNING
// error levels will be handled as per the error_reporting settings.
if ($errno == E_USER_ERROR) {
if (USER_IS_ADMIN) {
$errmsg = $errortype[$errno]." $filename line $linenum: ".$errmsg;
} else {
$errmsg = "A error occured while processing this page.<br />Please report the following error to the owner of this website.<br /><br /><b>$errmsg</b>";
}
cpg_die(CRITICAL_ERROR, $errmsg, $filename, $linenum);
}
// set of errors for which a var trace will be saved
if ($errno & $this->error_level) {
$this->report[$filename][] = $errortype[$errno]." line $linenum: ".$errmsg;
}
// save to the error log
// error_log($err, 0); //message is sent to PHP's system logger
// error_log($err, 1, '[email protected]'); //message is sent by email to the address in the destination
// error_log($err, 3, $this->logfile); //message is appended to the file destination.
}
}
function cpg_error_handler($errno, $errmsg, $filename, $linenum, $vars='') {
global $cpgdebugger;
$cpgdebugger->handler($errno, $errmsg, $filename, $linenum, $vars);
}
define('CAN_MOD_INI', !ereg('ini_set', ini_get('disable_functions')));
error_reporting(E_ALL);
$cpgdebugger =& new cpg_debugger();
$cpgdebugger->start();
--- Fin de la cita ---
Yo le heche un vistazo, pero claro no vi nada :-x
ladyblues:
Hola peque..no me lo has copiado completo, falta la apertura de php y alguna pijada más...
Mándamelo por correo
Navegación
[#] Página Siguiente
[*] Página Anterior
Ir a la versión completa