Es kommen diese Fehler:
Warning: session_start(): The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 in /home/www/www365/html/sms/news.php on line 2
__
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/www/www365/html/sms/news.php:2) in /home/www/www365/html/sms/news.php on line 2
__
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/www/www365/html/sms/news.php:2) in /home/www/www365/html/sms/news.php on line 2
__
Warning: Cannot modify header information - headers already sent by (output started at /home/www/www365/html/sms/news.php:2) in /home/www/www365/html/sms/news.php on line 6
Und diese:
Warning: Unknown(): The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 in Unknown on line 0
__
Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
Woran liegt das ?
Die Datei, die die Fehler verursacht fängt so an:
Die SID wird richtig an die Datei übergeben
und es wird auch "userid" gefunden.
Es funktioniert alles, bloß es werden die Fehler angezeigt.
Kann mir jemand helfen ?
Danke im Voraus.
Warning: session_start(): The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 in /home/www/www365/html/sms/news.php on line 2
__
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/www/www365/html/sms/news.php:2) in /home/www/www365/html/sms/news.php on line 2
__
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/www/www365/html/sms/news.php:2) in /home/www/www365/html/sms/news.php on line 2
__
Warning: Cannot modify header information - headers already sent by (output started at /home/www/www365/html/sms/news.php:2) in /home/www/www365/html/sms/news.php on line 6
Und diese:
Warning: Unknown(): The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 in Unknown on line 0
__
Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
Woran liegt das ?
Die Datei, die die Fehler verursacht fängt so an:
PHP-Code:
<?php
session_start();
if (!isset_($_SESSION["userid"]))
{
header ("Location: infos.php");
}
?>
PHP-Code:
<?php
header ("Location:_news.php?PHPSESSID=$PHPSESSID");
?>
Es funktioniert alles, bloß es werden die Fehler angezeigt.
Kann mir jemand helfen ?
Danke im Voraus.
Kommentar