Seite 1 von 1

Fehlermeldung bei der Installation

Verfasst: 27.11.2008 19:17
von Fabse123
Ich habe mir heute phpbb3.0.3 herunzergeladen und die Dateien unverändert auf den Server hochgeladen. Auf der Ersten Einführunsseite werden am oberen Bildschirmrand folgende Meldungen angezeigt:

[phpBB Debug] PHP Notice: in file /install/index.php on line 440: Cannot modify header information - headers already sent by (output started at /language/de/acp/board.php:472)
[phpBB Debug] PHP Notice: in file /install/index.php on line 441: Cannot modify header information - headers already sent by (output started at /language/de/acp/board.php:472)
[phpBB Debug] PHP Notice: in file /install/index.php on line 442: Cannot modify header information - headers already sent by (output started at /language/de/acp/board.php:472)
[phpBB Debug] PHP Notice: in file /install/index.php on line 443: Cannot modify header information - headers already sent by (output started at /language/de/acp/board.php:472)

Was kann ich machen, dass diese verschwinden?
Ich danke schon im Voraus für jede Hilfe.

Viele Grüße

Fabse123

Verfasst: 27.11.2008 22:51
von Miriam
Schnapp Dir die /language/de/acp/board.php und lösche die Leerzeichen / -zeilen nach Beachte in diesem Zusammenhang auch KB:utf8bom.

wird zurückgeändert

Verfasst: 28.11.2008 17:14
von Fabse123
Ich habe die Datei schon mehrmals geändert, aber das Forum ändert diese sofort nach dem hochladen wieder.

neue Fehlermeldung

Verfasst: 28.11.2008 17:31
von Fabse123
Jetzt kommt statt der anderen noch diese:

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3545: Cannot modify header information - headers already sent by (output started at /language/de/common.php:840)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3547: Cannot modify header information - headers already sent by (output started at /language/de/common.php:840)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3548: Cannot modify header information - headers already sent by (output started at /language/de/common.php:840)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3549: Cannot modify header information - headers already sent by (output started at /language/de/common.php:840)

Verfasst: 28.11.2008 19:04
von Metzle
Hallo,

grundsätzlich gilt: Das Forum ändert keine Dateien ;)

Welches FTP-Programm nutzt du? Versuche mal ein anderes eventuell.

Verfasst: 28.11.2008 19:10
von Miriam
Z.B. FileZilla 8)

Verfasst: 28.11.2008 21:06
von Fabse123
ja Danke, die Datei bleibt jetzt so, ich komme wieder in mein Forum rein aber diese Fehlermeldeung bleibt trotzdem:

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3545: Cannot modify header information - headers already sent by (output started at /language/de/common.php:840)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3547: Cannot modify header information - headers already sent by (output started at /language/de/common.php:840)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3548: Cannot modify header information - headers already sent by (output started at /language/de/common.php:840)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3549: Cannot modify header information - headers already sent by (output started at /language/de/common.php:840)

in den vier Zeilen der functions.php-Datei steht:

3545: header('Content-type: text/html; charset=UTF-8');

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

Außerdem komme ich nicht mehr in den Admin-Bereich, statdessen nur die Meldung:

Ein Zugriff auf den Administrations-Bereich ist nicht möglich, da du keine administrativen Berechtigungen hast.

Bin dankbar für jede (schnelle) Antwort!!!

Verfasst: 28.11.2008 21:44
von Miriam
Wieso includes/functions.php? Die wollte nur einen HTTP Header senden. Das ging schief, weil es schon HTML Output gab. Nämlich von der /language/de/common.php ab Zeile 840.

Code: Alles auswählen

headers already sent by (output started at /language/de/common.php:840)
Ich könnte wetten, dass hinter dem abschliessenden noch Leerzeichen / -zeilen folgen.
Dazu: KB:utf8bom und KB:headers_already_sent.