Ich bin mit einem Forum auf einen anderen Server gezogen, das einspielen der db hat soweit geklappt, doch habe ich folgenden Fehler :
Dies Betrifft die Zeilen (sessions.php) :Warning: Cannot add header information - headers already sent by (output started at /usr/local/httpd/htdocs/includes/constants.php:414) in /usr/local/httpd/htdocs/includes/sessions.php on line 421
Warning: Cannot add header information - headers already sent by (output started at /usr/local/httpd/htdocs/includes/constants.php:414) in /usr/local/httpd/htdocs/includes/sessions.php on line 423
Warning: Cannot add header information - headers already sent by (output started at /usr/local/httpd/htdocs/includes/constants.php:414) in /usr/local/httpd/htdocs/includes/page_header.php on line 1181
Warning: Cannot add header information - headers already sent by (output started at /usr/local/httpd/htdocs/includes/constants.php:414) in /usr/local/httpd/htdocs/includes/page_header.php on line 1183
Warning: Cannot add header information - headers already sent by (output started at /usr/local/httpd/htdocs/includes/constants.php:414) in /usr/local/httpd/htdocs/includes/page_header.php on line 1185
Code: Alles auswählen
setcookie($cookiename . '_data', serialize($sessiondata), $current_time + 31536000, $cookiepath, $cookiedomain, $cookiesecure);
setcookie($cookiename . '_sid', $session_id, 0, $cookiepath, $cookiedomain, $cookiesecure);
Code: Alles auswählen
header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
header ('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT');
header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
Danke im Voraus.
Gruss.