Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 2234

[3.3.x] Support Forum • Re: Fatal error: Uncaught Error: mysqli object is not fully initialized in mysqli.php

$
0
0
I have run into the same issue (PHP Fatal error: Uncaught Error: mysqli object is not fully initialized) although my mariadb has not crashed at all.
But it is a fresh setup on Debian 12,

The confusing thing for me is:
I was able to deactivate/activate extensions on phpbb via the phpbbcli and there were no errors.
But as soon as I run phpbbcli (as root) without parameters I see this output:

Code:

# php bin/phpbbcli.phpPHP Fatal error:  Uncaught Error: mysqli object is not fully initialized in /var/www/phpBB3/phpbb/db/driver/mysqli.php:200Stack trace:#0 /var/www/phpBB3/phpbb/db/driver/mysqli.php(200): mysqli_query()#1 /var/www/phpBB3/phpbb/db/driver/factory.php(353): phpbb\\db\\driver\\mysqli->sql_query()#2 /var/www/phpBB3/phpbb/config/db.php(86): phpbb\\db\\driver\\factory->sql_query()#3 /var/www/phpBB3/phpbb/config/db.php(55): phpbb\\config\\db->initialise()#4 [internal function]: phpbb\\config\\db->__construct()#5 /var/www/phpBB3/vendor/symfony/dependency-injection/ContainerBuilder.php(1176): ReflectionClass->newInstanceArgs()#6 /var/www/phpBB3/vendor/symfony/dependency-injection/ContainerBuilder.php(634): Symfony\\Component\\DependencyInjection\\ContainerBuilder->createService()#7 /var/www/phpBB3/vendor/symfony/dependency-injection/ContainerBuilder.php(1281): Symfony\\Component\\DependencyInjection\\ContainerBuilder->doGet()#8 /var/www/phpBB3/vendor/symfony/dependency-injection/ContainerBuilder.php(1238): Symfony\\Component\\DependencyInjection\\ContainerBuilder->doResolveServices()#9 /var/www/phpBB3/vendor/symfony/dependency-injection/ContainerBuilder.php(1149): Symfony\\Component\\DependencyInjection\\ContainerBuilder->doResolveServices()#10 /var/www/phpBB3/vendor/symfony/dependency-injection/ContainerBuilder.php(634): Symfony\\Component\\DependencyInjection\\ContainerBuilder->createService()#11 /var/www/phpBB3/vendor/symfony/dependency-injection/ContainerBuilder.php(588): Symfony\\Component\\DependencyInjection\\ContainerBuilder->doGet()#12 /var/www/phpBB3/phpbb/di/container_builder.php(450): Symfony\\Component\\DependencyInjection\\ContainerBuilder->get()#13 /var/www/phpBB3/phpbb/di/container_builder.php(162): phpbb\\di\\container_builder->load_extensions()#14 /var/www/phpBB3/bin/phpbbcli.php(68): phpbb\\di\\container_builder->get_container()#15 {main}  thrown in /var/www/phpBB3/phpbb/db/driver/mysqli.php on line 200
Although I experience this only with phpbb, the error seems not directly linked to it. Somehow I believe it is about my PHP installation. Something is missing or just not right.

But what can I check to find out? Is there some PHP code to isolate the problem? Or any way to increase logging that might point me towards the root cause?

Statistics: Posted by hiran — Sun Mar 31, 2024 12:53 am



Viewing all articles
Browse latest Browse all 2234

Trending Articles