Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1435

General Questions/New to Joomla! 5.x • mysqli object is not fully initialized

$
0
0
Hi!

So I did a backup of a perfectly working website on October 2nd by zipping all the files and doing an sql export through phpmyadmin (cpanel being behind it). The hosting company tried to 'fix' something else on that server on Tuesday 8th and the site is now giving a internal server error which turns into mysqli object is not fully initialized when enabling error reporting.

I tried to restore that same backup on a different (cpanel) server and am still getting that error.Here are the full details:

mysqli object is not fully initialized
Error
in /home/bjpplug/dyn.pplug.net/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php (line 138)
in /home/bjpplug/dyn.pplug.net/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php -> prepare (line 138)
in /home/bjpplug/dyn.pplug.net/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php -> __construct (line 1020)
in /home/bjpplug/dyn.pplug.net/libraries/vendor/joomla/database/src/DatabaseDriver.php -> prepareStatement (line 1785)
DatabaseDriver->setQuery() in /home/bjpplug/dyn.pplug.net/libraries/src/Menu/SiteMenu.php (line 166)

)
->bind(':currentDate2', $currentDate)
->order($this->db->quoteName('m.lft'));
$items = [];
$iterator = $this->db->setQuery($query)->getIterator();
foreach ($iterator as $item) {
$items[$item->id] = new MenuItem((array) $item);
}

SiteMenu->Joomla\CMS\Menu\{closure}() in /home/bjpplug/dyn.pplug.net/libraries/src/Cache/Controller/CallbackController.php (line 120)
CallbackController->get() in /home/bjpplug/dyn.pplug.net/libraries/src/Menu/SiteMenu.php (line 179)
SiteMenu->load() in /home/bjpplug/dyn.pplug.net/libraries/src/Menu/AbstractMenu.php (line 333)
AbstractMenu->getMenu() in /home/bjpplug/dyn.pplug.net/libraries/src/Menu/AbstractMenu.php (line 164)
AbstractMenu->getItem() in /home/bjpplug/dyn.pplug.net/libraries/src/Application/SiteApplication.php (line 434)
SiteApplication->getTemplate() in /home/bjpplug/dyn.pplug.net/libraries/src/Error/Renderer/HtmlRenderer.php (line 50)
HtmlRenderer->render() in /home/bjpplug/dyn.pplug.net/libraries/src/Exception/ExceptionHandler.php (line 136)
ExceptionHandler::render() in /home/bjpplug/dyn.pplug.net/libraries/src/Exception/ExceptionHandler.php (line 73)
ExceptionHandler::handleException() in /home/bjpplug/dyn.pplug.net/libraries/src/Application/CMSApplication.php (line 336)
CMSApplication->execute() in /home/bjpplug/dyn.pplug.net/includes/app.php (line 58)
require_once('/home/bjpplug/dyn.pplug.net/includes/app.php') in /home/bjpplug/dyn.pplug.net/index.php (line 32)

I tried to find solution and enable mysqli in my PHP extensions, same problem (the full error message could be different though).

What else could I do to recover this?

As a side note I moved a different Joomla! 5 website 2 days ago and zipping + mysqldump didn't work, I had to use Akeeba backup to move it as some old directory structure were still being called. I was a bit surprised. Not seeing that right now though.

Thank you.

Statistics: Posted by haitao — Thu Oct 10, 2024 9:29 am



Viewing all articles
Browse latest Browse all 1435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>