Seite 1 von 1

Error übern Header (Registrierungsbereich)

Verfasst: 26.12.2008 13:57
von jerikool
Ich habe gerade einen Error auf meiner Seite bemerkt. Der folgende Error erscheint nur im Registrierungsbildschirm. Wenn ich eingeloggt bin ist er verschwunden und auch wenn ich ausgeloggt bin (Index) ist er nicht zu sehen.

Code: Alles auswählen

ah[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3835: Cannot modify header information - headers already sent by (output started at /includes/ucp/ucp_register.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3837: Cannot modify header information - headers already sent by (output started at /includes/ucp/ucp_register.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3838: Cannot modify header information - headers already sent by (output started at /includes/ucp/ucp_register.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3839: Cannot modify header information - headers already sent by (output started at /includes/ucp/ucp_register.php:1)
Kann mir jemand weiterhelfen?

EDIT: Hier Zeile 3834-3842 aus meiner /includes/functions.php

Code: Alles auswählen

// application/xhtml+xml not used because of IE
	header('Content-type: text/html; charset=UTF-8');

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

	return;
}

Verfasst: 26.12.2008 14:35
von Metzle
Hallo,

schau mal in die Datei includes/ucp/ucp_register.php am Anfang rein, ob dort bspw eine Leerzeile am Anfang ist oder ein Leerzeichen, was da nicht hingehört.

KB:headers_already_sent

Verfasst: 26.12.2008 14:59
von jerikool
Problem gelöst. Wenn ihr euch den Error anschaut seht ihr das da ein "ah" davor steht. Wer weiß wie das da hin kam...
Hab das "ah" einfach weggemacht.

Danke.