Seite 1 von 1

Fehler in der functions.php

Verfasst: 22.06.2009 07:58
von Huchinotte
Hi .........

hab local per xampp nur mein Forum so weit fertig und es funktioniert auch alles so weit. Dann hab ich mir gedacht aktivierst mal den debug mod und schaust ob nicht doch noch was ist. Und siehe da folgende Meldung hab ich im Header

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3765: Undefined index: COPY
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3867: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3868: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3869: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3870: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
Die Links zur FAQ über die Modify Header Information hab ich gelesen. Nur finde ich in meiner includes/functions.php keinen Fehler. Kann das daran hängen das ich das local am laufen hab aber die Admineinstellungen "Server und Domain" sowie "Cookies" vom Online-Board sind?

http://www.phpbb.de/support/pastebin.php?mode=view&s=98

Gruß Huch

Re: Fehler in der functions.php

Verfasst: 22.06.2009 09:06
von Dr.Death
Hallo,

der Fehler:

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3765: Undefined index: COPY
bedeutet:

In der Datei includes / functions.php Zeile 3765 ist eine Variable verwendet worden, die nicht definiert wurde.

Code: Alles auswählen

       'COPY'                          => $user->lang['COPY'],
Ich schätze mal, du hast nur vergessen die Variable COPY in der passenden Sprachdatei ( language / de / common.php ) einzutragen.

Re: Fehler in der functions.php

Verfasst: 22.06.2009 09:13
von Huchinotte
@ Dr.Death .........

jo das war es .... der Eintrag fehlte. Danke dir. Somit erledigt

Gruß Huch