Seite 1 von 1

Probs mit allen Mods

Verfasst: 29.11.2007 17:07
von MSR
Ich stehe vor einem großen Problem, keine Modifikation funzt :(

Vorgeschichte: Ich betreue eine Vereinsseite und die hat ein Forum. In mein altes Forum hatte ich viel Zeit und Energie gesteckt, etliche Modifikationen eingebaut, aber genug davon. Mir stehen zwei Datenbanken zu Verfügung.

Aufgrund von gewissen Umständen, die hier uninteressant sind, installierte ich 3.0 RC 7 in die zweite, bisher ungenutzte Datenbank. Der Forumsinhalt wurde aus der ersten in die zweite DB konvertiert. Alles kein Problem, es lief bzw. läuft.
Nun wollte ich "meine Leute" wieder mit den gewohnten MODs erfreuen, u.a. GENDER MOD, WER WAR HIER (von nickvergessen) und einigen anderen. Aber jetzt kommt es zu meinem großem Fragezeichen.

Nach allen Änderungen "spinnt" das Forum. Die Startseite zeigt vor dem eigentlichen Header folgendes:

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3371: Cannot modify header information - headers already sent by (output started at /index.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3373: Cannot modify header information - headers already sent by (output started at /index.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3374: Cannot modify header information - headers already sent by (output started at /index.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3375: Cannot modify header information - headers already sent by (output started at /index.php:1)
Versuche ich dann in den Adminbereich zu kommen, sieht man:

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/constants.php:1)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/constants.php:1)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/constants.php:1)

Warning: Cannot modify header information - headers already sent by (output started at /WWWROOT/76156/htdocs/forum/includes/constants.php:1) in /WWWROOT/76156/htdocs/forum/includes/functions.php on line 3371

Warning: Cannot modify header information - headers already sent by (output started at /WWWROOT/76156/htdocs/forum/includes/constants.php:1) in /WWWROOT/76156/htdocs/forum/includes/functions.php on line 3373

Warning: Cannot modify header information - headers already sent by (output started at /WWWROOT/76156/htdocs/forum/includes/constants.php:1) in /WWWROOT/76156/htdocs/forum/includes/functions.php on line 3374

Warning: Cannot modify header information - headers already sent by (output started at /WWWROOT/76156/htdocs/forum/includes/constants.php:1) in /WWWROOT/76156/htdocs/forum/includes/functions.php on line 3375
In das ACP komme ich nicht mehr rein.

Was mache ich falsch??? Bin der Verzweiflung nahe!

Verfasst: 29.11.2007 17:49
von nickvergessen
scheint so, als wären dir an den Anfang einiger php-Dateien eine Leerzeile gerutscht.
Guck mal in allen Dateien nach, speziell /includes/constants.php und /index.php und lösche eventuell vorhandene Leerzeilen vor

Code: Alles auswählen

<?php

Verfasst: 29.11.2007 19:00
von Kendoo
Stichwort BOM bzw. UTF-8 ohne BOM

Verfasst: 30.11.2007 10:43
von MSR
@nickvergessen: Nein, sind keine Leerzeilen in den Dateien bei allen Änderungen. Hab das extra viermal kontrolliert :-?

@Kendoo: Was willst du mir damit sagen? Wie und wo stell ich denn die "Byte Order Mark" ein?

Verfasst: 30.11.2007 12:04
von Chalong
MSR hat geschrieben:...Wie und wo stell ich denn die "Byte Order Mark" ein?
Der Editor Notepad++ bietet diese Einstellmöglichkeit. Das sieht dann so aus:
[ externes Bild ]

Verfasst: 30.11.2007 15:45
von MSR
Danke für die Hilfe! Habe die Dateien als UTF-8 ohne BOM kodiert und jetzt klappt es! Ist zwar merkwürdig, aber man lernt nie aus :lol:

Nochmals Danke!

Verfasst: 30.11.2007 16:57
von Kendoo
MSR hat geschrieben:Ist zwar merkwürdig, aber man lernt nie aus :lol:

Nochmals Danke!
das ist ganz und gar nicht merkwürdig, denn phpbb3 ist nunmal utf-8 codiert

Verfasst: 01.12.2007 11:46
von MSR
Naja, dann werde ich die anderen Modifikationen mit dem entsprechenden Editor machen. Aber darauf muss man erst mal kommen 8)