[3.0.11] Fehlermeldungen nach PHP Versionsupdate
Verfasst: 04.07.2019 16:35
Einmal ein großes Hallo.
Vorweg, mir ist bewusst das die Forumsversion vollkommen veraltet ist, aber durch ein paar Versionskonflikte haben wir das Forum nicht auf die neuste Version bekommen und versuche es nun wenigstens die Fehler los zu werden. (Nachdem ein Kumpel die PHP Version auf 7.2.18 geupdatet hat, was bitter nötig war).
Einige der Fehler konnte ich problemlos beheben, die waren von der selben Natur wie:
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
Doch sehe ich in der Zeile kein /e, welches ich ändern könnte.
Zeile 112 wäre:
Weiterhin habe ich folgende Fehlermeldungen:
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4820: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4822: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4823: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4824: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Was ich hier und auf anderen Seiten gelesen habe, hilft mir leider nicht weiter. Ich habe keine Leerzeichen vor bzw. hinter dem php tag noch sind die Dateien falsch konfiguriert. Laut Notepad++ UTF-8 ohne BOM.
Leider bin ich nicht all zu bewandert in PHP, ich bin froh wenn mir jemand sagen kann, wie ich das Problem los werde, oder wie ich das Forum "einfach" auf die neuste Version updaten kann.
Bei dem Versuch hatten wir folgende Fehlermeldungen:
[phpBB Debug] PHP Warning: in file [ROOT]/includes/automatic_dst.php on line 61: A non-numeric value encountered
[phpBB Debug] PHP Warning: in file [ROOT]/install/index.php on line 361: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/install/index.php on line 362: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/install/index.php on line 363: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/install/index.php on line 364: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Vielen Dank schon einmal im Voraus für hilfreiche Beiträge.
Vorweg, mir ist bewusst das die Forumsversion vollkommen veraltet ist, aber durch ein paar Versionskonflikte haben wir das Forum nicht auf die neuste Version bekommen und versuche es nun wenigstens die Fehler los zu werden. (Nachdem ein Kumpel die PHP Version auf 7.2.18 geupdatet hat, was bitter nötig war).
Einige der Fehler konnte ich problemlos beheben, die waren von der selben Natur wie:
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
Doch sehe ich in der Zeile kein /e, welches ich ändern könnte.
Code: Alles auswählen
if (sizeof($preg['search']))
{
// we need to turn the entities back into their original form to allow the
// search patterns to work properly
if (!$undid_bbcode_specialchars)
{
$message = str_replace(array(':', '.'), array(':', '.'), $message);
$undid_bbcode_specialchars = true;
}
$message = preg_replace($preg['search'], $preg['replace'], $message);
$preg = array('search' => array(), 'replace' => array());
}
Code: Alles auswählen
$message = preg_replace($preg['search'], $preg['replace'], $message);
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4820: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4822: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4823: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4824: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Was ich hier und auf anderen Seiten gelesen habe, hilft mir leider nicht weiter. Ich habe keine Leerzeichen vor bzw. hinter dem php tag noch sind die Dateien falsch konfiguriert. Laut Notepad++ UTF-8 ohne BOM.
Leider bin ich nicht all zu bewandert in PHP, ich bin froh wenn mir jemand sagen kann, wie ich das Problem los werde, oder wie ich das Forum "einfach" auf die neuste Version updaten kann.
Bei dem Versuch hatten wir folgende Fehlermeldungen:
[phpBB Debug] PHP Warning: in file [ROOT]/includes/automatic_dst.php on line 61: A non-numeric value encountered
[phpBB Debug] PHP Warning: in file [ROOT]/install/index.php on line 361: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/install/index.php on line 362: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/install/index.php on line 363: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/install/index.php on line 364: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Vielen Dank schon einmal im Voraus für hilfreiche Beiträge.