Seite 1 von 1

[3.2] php-Version das Problem ?

Verfasst: 25.11.2018 14:20
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

Re: [3.2] php-Version das Problem ?

Verfasst: 25.11.2018 14:26
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

Re: [3.2] php-Version das Problem ?

Verfasst: 25.11.2018 14:29
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

Re: [3.2] php-Version das Problem ?

Verfasst: 25.11.2018 14:34
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