Hallo an alle! Ich habe zwei Foren, identisch auf Version 3.2.0! Nun muss ich PHP hochstellen auf 7.1! Wenn ich dies mache, geht ein Forum weiterhin normal und perfekt, das andere geht weg und folgende Fehlermeldung erscheint. Was könnte da das Problem sein? Vielen Dank an alle!
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.
[3.2] SQL ERROR. Komischer Fehler [gelöst]
Forumsregeln
Bitte im Thementitel den Präfix deiner phpBB-Version angeben
Bitte im Thementitel den Präfix deiner phpBB-Version angeben
[3.2] SQL ERROR. Komischer Fehler [gelöst]
Zuletzt geändert von Melmac am 06.10.2018 23:05, insgesamt 1-mal geändert.
Grund: Als gelöst gekennzeichnet
Grund: Als gelöst gekennzeichnet
Re: [3.2] SQL ERROR. Komischer Fehler
Hi,
config.php öffnen und MySQL auf MySQLi ändern.
Suche: (kann leicht abweichen)
Ersetze mit:
Dann sollte es gehen.
Grüße
PS: Ganze config.php sieht so aus:
config.php öffnen und MySQL auf MySQLi ändern.
Suche: (kann leicht abweichen)
Code: Alles auswählen
$dbms = 'phpbb\\db\\driver\\mysql';
Code: Alles auswählen
$dbms = 'phpbb\\db\\driver\\mysqli';
Grüße
PS: Ganze config.php sieht so aus:
Code: Alles auswählen
<?php
// phpBB 3.2.x auto-generated configuration file
// Do not change anything in this file!
$dbms = 'phpbb\\db\\driver\\mysqli';
$dbhost = '';
$dbport = '';
$dbname = 'databasename';
$dbuser = 'databaseuser';
$dbpasswd = 'blablubb';
$table_prefix = 'phpbb_';
$phpbb_adm_relative_path = 'adm/';
$acm_type = 'phpbb\\cache\\driver\\file';
@define('PHPBB_INSTALLED', true);
// @define('PHPBB_DISPLAY_LOAD_TIME', true);
@define('PHPBB_ENVIRONMENT', 'production');
// @define('DEBUG_CONTAINER', true);
Re: [3.2] SQL ERROR. Komischer Fehler
Vielen Dank hat super geklappt! Schönes Wochenende!
Re: [3.2] SQL ERROR. Komischer Fehler [gelöst]
Hi,
hatte das gleiche Problem und mein Board läuft auch wieder. Danke.
ich "schleppe" noch eine config von 3.0 mit mir rum...
Sollte ich dies
auch updaten, wennn ich folgendes lese:
Danke und Gruß
hatte das gleiche Problem und mein Board läuft auch wieder. Danke.
ich "schleppe" noch eine config von 3.0 mit mir rum...
Sollte ich dies
Code: Alles auswählen
@define('PHPBB_INSTALLED', true);
// @define('DEBUG', true);
// @define('DEBUG_EXTRA', true);
Außerdem bekomme ich auf der PHP-Info Seite im Admin Bereich etliche Warnungen oben:Crizzo hat geschrieben:Code: Alles auswählen
@define('PHPBB_INSTALLED', true); // @define('PHPBB_DISPLAY_LOAD_TIME', true); @define('PHPBB_ENVIRONMENT', 'production'); // @define('DEBUG_CONTAINER', true);
Ideen? Ist so mit PHP 7.2, zuvor bei PHP 5.6 nix..[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/template/context.php on line 204: count(): Parameter must be an array or an object that implements Countable
[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:3291)
[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:3291)
[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:3291)
Danke und Gruß