Error on localhost trying to install 4.0.0-alpha1
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()`
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.
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.
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
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.