PHP-Fehler bei "Antwort erstellen"- Empty delimiter
Verfasst: 20.05.2014 22:30
Nabend,
Ich bekomme seit dem Update von 3.0.10 auf 3.0.12 folgende Fehlermeldung, wenn ich einen neuen Beitrag erstelle:
Dies sind einmal die Zeilen aus der posting.php (die betreffende if-Anweisung)
Und functions.php
Ich habe das Update zuerst auf Lokaler Ebene getestet (Xampp-Umgebung) = ohne Probleme. Annschließend online erneut durchgeführt = Fehlermeldung. Sie erscheint auch nur beim Antworten.(Neues Thema ist ohne Fehlermeldung)
Man kann trotzdem eine Antwort erstellen und abschicken, aber es ist ein unschöner Effekt. Ich weiß auch nicht ob da nun "Sicherheitsrelevante" Punkte dran geknüpft sind.
Zu sehen unter: http://www.thalia-rpg.de
Gastzugang: Gast
Passwort: Gast123
Gruß elli
Ich bekomme seit dem Update von 3.0.10 auf 3.0.12 folgende Fehlermeldung, wenn ich einen neuen Beitrag erstelle:
Code: Alles auswählen
[phpBB Debug] PHP Warning: in file [ROOT]/posting.php on line 1301: strpos() [function.strpos]: Empty delimiter
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4759: 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 4761: 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 4762: 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 4763: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
Code: Alles auswählen
if (($mode == 'reply' || $mode == 'quote') && !$submit && !$preview && !$refresh)
{
$post_data['post_subject'] = ((strpos($post_data['post_subject'], '') !== 0) ? '' : '') . censor_text($post_data['post_subject']);
}
Code: Alles auswählen
// application/xhtml+xml not used because of IE
header('Content-type: text/html; charset=UTF-8');
header('Cache-Control: private, no-cache="set-cookie"');
header('Expires: 0');
header('Pragma: no-cache');
Ich habe das Update zuerst auf Lokaler Ebene getestet (Xampp-Umgebung) = ohne Probleme. Annschließend online erneut durchgeführt = Fehlermeldung. Sie erscheint auch nur beim Antworten.(Neues Thema ist ohne Fehlermeldung)
Man kann trotzdem eine Antwort erstellen und abschicken, aber es ist ein unschöner Effekt. Ich weiß auch nicht ob da nun "Sicherheitsrelevante" Punkte dran geknüpft sind.
Zu sehen unter: http://www.thalia-rpg.de
Gastzugang: Gast
Passwort: Gast123
Gruß elli