mysqli_sql_exception {#1049 #sqlstate: "HY000" }
); } // 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'], $this->options['socket'], ); } // 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'], $this->options['socket'], * * @since 1.0 */ public function getVersion() { $this->connect(); if ($this->mariadb) { // MariaDB: Strip off any leading '5.5.5-', if present return preg_replace('/^5\.5\.5-/', '', $this->connection->server_info); } $db = $this->getDatabase(); $this->info = [ 'php' => php_uname(), 'dbserver' => $db->getServerType(), 'dbversion' => $db->getVersion(), 'dbcollation' => $db->getCollation(), 'dbconnectioncollation' => $db->getConnectionCollation(), 'dbconnectionencryption' => $db->getConnectionEncryption(), 'dbconnencryptsupported' => $db->isConnectionEncryptionSupported(), 'phpversion' => PHP_VERSION, 'joomlaVersion' => JVERSION, 'requestId' => $this->requestId, 'identity' => $this->getIdentityInfo($application->getIdentity()), 'response' => $this->getResponseInfo($application->getResponse()), 'template' => $this->getTemplateInfo($application->getTemplate(true)), 'database' => $this->getDatabaseInfo($model->getInfo()), ]; } /** * Get Identity info. $request_variables ) ); foreach ($this->collectors as $name => $collector) { $this->data[$name] = $collector->collect(); } // Remove all invalid (non UTF-8) characters array_walk_recursive($this->data, function (&$item) { if (is_string($item) && !mb_check_encoding($item, 'UTF-8')) { * @return array */ public function getData() { if ($this->data === null) { $this->collect(); } return $this->data; } /** { $http = $this->initStackSession(); $data = null; if (!$this->isDataPersisted() || $this->stackAlwaysUseSessionStorage) { $data = $this->getData(); } elseif ($this->data === null) { $this->collect(); } $stack = $http->getSessionValue($this->stackSessionNamespace); $this->debugBar->addCollector(new LanguageErrorsCollector($this->params)); } // Only render for HTML output. if (!($this->getApplication()->getDocument() instanceof HtmlDocument)) { $this->debugBar->stackData(); return; } $debugBarRenderer = new JavascriptRenderer($this->debugBar, Uri::root(true) . '/media/vendor/debugbar/'); foreach ($this->listeners[$event->getName()] as $listener) { if ($event->isStopped()) { return $event; } $listener($event); } } return $event; } $dispatcher = $this->getDispatcher(); } catch (\UnexpectedValueException $exception) { return null; } return $dispatcher->dispatch($eventName, $event ?: new ApplicationEvent($eventName, $this)); } /** * Method to run the application routines. * $this->respond(); // Trigger the onAfterRespond event. $this->dispatchEvent( 'onAfterRespond', new AfterRespondEvent('onAfterRespond', ['subject' => $this]) ); } /** * Check if the user is required to reset their password.// Set the application as global app\Joomla\CMS\Factory::$application = $app;// Execute the application.$app->execute(); * define() is used rather than "const" to not error for PHP 5.2 and lower */define('_JEXEC', 1);// Run the application - All executable code should be triggered through this filerequire_once dirname(__FILE__) . '/includes/app.php';|
mysqli_sql_exception
|
|---|
mysqli_sql_exception:
User stcath5_admin3 already has more than 'max_user_connections' active connections
at /home/stcath5/public_html/m/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:286
at mysqli->real_connect('localhost', 'stcath5_admin3', '6M9ZsEbO-cathy456', null, 3306, null, 0)
(/home/stcath5/public_html/m/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:286)
at Joomla\Database\Mysqli\MysqliDriver->connect()
(/home/stcath5/public_html/m/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:647)
at Joomla\Database\Mysqli\MysqliDriver->getVersion()
(/home/stcath5/public_html/m/administrator/components/com_admin/src/Model/SysinfoModel.php:318)
at Joomla\Component\Admin\Administrator\Model\SysinfoModel->getInfo()
(/home/stcath5/public_html/m/plugins/system/debug/src/DataCollector/InfoCollector.php:136)
at Joomla\Plugin\System\Debug\DataCollector\InfoCollector->collect()
(/home/stcath5/public_html/m/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:238)
at DebugBar\DebugBar->collect()
(/home/stcath5/public_html/m/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:265)
at DebugBar\DebugBar->getData()
(/home/stcath5/public_html/m/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:340)
at DebugBar\DebugBar->stackData()
(/home/stcath5/public_html/m/plugins/system/debug/src/Extension/Debug.php:332)
at Joomla\Plugin\System\Debug\Extension\Debug->onAfterRespond(object(AfterRespondEvent))
(/home/stcath5/public_html/m/libraries/vendor/joomla/event/src/Dispatcher.php:454)
at Joomla\Event\Dispatcher->dispatch('onAfterRespond', object(AfterRespondEvent))
(/home/stcath5/public_html/m/libraries/vendor/joomla/application/src/AbstractApplication.php:99)
at Joomla\Application\AbstractApplication->dispatchEvent('onAfterRespond', object(AfterRespondEvent))
(/home/stcath5/public_html/m/libraries/src/Application/CMSApplication.php:351)
at Joomla\CMS\Application\CMSApplication->execute()
(/home/stcath5/public_html/m/includes/app.php:58)
at require_once('/home/stcath5/public_html/m/includes/app.php')
(/home/stcath5/public_html/m/index.php:32)
|