Ver Mensaje Individual
  #5 (permalink)  
Antiguo 05/03/2003, 14:59
Cluster
O_O
 
Fecha de Ingreso: enero-2002
Ubicación: Santiago - Chile
Mensajes: 34.417
Antigüedad: 22 años, 3 meses
Puntos: 129
Si, borrando (comentando esa linea) .. del ejemplo 3.

Uso PHP 4.3.0 .. El "error" q te muestra es solo un "notice" (aviso) ..

Yo uso en mi configuración:

error_reporting = E_ALL & ~E_NOTICE .. por eso no veo ese "notice" . Solo muestro los warning y fatal error ..

Usa por ejemplo:
error_reporting(E_ALL & ~E_NOTICE);

Al principio del script del ejemplo 3 ...


Si muestro todos los errores (y notices incluidos de PHP) obtengo:
Notice: Undefined index: EDITAR_LINK in nok\class.NokTemplate.php(143) : regexp code on line 1

Notice: Undefined index: FILAS in nok\class.NokTemplate.php on line 151

Notice: Undefined index: EDITAR_LINK in nok\class.NokTemplate.php(143) : regexp code on line 1

Notice: Undefined index: EDITAR_LINK in nok\class.NokTemplate.php(143) : regexp code on line 1

Notice: Undefined index: CAMPO_INPUT in nok\class.NokTemplate.php(143) : regexp code on line 1

Notice: Undefined index: VARIABLE in nok\class.NokTemplate.php(143) : regexp code on line 1

Tal vez habría que hacer algunos is_array() o isset() en la classe para evitar estos "notice" en configuraciones con error_reporting = E_ALL

Un saludo,