What version of phpBB are you using? phpBB 3.2.0
What is your board's URL? No answer given
Who do you host your board with? self hosted
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Update from a previous version of phpBB3
Is registration required to reproduce this issue? No
Do you have any MODs installed? No
Do you have any extensions installed? No
What version of phpBB3 did you update from? phpBB 3.2.0
What styles do you currently have installed? None
What language(s) is your board currently using? en-gb
Which database type/version are you using? MariaDB
What is your level of experience? Comfortable with PHP and phpBB
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? updating board from 3.2 to 3.3
Please describe your problem. Built a new VM to modernize the system, ubuntu 22.04, latest php8 and mariadb available in packages. Moved database over to maria for phpbb3 and copied the web directory over to the new machine.
I followed the upgrade guide for 3.2 to 3.3 by removing the appropriate directories and copying mine over onto it and tried to run the database update from the CLI.
I'm getting a php fatal error when running the update.
Code: Select all
root@spider:/var/www/escape/phpBB3# php ./bin/phpbbcli.php db:migrate --safe-mode
PHP Fatal error: Uncaught Error: mysqli object is not fully initialized in /var/www/escape/phpBB3/phpbb/db/driver/mysqli.php:200
Stack trace:
#0 /var/www/escape/phpBB3/phpbb/db/driver/mysqli.php(200): mysqli_query()
#1 /var/www/escape/phpBB3/phpbb/db/driver/factory.php(345): phpbb\db\driver\mysqli->sql_query()
#2 /var/www/escape/phpBB3/phpbb/config/db.php(86): phpbb\db\driver\factory->sql_query()
#3 /var/www/escape/phpBB3/phpbb/config/db.php(55): phpbb\config\db->initialise()
#4 [internal function]: phpbb\config\db->__construct()
#5 /var/www/escape/phpBB3/vendor/symfony/dependency-injection/ContainerBuilder.php(1176): ReflectionClass->newInstanceArgs()
#6 /var/www/escape/phpBB3/vendor/symfony/dependency-injection/ContainerBuilder.php(634): Symfony\Component\DependencyInjection\ContainerBuilder->createService()
#7 /var/www/escape/phpBB3/vendor/symfony/dependency-injection/ContainerBuilder.php(1281): Symfony\Component\DependencyInjection\ContainerBuilder->doGet()
#8 /var/www/escape/phpBB3/vendor/symfony/dependency-injection/ContainerBuilder.php(1238): Symfony\Component\DependencyInjection\ContainerBuilder->doResolveServices()
#9 /var/www/escape/phpBB3/vendor/symfony/dependency-injection/ContainerBuilder.php(1149): Symfony\Component\DependencyInjection\ContainerBuilder->doResolveServices()
#10 /var/www/escape/phpBB3/vendor/symfony/dependency-injection/ContainerBuilder.php(634): Symfony\Component\DependencyInjection\ContainerBuilder->createService()
#11 /var/www/escape/phpBB3/vendor/symfony/dependency-injection/ContainerBuilder.php(588): Symfony\Component\DependencyInjection\ContainerBuilder->doGet()
#12 /var/www/escape/phpBB3/includes/compatibility_globals.php(45): Symfony\Component\DependencyInjection\ContainerBuilder->get()
#13 /var/www/escape/phpBB3/bin/phpbbcli.php(72): register_compatibility_globals()
#14 {main}
thrown in /var/www/escape/phpBB3/phpbb/db/driver/mysqli.php on line 200
Any help would be appreciated
Generated by SRT Generator