Hi There,
this is a weird issue (or maybe not to the experts). I use Joomla for years now, but I wanted to build up a new test site with joomla 5, so I created a folder NewSite and uploaded the files and started the installation. After that I uploaded my new template to it and all works. But now my main website is not working anymore. I edited the configuration.php, because my admin panel is unreachable as well and set debugging / error reporting to true.
I worked very well before this whole setup.
What I did see is that it has a problem with the connecting to the database and when I checked my database user was gone! I set up thedb user again and set the new password in the configuration.php, but still the same. So I suspect a weird issue with one of the plugins or something like that. I find it weird, because I did this procedure many times before and they are both using a different database...
These are the stacktracesAny help would be appriciated
With kind regards,
Cornelis
this is a weird issue (or maybe not to the experts). I use Joomla for years now, but I wanted to build up a new test site with joomla 5, so I created a folder NewSite and uploaded the files and started the installation. After that I uploaded my new template to it and all works. But now my main website is not working anymore. I edited the configuration.php, because my admin panel is unreachable as well and set debugging / error reporting to true.
I worked very well before this whole setup.
What I did see is that it has a problem with the connecting to the database and when I checked my database user was gone! I set up thedb user again and set the new password in the configuration.php, but still the same. So I suspect a weird issue with one of the plugins or something like that. I find it weird, because I did this procedure many times before and they are both using a different database...
These are the stacktraces
Code:
Error:mysqli object is not fully initialized at /home/vhosts/activetransport.nl/httpdocs/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:429 at mysqli->real_escape_string('template') (/home/vhosts/activetransport.nl/httpdocs/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:429) at Joomla\Database\Mysqli\MysqliDriver->escape('template') (/home/vhosts/activetransport.nl/httpdocs/libraries/vendor/joomla/database/src/DatabaseDriver.php:1550) at Joomla\Database\DatabaseDriver->quote('template') (/home/vhosts/activetransport.nl/httpdocs/administrator/components/com_templates/src/Model/StyleModel.php:715) at Joomla\Component\Templates\Administrator\Model\StyleModel->getAdminTemplate(0) (/home/vhosts/activetransport.nl/httpdocs/libraries/src/Application/AdministratorApplication.php:234) at Joomla\CMS\Application\AdministratorApplication->getTemplate(true) (/home/vhosts/activetransport.nl/httpdocs/libraries/src/Error/Renderer/HtmlRenderer.php:50) at Joomla\CMS\Error\Renderer\HtmlRenderer->render(object(mysqli_sql_exception)) (/home/vhosts/activetransport.nl/httpdocs/libraries/src/Exception/ExceptionHandler.php:126) at Joomla\CMS\Exception\ExceptionHandler::render(object(mysqli_sql_exception)) (/home/vhosts/activetransport.nl/httpdocs/libraries/src/Exception/ExceptionHandler.php:72) at Joomla\CMS\Exception\ExceptionHandler::handleException(object(mysqli_sql_exception)) (/home/vhosts/activetransport.nl/httpdocs/libraries/src/Application/CMSApplication.php:322) at Joomla\CMS\Application\CMSApplication->execute() (/home/vhosts/activetransport.nl/httpdocs/administrator/includes/app.php:61) at require_once('/home/vhosts/activetransport.nl/httpdocs/administrator/includes/app.php') (/home/vhosts/activetransport.nl/httpdocs/administrator/index.php:32)
Code:
mysqli_sql_exception:Access denied for user 'cornelvis'@'localhost' (using password: YES) at /home/vhosts/activetransport.nl/httpdocs/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:310 at mysqli->real_connect('localhost', 'cornelvis', 'y$Xx57f0mm7C', null, 3306, null, 0) (/home/vhosts/activetransport.nl/httpdocs/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:310) at Joomla\Database\Mysqli\MysqliDriver->connect() (/home/vhosts/activetransport.nl/httpdocs/libraries/vendor/joomla/session/src/Handler/DatabaseHandler.php:233) at Joomla\Session\Handler\DatabaseHandler->open('/tmp', 'b225357e48011c01f761bdb9dc5f74ea') at session_start() (/home/vhosts/activetransport.nl/httpdocs/libraries/vendor/joomla/session/src/Storage/NativeStorage.php:478) at Joomla\Session\Storage\NativeStorage->start() (/home/vhosts/activetransport.nl/httpdocs/libraries/src/Session/Storage/JoomlaStorage.php:295) at Joomla\CMS\Session\Storage\JoomlaStorage->start() (/home/vhosts/activetransport.nl/httpdocs/libraries/vendor/joomla/session/src/Session.php:406) at Joomla\Session\Session->start() (/home/vhosts/activetransport.nl/httpdocs/libraries/vendor/joomla/session/src/Session.php:333) at Joomla\Session\Session->has('registry') (/home/vhosts/activetransport.nl/httpdocs/libraries/src/Session/Session.php:194) at Joomla\CMS\Session\Session->get('registry') (/home/vhosts/activetransport.nl/httpdocs/libraries/src/Application/CMSApplication.php:662) at Joomla\CMS\Application\CMSApplication->getUserState('application.lang') (/home/vhosts/activetransport.nl/httpdocs/libraries/src/Application/AdministratorApplication.php:162) at Joomla\CMS\Application\AdministratorApplication->doExecute() (/home/vhosts/activetransport.nl/httpdocs/libraries/src/Application/CMSApplication.php:293) at Joomla\CMS\Application\CMSApplication->execute() (/home/vhosts/activetransport.nl/httpdocs/administrator/includes/app.php:61) at require_once('/home/vhosts/activetransport.nl/httpdocs/administrator/includes/app.php') (/home/vhosts/activetransport.nl/httpdocs/administrator/index.php:32)
With kind regards,
Cornelis
Statistics: Posted by cvanginkel — Wed May 15, 2024 6:11 pm