Ich habe mein Testforum heute von PHP 7.x auf PHP 7.1 umgestellt. Grund ist , das Xampp nicht mehr mit PHP 7 arbeitet. jetzt habe ich wie befürchtet Fehlermeldungen auf der Portalseite sowie im ACP/ eigene Blöcke:
[phpBB Debug] PHP Warning: in file [ROOT]/ext/board3/portal/portal/fetch_posts.php on line 137: A non-numeric value encountered
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4564: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3314)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4564: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3314)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4564: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3314)
Im ACP/Erweiterungen/eigenes Modul - BBCode nicht aktiv:
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 789: A non-numeric value encountered
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 790: A non-numeric value encountered
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 791: A non-numeric value encountered
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3314)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3314)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3314)
Ich bereite gerade das Update von board3.de auf phpBB 3.2 vor, teste mit PHP 7.1 und es fallen doch ein paar mehr Sachen auf. Auch im Frontend.
und einen Beitrag weiter:
da habe ich diese (geänderte) Zeile.....
Ich weiß nicht in welcher Datei(en) die Änderung(en) vorgenommen werden müssen, damit das Portal auch unter Php 7.1 arbeitet Link zum Testforum
PHP 7.1.23-nmm1
MySQL(i) 5.6.38-nmm1-log
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 789: A non-numeric value encountered
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 790: A non-numeric value encountered
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 791: A non-numeric value encountered
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3314)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3314)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3314)
Wichtig war mir das die Portalseite sauber ist. Im ACP werde ich damit wohl leben müssen ?
Nachdem ich für das Testforum die entsprechenden Dateien ediert habe, ist nun das eigentliche daran. Umgestellt auf PHP 7.1.23 und im ACP /Erweiterungen/Portal/
bei den eigenen Modulen mit Text (BB-Code deaktiviert) wieder eine Fehlermeldung - nur wenn ich entsprechendes Modul anklicke:
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 789: A non-nummeric value encountered
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 790: A non-nummeric value encountered
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 791: A non-nummeric value encountered
Kann ich die zu ändernden Dateien nicht aus den Testforum (läuft unter PHP 7.1.30-nmm1) nicht einfach im anderen Forum mit dieser Debug Fehlermeldung kopieren? Damit würde ich mir die Arbeit ersparen alles noch mal zu ändern?........
Aber ich habe nun vorab einfach den Ordner "Board3" mit den bereits edierten Dateien aus den Testforum kopiert und in ein weiteres Testforum übernommen. Ebenso die Einstellungen der eigenen Blocks. Hat wunderbar geklappt. Keinerlei Fehlermeldung mehr.