[3.2] php-Version das Problem ?

Fragen rund um die Installation, Administration und Benutzung von phpBB.
Forumsregeln
Bitte im Thementitel den Präfix deiner phpBB-Version angeben
Antworten
Benutzeravatar
yks
Mitglied
Beiträge: 1295
Registriert: 10.07.2004 02:31

[3.2] php-Version das Problem ?

Beitrag von yks »

Hallo,

bzgl der neuen php Version 7.2.11 (und glaube mysql oder mysqlInd 5.0.12) las ich irgendwo, dass das Forum 3.2.x damit nicht zurecht kommt, aber 3.1.x. Ist das richtig ?

Bei einem Forum A 3.0.x habe ich die Fehlermeldung:

Code: Alles auswählen

[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 574: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 630: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1066: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3937)
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1066: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3937)
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1066: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3937)
Vermute, das hat auch mit der Änderung der php-Version zu tun ?

Und in einem 3.2.x Forum B bekomme ich die Fehlermeldung:

Code: Alles auswählen

General Error
SQL ERROR [ mysql4 ]
mysql_connect function does not exist, is mysql extension installed? []
An sql error occurred while fetching this page. Please contact an administrator if this problem persists.
Daraufhin habe ich in der config aus mysql > mysqli gemacht.
Und erhalte nun (ebenfalls) diese Meldung:

Code: Alles auswählen

[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 580: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 636: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
Beim Versuch mich einzuloggen dann die Fehlermeldung:

Code: Alles auswählen

[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 575: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 580: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 608: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 1835: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
Und bzgl einer Neuinstallation die Frage, ob 3.1.x am besten ist oder nun, nach der neuen 3.2.4 auch diese funktioniert ?

Danke und viele Grüße
yks
Mit subsilver2 macht es noch viel mehr Spaß ! :)
Benutzeravatar
chris1278
Mitglied
Beiträge: 3861
Registriert: 12.11.2007 06:20
Wohnort: Euskirchen
Kontaktdaten:

Re: [3.2] php-Version das Problem ?

Beitrag von chris1278 »

Falls es sich hierbei um die anzeige der phpinfo im admin bereich geht so sollte das mit 3.2.4 fubnktionieren. da hatte 3.2.3 mit php 7.2 noch prpobleme
Benutzeravatar
Mahony
Ehemaliges Teammitglied
Beiträge: 12179
Registriert: 17.11.2005 22:33
Wohnort: Ostfildern Kemnat
Kontaktdaten:

Re: [3.2] php-Version das Problem ?

Beitrag von Mahony »

Hallo
yks hat geschrieben:las ich irgendwo, dass das Forum 3.2.x damit nicht zurecht kommt, aber 3.1.x. Ist das richtig ?
Nein, das ist nicht richtig.

phpBB3. 2.x läuft mit PHP 7.

PHPBB3. 1.x läuft NICHT mit PHP 7

Grüße: Mahony
Taekwondo in Berlin
Wer fragt, ist ein Narr für fünf Minuten, wer nicht fragt, ist ein Narr für immer.
Benutzeravatar
yks
Mitglied
Beiträge: 1295
Registriert: 10.07.2004 02:31

Re: [3.2] php-Version das Problem ?

Beitrag von yks »

Hallo Chris und Mahony,

Danke für die schnellen Antworten !

@ Chris
Die php-Info kam aus einer php-Datei direkt in den Roots, da ich mich nicht mehr im Forum einloggen konnte.

@ Mahony
OH ! Danke für die Korrektur !
Umso besser, obwohl ich bisher eh auch gerne mal eine älter Version in abgesicherter Umgebung weiter genutzt habe.

Danke und einen schönen Sonntag !
yks
Mit subsilver2 macht es noch viel mehr Spaß ! :)
Antworten

Zurück zu „Support-Forum“