Seite 1 von 1

Error in Preview

Verfasst: 13.06.2005 11:36
von nadaan
on my forums....
just b4 making the post...
i cant preview anything....i watned to ask why is that ....
Code:
Parse error: parse error in /mnt/am2/08/451/00000014/htdocs/board/includes/template.php(151) : eval()'d code on line 29

Warning: Cannot add header information - headers already sent by (output started at /mnt/am2/08/451/00000014/htdocs/board/includes/template.php(151) : eval()'d code:29) in /mnt/am2/08/451/00000014/htdocs/board/includes/page_header.php on line 497

Warning: Cannot add header information - headers already sent by (output started at /mnt/am2/08/451/00000014/htdocs/board/includes/template.php(151) : eval()'d code:29) in /mnt/am2/08/451/00000014/htdocs/board/includes/page_header.php on line 499

Warning: Cannot add header information - headers already sent by (output started at /mnt/am2/08/451/00000014/htdocs/board/includes/template.php(151) : eval()'d code:29) in /mnt/am2/08/451/00000014/htdocs/board/includes/page_header.php on line 500




this is the list of hacks i have installed


Name, Rank & Avatar in Center v1.0.0
Avatar Gallery Hack v1.0.0
Badge in Profile Hack v1.0.0
bbcode_box for phpBB2 vv 4.5.0
Custom User Rank v2.0.9 (ex phpBB 2.0.4)
File Attachment Mod v2 v2.3.13
Hacks List v1.20
IM PORTAL v1.2.0
Nuttzy's Country Flag Mod 2.2.0 v1.0.3
PM Quick Reply v1.3.5 (7th January, 2004)
Quote Hack v1.0



this is the error that comes on top of the page...and I can't install any other hack because of this either...so please people help me....
anyone knows why is this happeneing......

Verfasst: 13.06.2005 15:23
von shwepsi
Well, this a german support forum. the english is at www.phpbb.com

The failure normaly is that you try to change the header, AFTER they had their output.

is there a setcookie() or header() ?
If yes, this line (or these lines, depends on the code) must put before the output of the header

Good luck
and try at www.phpbb.com

btw. You are in the wrong forum, you are using phpBB 2.0.X and not 2.1 or 3.0

Verfasst: 14.06.2005 03:13
von nadaan
shwepsi hat geschrieben:Well, this a german support forum. the english is at www.phpbb.com

The failure normaly is that you try to change the header, AFTER they had their output.

is there a setcookie() or header() ?
If yes, this line (or these lines, depends on the code) must put before the output of the header

Good luck
and try at www.phpbb.com

btw. You are in the wrong forum, you are using phpBB 2.0.X and not 2.1 or 3.0
Danke dir schwepsi..ich habe es gerade erst erfahren dass ich in der verkehrten Forum bin..ich hatte den Text von Phpbb.com kopiert und hier eingefügt..verdammt :( keiner antwortet darauf....mir wäre lieber wenn du mir noch einmal deine kostbare Zeit schenkst und auf Deutsch erklärst bitte...in der Zukunft achte ich auf die Foren und auf die Sprache
Mit Freundlichen Grüßen
Nadaan (Hamburg)
http://www.gulistaan.com

Verfasst: 14.06.2005 11:15
von Markus67
Hi ...

Wann genau kommt denn der Fehler? Wenn du auf Beitragsvorschau gehst?

Dem Fehler nach zu urteilen würde ich mal auf eine tpl-Datei tippen ... irgendeine Switch-Anweisung steht nicht alleine in einer Zeile.

Markus

Edit:

suche in der posting_preview.tpl

Code: Alles auswählen

					<!-- BEGIN postrow -->
					{ATTACHMENTS}
					<!-- END postrow --
ersetze mit:

Code: Alles auswählen

					<!-- BEGIN postrow -->
					{ATTACHMENTS}
					<!-- END postrow -->
Markus

Verfasst: 14.06.2005 11:25
von nadaan
Markus67 hat geschrieben:Hi ...

Wann genau kommt denn der Fehler? Wenn du auf Beitragsvorschau gehst?

Dem Fehler nach zu urteilen würde ich mal auf eine tpl-Datei tippen ... irgendeine Switch-Anweisung steht nicht alleine in einer Zeile.

Markus
Ja der Fehler erscheint wenn ich den Beitrag vorschau ich denke wegen vieler Ersetzungen neuer , alter Hacks ist das passiert.. ich schaue mal alle TPL Dateien andernfalls lade ich neue PHPBB Datein hoch und editiere sie nochmal..

Verfasst: 14.06.2005 11:27
von Markus67
Hi ...

schau nochmal in mein oberes Posting ... da steht ein Nachtrag :wink:

Markus