HILFE fehler bei "alle foren als gelesen markiert"
Verfasst: 24.01.2004 21:13
hallo,
mal sehen ob ich denn darauf mal ne kompetente antwort bekomme ....
bei "alle foren als gelesen markieren" kommt diese fehlermeldung.
hat jemand eine idee. soll ich eine der dateien posten ?
templates.php
zeile 112-129
und hier die index.php
line 1065 - 1078
wer kann helfen ?
danke markus
mal sehen ob ich denn darauf mal ne kompetente antwort bekomme ....
bei "alle foren als gelesen markieren" kommt diese fehlermeldung.
Code: Alles auswählen
Warning: Cannot add header information - headers already sent by (output started at /homepages/11/d75870654/htdocs/frontpage_westieforum/phpbb/includes/template.php(127) : eval()'d code:1) in /homepages/11/d75870654/htdocs/frontpage_westieforum/phpbb/index.php on line 1071
templates.php
zeile 112-129
Code: Alles auswählen
function pparse($handle)
{
if (!$this->loadfile($handle))
{
die("Template->pparse(): Couldn't load template file for handle $handle");
}
// actually compile the template now.
if (!isset($this->compiled_code[$handle]) || empty($this->compiled_code[$handle]))
{
// Actually compile the code now.
$this->compiled_code[$handle] = $this->compile($this->uncompiled_code[$handle]);
}
// Run the compiled code.
eval($this->compiled_code[$handle]);
return true;
}
line 1065 - 1078
Code: Alles auswählen
// Handle marking posts
//
if( $mark_read == 'forums' )
{
if( $userdata['session_logged_in'] )
{
setcookie($board_config['cookie_name'] . '_f_all', time(), 0, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']);
}
$template->assign_vars(array(
"META" => '<meta http-equiv="refresh" content="3;url=' .append_sid("index.$phpEx") . '">')
);
$message = $lang['Forums_marked_read'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a> ');
message_die(GENERAL_MESSAGE, $message);
}
danke markus