Página 1 de 1

¿y esto?

Publicado: 26 May 2010, 20:37
por Scrabben
Instale Facebook Mod, cuando entro a un tema me aparece:

[phpBB Debug] PHP Notice: in file /includes/functions_display.php on line 1362: Undefined variable: phpbb_root_path
[phpBB Debug] PHP Notice: in file /includes/functions_display.php on line 1363: Undefined variable: phpbb_root_path
[phpBB Debug] PHP Notice: in file /includes/functions_display.php on line 1362: Undefined variable: phpbb_root_path
[phpBB Debug] PHP Notice: in file /includes/functions_display.php on line 1363: Undefined variable: phpbb_root_path
[phpBB Debug] PHP Notice: in file /includes/functions_display.php on line 1362: Undefined variable: phpbb_root_path
[phpBB Debug] PHP Notice: in file /includes/functions_display.php on line 1363: Undefined variable: phpbb_root_path
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1858: Undefined variable: posts_per_day
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1962: Undefined variable: level_posts_for_this
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1962: Undefined variable: level_posts_for_this
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1858: Undefined variable: posts_per_day
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1962: Undefined variable: level_posts_for_this
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1962: Undefined variable: level_posts_for_this
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1858: Undefined variable: posts_per_day
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1962: Undefined variable: level_posts_for_this
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1962: Undefined variable: level_posts_for_this
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1858: Undefined variable: posts_per_day
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1962: Undefined variable: level_posts_for_this
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1962: Undefined variable: level_posts_for_this
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1858: Undefined variable: posts_per_day
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1962: Undefined variable: level_posts_for_this
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1962: Undefined variable: level_posts_for_this
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1858: Undefined variable: posts_per_day
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1962: Undefined variable: level_posts_for_this
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1962: Undefined variable: level_posts_for_this
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1858: Undefined variable: posts_per_day
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1962: Undefined variable: level_posts_for_this
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1962: Undefined variable: level_posts_for_this
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4269: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3507)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4271: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3507)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4272: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3507)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4273: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3507)

Alguna Solución?

Re: ¿y esto?

Publicado: 26 May 2010, 21:28
por HuanManwe
Supongo que lo has instalado manualmente, pero probablemente has dejado un espacio en blanco antes o después de algún <?php o al final en ?>

Repasa los ficheros .php que has editado y serciórate de que esté bien ese detalle. Luego limpia la caché.

Re: ¿y esto?

Publicado: 26 May 2010, 21:35
por Scrabben
Si, tenia un espacio en blanco antes de ?> en function_display.php
Pero, el problema persiste.
Estas son las lineas:
1362 $flag_img = (!empty($flags[$user_flag]['image'])) ? '<img src="' . $phpbb_root_path . $config['flags_path'] . '/' . $flags[$user_flag]['image'] . '" alt="' . $flag_text . '" title="' . $flag_text . '" />' : '';
1363 $flag_img_src = (!empty($flags[$user_flag]['image'])) ? $phpbb_root_path . $config['flags_path'] . '/' . $flags[$user_flag]['image'] : '';
}
}
?>

Re: ¿y esto?

Publicado: 26 May 2010, 21:37
por HuanManwe
¿Has comprobado todos los archivos que tuviste que editar?

¿Has limpiado la caché?

Re: ¿y esto?

Publicado: 26 May 2010, 21:45
por Scrabben
Me olvide de aclarar, antes de instalar Facebook Mod instale Seo Mod.

Re: ¿y esto?

Publicado: 26 May 2010, 21:58
por Scrabben
Esta es la Linea 1858 de viewtopic.php
1858 if($posts_per_day >= $level_avg_ppd)
{
$level_hp_percent = floor( (.5 + (($level_user_ppd - $level_avg_ppd) / ($level_bonus_redux * 2)) ) * 100);
}

La 1959:
else
{
$level_posts_for_next = floor( pow( 10, pow( $level_level, (1/3) ) ) );

$level_exp = $user_cache[$poster_id]['posts'] . ' / ' . $level_posts_for_next;
1959 $level_exp_percent = floor( ($user_cache[$poster_id]['posts'] - $level_posts_for_this) / max(1,($level_posts_for_next - $level_posts_for_this)) * 100);
}

y en Functions.php:
// application/xhtml+xml not used because of IE
4269 header('Content-type: text/html; charset=UTF-8');

4271 header('Cache-Control: private, no-cache="set-cookie"');
4272 header('Expires: 0');
4273 header('Pragma: no-cache');

return;
}

Re: ¿y esto?

Publicado: 26 May 2010, 22:49
por HuanManwe
Pues entonces el problema podría ser algún archivo editado para aplicar el SEO MOD. Ese son muchos archivos a editar... puede ser un fastidio comprobar todos los inicios y finales de cada fichero, pero es que creo que ese error suele deberse a dejar algún espacio en blanco justo antes de <?php o justo después de ?>

Re: ¿y esto?

Publicado: 26 May 2010, 23:06
por Scrabben
Entonces, Reviso esos tres archivos para ver si tienen algun espacion antes o despues de ?>

Re: ¿y esto?

Publicado: 26 May 2010, 23:12
por Scrabben
No hay caso...
Busque en los tres archivos y borre las lineas en blanco antes del ?> limpie el cache, y nada...