Pagina 1 van 1

Een Line vinden

Geplaatst: 04 feb 2005, 20:57
door Eefjuh
Foutje gemaakt ergens:
Warning: Cannot modify header information - headers already sent by (output started at /home/eefjuh/public_html/forum/includes/constants.php:196) in /home/eefjuh/public_html/forum/includes/page_header.php on line 476

Warning: Cannot modify header information - headers already sent by (output started at /home/eefjuh/public_html/forum/includes/constants.php:196) in /home/eefjuh/public_html/forum/includes/page_header.php on line 478

Warning: Cannot modify header information - headers already sent by (output started at /home/eefjuh/public_html/forum/includes/constants.php:196) in /home/eefjuh/public_html/forum/includes/page_header.php on line 479

Maar hoe vind je die lines?

Ik weet gewoon zeker dat er ergens niet klopt aan het stuk:
// Work around for "current" Apache 2 + PHP module which seems to not
// cope with private cache control setting
if (!empty($_SERVER['SERVER_SOFTWARE']) && strstr($_SERVER['SERVER_SOFTWARE'], 'Apache/2'))
{
header ('Cache-Control: no-cache, pre-check=0, post-check=0');
}
else
{
header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
}
header ('Expires: 0');
header ('Pragma: no-cache');

//-- mod : calendar --------------------------------------------------------------------------------
//-- add
if (!defined('IN_CALENDAR'))
{
if ( intval($board_config['calendar_header_cells']) > 0 )
{
include_once($phpbb_root_path . './includes/functions_calendar.' . $phpEx);
display_calendar('CALENDAR_BOX', intval($board_config['calendar_header_cells']));
}
}
$template->assign_vars(array(
'L_CALENDAR' => $lang['Calendar'],
'I_CALENDAR' => $images['menu_calendar'],
'U_CALENDAR' => append_sid("./calendar.$phpEx"),
)
);
//-- fin mod : calendar ----------------------------------------------------------------------------
$template->pparse('overall_header');

?>

Dat laatste stuk moest ik zelf toevoegen, maar nu geeft hij boven me forum dus 3 errors aan, en ik vat niet waar de fout zit, en waar ik die line's makkenlijk kan vinden....

Geplaatst: 05 feb 2005, 16:36
door Paul
Er staat achter ?> in constants.php waarschijnlijk nog een regel of een spatie en die moet je weg halen.