quickinstall icon indicating copy to clipboard operation
quickinstall copied to clipboard

Error on localhost trying to install 4.0.0-alpha1

Open StokerBBC opened this issue 3 months ago • 4 comments

I have tried to install a couple of times, PHP 8.3.14 and 8.2.28 but get this error

`Something went wrong 🤔 SQL ERROR [ mysql_41 ]

[]

BACKTRACE

FILE: [ROOT]/sources/phpBB3_alt/phpBB4/phpbb/db/driver/driver.php LINE: 1094 CALL: trigger_error()

FILE: [ROOT]/includes/db/mysqli.php LINE: 56 CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/includes/qi_functions.php LINE: 522 CALL: dbal_mysqli_qi->sql_connect()

FILE: [ROOT]/modules/qi_create.php LINE: 233 CALL: db_connect()

FILE: [ROOT]/includes/qi_module.php LINE: 45 CALL: qi_create->run()

FILE: [ROOT]/index.php LINE: 256 CALL: qi_module->load()`

StokerBBC avatar Oct 28 '25 05:10 StokerBBC

Been working fine for me (php 8.3.14). Are you sure you're using the latest release of QuickInstall? Your error seems to have something to do with making a connection to your database. Check over your Database settings in QuickInstall.

iMattPro avatar Oct 28 '25 14:10 iMattPro

It looks like phpBB4 needs different DB info. I have it working with these setups (2 different profiles) phpBB3 DB info: Database server hostname: localhost

phpBB4 DB info: Database server hostname: 127.0.0.1 Database server port: 3306 Database username: root

With that setup for phpBB4 Alpha1 its working.

StokerBBC avatar Oct 28 '25 17:10 StokerBBC

That should not be necessary as far as phpBB or QI should be concerned. For what it's worth, I just put up some changes to add a Database Connection Test so you can test if Quick Install's connection settings are successful in connecting to your databases. #287

iMattPro avatar Oct 29 '25 00:10 iMattPro

Currently phpBB 4 installer requires relevant PDO extension (pdo_mysql etc) to be enabled in PHP settings. Otherwise it won't work. You might want to check if PDO is enabled for PHP version used.

rxu avatar Oct 29 '25 14:10 rxu