Fehlermeldung bei der Startseite des Boards
Verfasst: 15.05.2004 13:38
Hallo,
sobald ich mein board über die url aufrufen will, kommt folgende Fehlermeldung:
Parse error: parse error, unexpected '/' in /www/htdocs/pipe/phpBB/includes/functions.php on line 437
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/pipe/phpBB/includes/functions.php:437) in /www/htdocs/pipe/phpBB/includes/sessions.php on line 293
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/pipe/phpBB/includes/functions.php:437) in /www/htdocs/pipe/phpBB/includes/sessions.php on line 294
Ich habe dann mal die anegegeben stellen rausgesucht:
die betreffende Zeile ist farblich unterlegt:
}
return ( !empty($translate) ) ? strtr(@gmdate($format, $gmepoch + (3600 * ($tz+date("I")))), $translate) : @gmdate($format, $gmepoch + (3600 * ($tz+date("I"))));
}
//
// Pagination routine, generates
// page number sequence
//
/-- mod : profile cp ------------------------------------------------------------------------------// here we added
// , $start_field='start'
//-- modify
function generate_pagination($base_url, $num_items, $per_page, $start_item, $add_prevnext_text = TRUE, $start_field='start'//-- fin mod : profile cp)
{
global $lang;
$total_pages = ceil($num_items/$per_page);
if ( $total_pages == 1 )
{
return '';
und die sessions.php
//
// Delete expired sessions
//
$expiry_time = $current_time - $board_config['session_length'];
$sql = "DELETE FROM " . SESSIONS_TABLE . "
WHERE session_time < $expiry_time
AND session_id <> '$session_id'";
if ( !$db->sql_query($sql) )
{
message_die(CRITICAL_ERROR, 'Error clearing sessions table', '', __LINE__, __FILE__, $sql);
}
setcookie($cookiename . '_data', serialize($sessiondata), $current_time + 31536000, $cookiepath, $cookiedomain, $cookiesecure);
setcookie($cookiename . '_sid', $session_id, 0, $cookiepath, $cookiedomain, $cookiesecure); }
return $userdata;
}
}
}
Kann mir da wer weiterhelfen????
sobald ich mein board über die url aufrufen will, kommt folgende Fehlermeldung:
Parse error: parse error, unexpected '/' in /www/htdocs/pipe/phpBB/includes/functions.php on line 437
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/pipe/phpBB/includes/functions.php:437) in /www/htdocs/pipe/phpBB/includes/sessions.php on line 293
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/pipe/phpBB/includes/functions.php:437) in /www/htdocs/pipe/phpBB/includes/sessions.php on line 294
Ich habe dann mal die anegegeben stellen rausgesucht:
die betreffende Zeile ist farblich unterlegt:
}
return ( !empty($translate) ) ? strtr(@gmdate($format, $gmepoch + (3600 * ($tz+date("I")))), $translate) : @gmdate($format, $gmepoch + (3600 * ($tz+date("I"))));
}
//
// Pagination routine, generates
// page number sequence
//
/-- mod : profile cp ------------------------------------------------------------------------------// here we added
// , $start_field='start'
//-- modify
function generate_pagination($base_url, $num_items, $per_page, $start_item, $add_prevnext_text = TRUE, $start_field='start'//-- fin mod : profile cp)
{
global $lang;
$total_pages = ceil($num_items/$per_page);
if ( $total_pages == 1 )
{
return '';
und die sessions.php
//
// Delete expired sessions
//
$expiry_time = $current_time - $board_config['session_length'];
$sql = "DELETE FROM " . SESSIONS_TABLE . "
WHERE session_time < $expiry_time
AND session_id <> '$session_id'";
if ( !$db->sql_query($sql) )
{
message_die(CRITICAL_ERROR, 'Error clearing sessions table', '', __LINE__, __FILE__, $sql);
}
setcookie($cookiename . '_data', serialize($sessiondata), $current_time + 31536000, $cookiepath, $cookiedomain, $cookiesecure);
setcookie($cookiename . '_sid', $session_id, 0, $cookiepath, $cookiedomain, $cookiesecure); }
return $userdata;
}
}
}
Kann mir da wer weiterhelfen????