Página 1 de 1

Problema Grabe En PHPBB3 S.O.S.!!!!

Publicado: 24 Jul 2008, 04:44
por dqc
URL: http://foro.megalandia.com/viewtopic.php?f=28&t=629
Plantilla(s) usuada(s): soul_city
MODs instalados: no
Versión de phpBB: 3.0.2
Servidor: De pago. http://www.virtualhostingdigital.com
Si es una actualización desde otra versión: 3.0.0 a 3.0.2
Si es una conversión desde otro tipo de Foro: no

Hola, tras mirar en internet por cientos de sitios en ingles, no he sido capaz de encontrar mi problema.
Por lo que solo me quedais vosotros, asi que me explico.

He actualizado mi foro PHPBB3 de la versión 3.0.0 a la 3.0.2 y al entrar en un tema, e intentar abrir un hilo para leerlo, me pone esto y no muestra el contenido:

[phpBB Debug] PHP Notice: in file /includes/functions_display.php on line 982: Missing argument 6 for watch_topic_forum(), called in /viewtopic.php on line 462 and defined
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3545: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3547: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3548: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3549: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)

Necesito ayuda muy urgente !!!
MUCHISIMAS GRACIAS.

Re: Problema Grabe En PHPBB3 S.O.S.!!!!

Publicado: 24 Jul 2008, 09:40
por HuanManwe
Por favor, lee las normas y danos los datos de soporte.

Re: Problema Grabe En PHPBB3 S.O.S.!!!!

Publicado: 24 Jul 2008, 14:45
por dqc
Por favor, lee las normas y danos los datos de soporte. Si, ya esta, ya me conozco las normas, pero la tensión del momento... que se olvidan las cosas ;) Gracias otra vez.

Re: Problema Grabe En PHPBB3 S.O.S.!!!!

Publicado: 24 Jul 2008, 15:40
por HuanManwe
Pues yo he encontrado esto en la web oficial. Quizá te ayude. Espero que sepas inglés :-) Si no dinos qué no comprendes.

Por cierto, es mejor si pones los datos de soporte en tu firma, así siempre estarán disponibles cuando hagas una consulta y no tendrás que buscarlos y copiarlos.

Re: Problema Grabe En PHPBB3 S.O.S.!!!!

Publicado: 24 Jul 2008, 17:26
por dqc
Pues yo he encontrado esto en la web oficial. Quizá te ayude. Espero que sepas inglés :-) Si no dinos qué no comprendes.

Por cierto, es mejor si pones los datos de soporte en tu firma, así siempre estarán disponibles cuando hagas una consulta y no tendrás que buscarlos y copiarlos. Gracias, pero no, ingles no se, de todos modos, con el traductor de google "ya sabemos que lo traduce un poco de aquella manera" pero bueno, no parece que ese sea el problema, lo que puedo hacer es intentar postear justo las lineas que se ven afectadas.


[phpBB Debug] PHP Notice: in file /includes/functions_display.php on line 982: Missing argument 6 for watch_topic_forum(), called in /viewtopic.php on line 462 and defined
Spoiler
/viewtopic.php on line 462

460 {
461 $s_watching_forum = $s_watching_topic;
462 watch_topic_forum('forum', $s_watching_forum, $user->data['user_id'], $forum_id, 0);
463 }
Spoiler
/includes/functions_display.php on line 982

479 /**
480 * Topic and forum watching common code
481 */
482 function watch_topic_forum($mode, &$s_watching, &$s_watching_img, $user_id, $forum_id, $topic_id, $notify_status = 'unset', $start = 0)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3545: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
Spoiler
/includes/functions.php:2975

2971 // remove complete path to installation, with the risk of changing backslashes meant to be there
2972 $errfile = str_replace(array(phpbb_realpath($phpbb_root_path), '\\'), array('', '/'), $errfile);
2973 $msg_text = str_replace(array(phpbb_realpath($phpbb_root_path), '\\'), array('', '/'), $msg_text);
2974
2975 echo '<b>[phpBB Debug] PHP Notice</b>: in file <b>' . $errfile . '</b> on line <b>' . $errline . '</b>: <b>' . $msg_text . '</b><br />' . "\n";
2976 }
Spoiler
/functions.php on line 3545 a 3549

3544 // application/xhtml+xml not used because of IE
3545 header('Content-type: text/html; charset=UTF-8');
3546
3547 header('Cache-Control: private, no-cache="set-cookie"');
3548 header('Expires: 0');
3549 header('Pragma: no-cache');
3550
3551 return;
3552 }
Espero que sirva de algo.

Muchas Gracias.

Re: Problema Grabe En PHPBB3 S.O.S.!!!!

Publicado: 24 Jul 2008, 17:50
por mitch
dqc, dejanos el archivo includes/functions_display.php en Pastebin y nos dejas la url para ir a verlo. Según lo que nos ha dejado HuanManwe, una función de ese archivo parece ir mal.

Has instalado MODs en tu foro? lo has intentado actualizar?

Re: Problema Grabe En PHPBB3 S.O.S.!!!!

Publicado: 24 Jul 2008, 18:47
por HuanManwe
Baja el archivo includes/functions_display.php
Busca esta parte:

Código: Seleccionar todo

/includes/functions_display.php on line 982

479 /**
480 * Topic and forum watching common code
481 */
482 function watch_topic_forum($mode, &$s_watching, &$s_watching_img, $user_id, $forum_id, $topic_id, $notify_status = 'unset', $start = 0)
Cambia la línea

Código: Seleccionar todo

function watch_topic_forum($mode, &$s_watching, &$s_watching_img, $user_id, $forum_id, $topic_id, $notify_status = 'unset', $start = 0)
por

Código: Seleccionar todo

function watch_topic_forum($mode, &$s_watching, $user_id, $forum_id, $topic_id, $notify_status = 'unset', $start = 0)
Es decir, elimina &$s_watching_img,

Guarda el archivo y súbelo de nuevo a tu foro, sobreescribiendo el antiguo. A ver si es eso.

Re: Problema Grabe En PHPBB3 S.O.S.!!!!

Publicado: 24 Jul 2008, 19:25
por dqc
Baja el archivo includes/functions_display.php
Busca esta parte:

Código: Seleccionar todo

/includes/functions_display.php on line 982

479 /**
480 * Topic and forum watching common code
481 */
482 function watch_topic_forum($mode, &$s_watching, &$s_watching_img, $user_id, $forum_id, $topic_id, $notify_status = 'unset', $start = 0)
Cambia la línea

Código: Seleccionar todo

function watch_topic_forum($mode, &$s_watching, &$s_watching_img, $user_id, $forum_id, $topic_id, $notify_status = 'unset', $start = 0)
por

Código: Seleccionar todo

function watch_topic_forum($mode, &$s_watching, $user_id, $forum_id, $topic_id, $notify_status = 'unset', $start = 0)
Es decir, elimina &$s_watching_img,

Guarda el archivo y súbelo de nuevo a tu foro, sobreescribiendo el antiguo. A ver si es eso. DIOS!!!! Muchisimas gracias a los 2, HuanManwe se a solucionado tal y como tu decias.

"OS QUIERO jejeje"

Muchisimas gracias.