[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 580: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 636: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
forum.die-zunftmeister.de • PHP Warning nach 2. Login
Seite 1 von 1

PHP Warning nach 2. Login

Verfasst: 6. Feb 2018, 22:23
von DaBu
Ich habe mal wieder einen kleinen Bug gefunden.

Wenn ich mich über die Startseite einlogge und nach einem erfolgreichen Login die Startseite erneut besuche und mich dann erneut einlogge, aber diese mal mit falschen Daten, dann erhalte ich folgende Warning vom Webserver.

Code: Alles auswählen

Warning: session_start(): Cannot send session cache limiter - headers already sent
Entweder muss erkannt werden, dass ich eigentlich noch eine gültige Session habe oder die alte muss während des erneuten Logins zurück gesetzt werden.

Lg,
DaBu

Re: PHP Warning nach 2. Login

Verfasst: 7. Feb 2018, 23:46
von Thomas
Danke! Schau ich mir mal bei Gelegenheit an!