Seite 1 von 1

Fehler in includes/function.php

Verfasst: 13.05.2009 21:01
von Seabearjr
Folgende Fehlermeldung erhalte ich zurzeit ganz oben im Forum:
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3780: Cannot modify header information - headers already sent by (output started at /language/de/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3782: Cannot modify header information - headers already sent by (output started at /language/de/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3783: Cannot modify header information - headers already sent by (output started at /language/de/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3784: Cannot modify header information - headers already sent by (output started at /language/de/common.php:1)
Hier der Code aus der functions.php - Zeile 3779-3786:

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;
Im ACP erhalte ich folgende Meldung:
[phpBB Debug] PHP Notice: in file /adm/index.php on line 151: Cannot modify header information - headers already sent by (output started at /language/de/common.php:1)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /language/de/common.php:1)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /language/de/common.php:1)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 155: Cannot modify header information - headers already sent by (output started at /language/de/common.php:1)
Zeile 150-157:

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;
Falls mehr Daten benötigt werden einfach sagen (und welche).

Re: Fehler in includes/function.php

Verfasst: 13.05.2009 22:33
von SCWfan06
Ich denke es liegt eher an der Datei /language/de/common.php
Siehe:
KB:utf8bom

Re: Fehler in includes/function.php

Verfasst: 14.05.2009 16:15
von Seabearjr
Vielen Dank, das wars!