Página 1 de 2

Habilitar MODO DEBUG  Tema Solucionado

Publicado: 18 Oct 2011, 16:53
por javier1905
Hola...

Acabo de leer en la BIBLIOTECA que teneis en la pagina este tema... HABILITAR MODO DEBUG, he seguido los pasos y continuamente me sale este error.... podriais indicarme a que es debido y si se puede solucionar,,,

Código: Seleccionar todo

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4596: Undefined variable: nuevo_mp
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4669: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3735)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3735)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3735)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4673: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3735)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4596: Undefined variable: nuevo_mp
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4669: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3735)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3735)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3735)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4673: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3735)
No estoy seguro si esta consulta debe ir aqui, porfavor moverla en caso contrario.

Gracias..

Re: Habilitar MODO DEBUG

Publicado: 18 Oct 2011, 17:05
por javier1905
Perdon,,, or pongo el codigo de la plantilla FUNCTIONS.PHP donde dice esta el error por si os sirve de ayuda:

3735 echo '<b>[phpBB Debug] PHP Notice</b>: in file <b>' . $errfile . '</b> on line <b>' . $errline . '</b>: <b>' . $msg_text . '</b><br />' . "\n";

4596 'S_NUEVO_MP' => $nuevo_mp,

4668 // application/xhtml+xml not used because of IE
4669 header('Content-type: text/html; charset=UTF-8');

4671 header('Cache-Control: private, no-cache="set-cookie"');
4672 header('Expires: 0');
4673 header('Pragma: no-cache');

Este es el codigo que hay ahora mismo en la plantilla FUNCTIONS,,, veis algo mal,,??

Gracias

Re: Habilitar MODO DEBUG

Publicado: 18 Oct 2011, 18:13
por Alorse
Off Topic

Por favor cuando pogasn código hazlo entre las etiquetas [ code ] [ /code ]
De donde salio la variable $nuevo_mp, es de algún MOD? Lo que dice el error es que no esta definida y debes hacerlo, así sea con un valor vacío.

Re: Habilitar MODO DEBUG

Publicado: 19 Oct 2011, 16:53
por javier1905
Perdon por el CODE,,,??? se me paso...

Pues no tengo ni idea fredo,,,, seguro que es de al MOD,,,, pero cual....?? alguna idea para saberlo,,??

saludos

Re: Habilitar MODO DEBUG

Publicado: 19 Oct 2011, 16:58
por Alorse
Adjunta el archivo includes/functions.php para mirar que puede ser.
Es una variable en español entonces no se si sea un MOD ya que su mayoría están programados en ingles.

Re: Habilitar MODO DEBUG

Publicado: 19 Oct 2011, 17:06
por javier1905
Gracias Fredo,,,

Ahora te lo pongo amigo,,,, mirare entre tanto si veo si pertenece a algun MOD,,, te comento algo si lo encuentro..

Saludos

Re: Habilitar MODO DEBUG

Publicado: 19 Oct 2011, 17:12
por javier1905
Lo encontre Fredo,,, creo,,,,,,

Es una MODIFICACION en la plantilla,,, para que te salga un recuadro en el INDEX avisandote de los NUEVOS MPS,,,

Lo cogi de este tema: Popup por defecto y Aviso en el header para Nuevos Privados publicado por mitch.

Saludos

Re: Habilitar MODO DEBUG

Publicado: 19 Oct 2011, 17:18
por Alorse
Busca la linea:

Código: Seleccionar todo

$s_privmsg_new = false; 
y abajo agrega:

Código: Seleccionar todo

$nuevo_mp = false; 
Con eso debería funcionar, ya me comentaras.

Re: Habilitar MODO DEBUG

Publicado: 19 Oct 2011, 17:23
por javier1905
Me aparecen 3 lineas con ese valor Fredo,,,,

lo pongo solo en la primera que me sale,,??

Re: Habilitar MODO DEBUG

Publicado: 19 Oct 2011, 17:39
por Alorse
javier1905 escribió:Me aparecen 3 lineas con ese valor Fredo,,,,

lo pongo solo en la primera que me sale,,??
:ops
Supongo que funcionara igual en cualquiera, pero ponla en la que esta en la linea 4360.
Disculpa.

Re: Habilitar MODO DEBUG

Publicado: 19 Oct 2011, 17:42
por javier1905
Gracias Fredo,,,, acabo de hacer eso y de momento ACTIVADO EL MODO DEBUG,,,, ya no me sale ese error...???

Entonces le faltaba eso en el TEMA DE MITCH,,, o fue una modificacion posterior,,, si es asi seria bueno añadirlo en el post de mitch NO,,??

SALUDOS

Re: Habilitar MODO DEBUG

Publicado: 19 Oct 2011, 17:49
por javier1905
Madre mia,,,,,,je,je,je,,,,,

Ese error ya no me sale,,,, pero ahora me sale otro peor relacionado con el MOD POST PER DAY,,,, casi no puedo acceder a la PAGINA,,,

He tenido que desactivar el MODO DEBUG,,je,je,ej,,,

Si tienes tiempo y ganas te voy poniendo mas errores,,,??? Hoy no,,,, que si no te voy a dar la paliza seguro,,?? je,je,je,,,

Gracias fredo,,,

Re: Habilitar MODO DEBUG

Publicado: 19 Oct 2011, 17:53
por Alorse
Voy a la ducha, pon los que te salgan y cuando vuelva voy mirando :P

Re: Habilitar MODO DEBUG

Publicado: 19 Oct 2011, 18:08
por javier1905
Pues ahi otra tanda Fredo:

Código: Seleccionar todo

[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1704: Undefined variable: posts_per_day
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1808: Undefined variable: level_posts_for_this
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1808: Undefined variable: level_posts_for_this
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3735)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3735)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4673: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3735)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4674: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3735)

Te adjunto el archivo VIEWTOOPIC por si te hace falta.

Gracias por tu ayuda

Re: Habilitar MODO DEBUG

Publicado: 19 Oct 2011, 18:36
por Alorse
Fíjate en este mensaje http://www.phpbb-es.com/foro/soporte-ph ... ml#p185328