johnpatcher schrieb am 07.04.2005 um 19:51 Uhr
ich bekomme folgende fehlermeldung:
Warning: Compilation failed: nothing to repeat at offset 9 in /home/www/web51/html/babioch/thwboard/inc/functions.inc.php on line 744
Warning: Compilation failed: nothing to repeat at offset 9 in /home/www/web51/html/babioch/thwboard/inc/functions.inc.php on line 744
Warning: Cannot modify header information - headers already sent by (output started at /home/www/web51/html/babioch/thwboard/inc/functions.inc.php:744) in /home/www/web51/html/babioch/thwboard/newtopic.php on line 241
habe aber nix großes geändert und rufe es auch normal auf, also nicht irgendwie iframe, include, oder ähnliches...
johnpatcher schrieb am 07.04.2005 um 20:07 Uhr
habe es gelöst, aber nur mit "@" vor den jeweiligen befehlen, ist zwar nicht die beste lösung, aber es geht ;)
theDon schrieb am 08.04.2005 um 16:52 Uhr
Zeig doch mal die betreffende Zeile vor.
johnpatcher schrieb am 10.04.2005 um 18:42 Uhr
zeile 744 in inc/functions.inc.php sah so aus:
$text = preg_replace($bwords, $mwords, $text);
und sieht jetzt so aus
$text = @preg_replace($bwords, $mwords, $text);
und zeile 241 von newtopic sah so aus:
header("Location: " . build_link("showtopic.php?threadid=$thread[threadid]", true));
und sieht jetzt so aus
@header("Location: " . build_link("showtopic.php?threadid=$thread[threadid]", true));
wobei ich mir ziemlich sicher bin, das das @ vor preg_replace nicht nötig ist, aber sicher ist sicher ;)
johnpatcher
theDon schrieb am 10.04.2005 um 20:51 Uhr
Die @s sind beide ueberfluessig.
Der erste Fehler liegt an einem Eintrag in den Badwords. Der Zweite ist nur ein Folgefehler.