Advertisement

mysqli object is not fully initialized Topic is solved

Need help installing Joomla! 5.x? For all Joomla! 5.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
0xSeiya
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Tue Sep 10, 2024 8:08 pm

mysqli object is not fully initialized

Post by 0xSeiya » Tue Sep 10, 2024 8:39 pm

Hello,

I am experiencing an issue after installing WAMP and trying to use Joomla on the localhost. I use awardspace as a hosting service. I have started a website and downloaded all the files from awardspace and placed them in www folder within the WAMP folder.
localhost wamp.png
When clicking on the project I get
'mysqli object is not fully initialized'
  • Error
    in C:\wamp64\www\datagrab.onlinewebshop.net\libraries\vendor\joomla\database\src\Mysqli\MysqliStatement.php (line 138)

Code: Select all

        $this->connection   = $connection;        
        $this->query        = $query;        
        $query = $this->prepareParameterKeyMapping($query);        
        $this->statement  = $connection->prepare($query);        
        if (!$this->statement) {            throw new PrepareStatementFailureException($this->connection->error, $this->connection->errno);        }    }
        
and
  • mysqli_sql_exception
    php_network_getaddresses: getaddrinfo for *****.runhosting.com failed: No such host is known.

    in C:\wamp64\www\datagrab.onlinewebshop.net\libraries\vendor\joomla\database\src\Mysqli\MysqliDriver.php (line 285)

Code: Select all

               $this->options['ssl']['cipher']            );        }        
                // Attempt to connect to the server, use error suppression to silence warnings and allow us to throw an Exception separately.        
                $connected = @$this->connection->real_connect(            
                $this->options['host'],            
                $this->options['user'],            
                $this->options['password'],            null,            
                $this->options['port'],
                
I am not an expert in sql but seems like some connection error due to permission but no idea how to fix it.
I ll appreciate any help thank you
You do not have the required permissions to view the files attached to this post.

Advertisement
0xSeiya
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Tue Sep 10, 2024 8:08 pm

Re: mysqli object is not fully initialized

Post by 0xSeiya » Tue Sep 10, 2024 9:28 pm

Solved

User avatar
AMurray
Joomla! Master
Joomla! Master
Posts: 10188
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: mysqli object is not fully initialized

Post by AMurray » Tue Sep 10, 2024 10:11 pm

please post your solution for the benefit of everyone.

Moving a Joomla website from live hosting should have been simple if you had used Akeeba Backup and Kickstart.

Otherwise you need to export the database from live hosting (phpMyAdmin) and import into WAMP (also phpMyAdmin). That's the safest and easiest way.
I think also all you needed to do was turn on "Mysqli" extension in the WAMPServer applet options....?
Regards - A Murray
General Support Moderator

Advertisement

Post Reply

Return to “Installation Joomla! 5.x”