mysqli object is not fully initialized Topic is solved
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.
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.
-
- Joomla! Apprentice
- Posts: 36
- Joined: Thu Feb 23, 2023 3:37 pm
mysqli object is not fully initialized
version 4.1 and I was using my phone to upgrade the version but the installation didn't finish and it gave this error
Please what do I do now?
mysqli object is not fully initialized
Exceptions 2Stack Traces 2
Error
in /customers/4/f/b/aifl-institute.com/httpd.www/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php (line 388)
in /customers/4/f/b/aifl-institute.com/httpd.www/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php -> real_escape_string (line 388)
in /customers/4/f/b/aifl-institute.com/httpd.www/libraries/vendor/joomla/database/src/DatabaseDriver.php -> escape (line 1550)
DatabaseDriver->quote('template')in /customers/4/f/b/aifl-institute.com/httpd.www/administrator/components/com_templates/src/Model/StyleModel.php (line 713)
->select($db->quoteName(['s.template', 's.params', 's.inheritable', 's.parent'])) ->from($db->quoteName('#__template_styles', 's')) ->join( 'LEFT', $db->quoteName('#__extensions', 'e'), $db->quoteName('e.type') . ' = ' . $db->quote('template') . ' AND ' . $db->quoteName('e.element') . ' = ' . $db->quoteName('s.template') . ' AND ' . $db->quoteName('e.client_id') . ' = ' . $db->quoteName('s.client_id') ) ->where( [
StyleModel->getAdminTemplate(0)in /customers/4/f/b/aifl-institute.com/httpd.www/libraries/src/Application/AdministratorApplication.php (line 230)
AdministratorApplication->getTemplate(true)in /customers/4/f/b/aifl-institute.com/httpd.www/libraries/src/Error/Renderer/HtmlRenderer.php (line 50)
HtmlRenderer->render(object(ConnectionFailureException))in /customers/4/f/b/aifl-institute.com/httpd.www/libraries/src/Exception/ExceptionHandler.php (line 121)
ExceptionHandler::render(object(ConnectionFailureException))in /customers/4/f/b/aifl-institute.com/httpd.www/libraries/src/Exception/ExceptionHandler.php (line 72)
ExceptionHandler::handleException(object(ConnectionFailureException))in /customers/4/f/b/aifl-institute.com/httpd.www/libraries/src/Application/CMSApplication.php (line 323)
CMSApplication->execute()in /customers/4/f/b/aifl-institute.com/httpd.www/administrator/includes/app.php (line 61)
require_once('/customers/4/f/b/aifl-institute.com/httpd.www/administrator/includes/app.php')in /customers/4/f/b/aifl-institute.com/httpd.www/administrator/index.php (line 32)
Joomla\Database\Exception\ConnectionFailureException
Could not connect to database: Access denied for user 'aifl_institute_com'@'10.27.49.9' (using password: YES)
You do not have the required permissions to view the files attached to this post.
-
- I've been banned!
- Posts: 13639
- Joined: Sun Jul 05, 2009 3:30 am
- Location: Canberra, Australia
-
- Joomla! Explorer
- Posts: 285
- Joined: Tue Feb 17, 2015 10:25 am
Re: mysqli object is not fully initialized
I got exactly the same error with Joomla 4.3.3 on MAMP localhost
in configuration.php , you have to change the variable $host it fixes the problem
in configuration.php , you have to change the variable $host it fixes the problem
-
- Joomla! Fledgling
- Posts: 4
- Joined: Tue Sep 19, 2023 8:29 pm
Re: mysqli object is not fully initialized
Hi Erik, I've the same error.
Could you please inform what should I change the variable $host with?
Thank you very much
-
- Joomla! Explorer
- Posts: 285
- Joined: Tue Feb 17, 2015 10:25 am
Re: mysqli object is not fully initialized
public $host = 'localhost';
-
- Joomla! Fledgling
- Posts: 4
- Joined: Tue Sep 19, 2023 8:29 pm
- toivo
- Joomla! Master
- Posts: 16905
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: mysqli object is not fully initialized
@ForTheCinema34, it is not a good idea to post to other topics, which will confuse the issues and make understanding the circumstances more difficult. That is why the forum rules do not allow cross posting.
The Original Poster (OP) of this topic decided to restore the Joomla 3 version. The website is up and running and I have now marked also this topic as resolved.
The Original Poster (OP) of this topic decided to restore the Joomla 3 version. The website is up and running and I have now marked also this topic as resolved.
Toivo Talikka, Global Moderator