Seite 2 von 2

Re: include einer Template-Datei

Verfasst: 15.03.2014 17:03
von mps
Hallo,

auf der Seite webcam.php erscheint nichts. Wie vorher.

Im Index des Forums steht das hier:
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions.php on line 4751: Undefined index: palet
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4767: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4768: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4769: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
Ich habe mir durchgelesen, dass ich lieber den Code schicken soll, als das was ich sehe, aber damit kann ich nichts Anfangen... :oops:

Edit: Ich habe Kommas in der Sprachdatei vergessen. Jetzt läuft alles Rund!
Danke trotzdem für eure Mühe ;)

PS: PHPBB ist klasse

Re: include einer Template-Datei

Verfasst: 15.03.2014 17:16
von HabNurNeFrage
Hi,

genau kann ich das nicht sagen, aber ich glaube, es liegt daran, dass in Deiner PHP Datei page_header($user->lang['MEIN_TITEL']); steht,
es sich dabei um eine Beispiel-Variable ['MEIN_TITEL'] handelt, die in der Sprachdatei nicht existiert und so zum Fehler führt.

Ändere das testweise mal in page_header('Testname'); - der Verweis auf die Sprachdatei mit $user->lang haut eventuell nicht hin, wenn der Verweis ins Leere führt.
mps hat geschrieben:Edit: Ich habe Kommas in der Sprachdatei vergessen. Jetzt läuft alles Rund!
Oder so 8)

LG

PS: Debug deaktivieren nicht vergessen...