[phpBB Debug] PHP Notice - Session.php

Fragen zur Bedienung von phpBB 3.0.x, Probleme bei der Benutzung und alle weiteren Fragen inkl. Update auf die neuste phpBB 3.0.14 Version
Forumsregeln
phpBB 3.0 hat das Ende seiner Lebenszeit überschritten
phpBB 3.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 3.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf die neuste phpBB-Version, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
MeSsIaHaS
Mitglied
Beiträge: 163
Registriert: 15.03.2009 16:21
Kontaktdaten:

[phpBB Debug] PHP Notice - Session.php

Beitrag von MeSsIaHaS »

Moin,

leider kenn ich mich nicht gut genug aus, um den Fehler zu beheben.

Bekomme den Fehler:
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1041: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3551)

session.php - Zeile 1041
header('Set-Cookie: ' . $name_data . (($cookietime) ? '; expires=' . $expire : '') . '; path=' . $config['cookie_path'] . $domain . ((!$config['cookie_secure']) ? '' : '; secure') . '; HttpOnly', false);

function.php
echo '<b>[phpBB Debug] PHP Notice</b>: in file <b>' . $errfile . '</b> on line <b>' . $errline . '</b>: <b>' . $msg_text . '</b><br />' . "\n";

Sry das ich so blöd frag, aber was muss ich tun ?
hab mir den Beitrag https://www.phpbb.de/kb/headers_already_sent schon durchgelesen, verstehs aber net.. :-(

Danke vorab.
Gruß
Jürgen
o_spacy_o

Re: [phpBB Debug] PHP Notice - Session.php

Beitrag von o_spacy_o »

Hallo,
hast Du etwas verändert? Wenn ja was?
Lösch doch mal den Servercache und vor allem Deinen Browsercache inkl. Cookies.
Dann noch einmal testen.

Grüße spacy
Benutzeravatar
DeepSurfer
Mitglied
Beiträge: 1337
Registriert: 23.01.2009 10:26

Re: [phpBB Debug] PHP Notice - Session.php

Beitrag von DeepSurfer »

Nunja.... alle cookies löschen wäre etwas übertrieben, es reicht den (die) cookies von der Domain zu löschen.
wie einst der MCP aus Tron auf dem Bildschirm zu schreiben pflegte.
- end of communication -
greets
MeSsIaHaS
Mitglied
Beiträge: 163
Registriert: 15.03.2009 16:21
Kontaktdaten:

Re: [phpBB Debug] PHP Notice - Function.php

Beitrag von MeSsIaHaS »

Hallo,

ok, hat geklappt, Meldung weg..
Vielen Dank.

hab aber noch ne weitere Meldung(en)

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4998: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3551)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 5000: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3551)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 5001: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3551)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 5002: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3551)

Dazu noch ne Idee ?

Grüßle
Jürgen
Benutzeravatar
DeepSurfer
Mitglied
Beiträge: 1337
Registriert: 23.01.2009 10:26

Re: [phpBB Debug] PHP Notice - Session.php

Beitrag von DeepSurfer »

Ist das ein WindowServer ?
wie einst der MCP aus Tron auf dem Bildschirm zu schreiben pflegte.
- end of communication -
greets
Benutzeravatar
Mahony
Ehemaliges Teammitglied
Beiträge: 12259
Registriert: 17.11.2005 22:33
Wohnort: Ostfildern Kemnat
Kontaktdaten:

Re: [phpBB Debug] PHP Notice - Session.php

Beitrag von Mahony »

Hallo
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4998: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3551)
Siehe dazu auch KB:headers_already_sent

Grüße: Mahony
Wer fragt, ist ein Narr für fünf Minuten, wer nicht fragt, ist ein Narr für immer.
MeSsIaHaS
Mitglied
Beiträge: 163
Registriert: 15.03.2009 16:21
Kontaktdaten:

Re: [phpBB Debug] PHP Notice - Session.php

Beitrag von MeSsIaHaS »

Guten Abend..
DeepSurfer hat geschrieben:Ist das ein WindowServer ?
Meine Testumgebung ja.
Echtsystem nein...
Mahony hat geschrieben:Hallo
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4998: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3551)
Siehe dazu auch KB:headers_already_sent
Habe ich ja, verstehe ich aber net..

Die betreffenden Zeilen in der \includes\function.php sind:
header('Content-type: text/html; charset=UTF-8');

header('Cache-Control: private, no-cache="set-cookie"');
header('Expires: 0');
header('Pragma: no-cache');

Was genau hat es damit auf sich ?
Gruß
Antworten

Zurück zu „[3.0.x] Administration, Benutzung und Betrieb“