Error in PHP Script
/index.php
PHP Version: 5.6.32-1+ubuntu16.04.1+deb.sury.org+2;  Zend Engine Version: 2.6.0;  Qcodo Version: 0.3.21 (Qcodo Beta 3)
Application: Apache/2.4.18 (Ubuntu);  Server Name: www.mforumkonsept.no
HTTP User Agent: CCBot/2.0 (http://commoncrawl.org/faq/)
mysqli::mysqli(): (08004/1040): Too many connections
Error Type:   E_WARNING

Source File:   /home/sites/siteman5/wwwroot/includes/qcodo/_core/database/QMySqliDatabase.class.php     Line:   51

Line 46:    			$strName = QApplication::$ConnectionStringArray[$intDatabaseIndex]['database'];
Line 47:    			$strUsername = QApplication::$ConnectionStringArray[$intDatabaseIndex]['username'];
Line 48:    			$strPassword = QApplication::$ConnectionStringArray[$intDatabaseIndex]['password'];
Line 49:    			$strPort = QApplication::$ConnectionStringArray[$intDatabaseIndex]['port'];
Line 50:    			// Connect to the Database Server
Line 51:    			$this->objMySqli = new MySqli($strServer, $strUsername, $strPassword, $strName, $strPort);
Line 52:    
Line 53:    			if (!$this->objMySqli)
Line 54:    				throw new QMySqliDatabaseException("Unable to connect to Database", -1, null);
Line 55:    			
Line 56:    			if ($this->objMySqli->error)

Call Stack:

#0 (): QcodoHandleError()
#1 /home/sites/siteman5/wwwroot/includes/qcodo/_core/database/QMySqliDatabase.class.php(51): mysqli->mysqli()
#2 /home/sites/siteman5/wwwroot/includes/qcodo/_core/framework/QApplicationBase.class.php(364): QMySqliDatabase->__construct()
#3 /home/sites/siteman5/wwwroot/includes/prepend.inc.php(372): QApplicationBase::InitializeDatabaseConnections()
#4 /home/sites/mforumfelles/_core/init_page.php(13): require_once()
#5 /home/sites/mforumkonsept.no/index.php(22): require_once()

Variable Dump:   Show/Hide



Error Report Generated:  Friday, January 19 2018, 12:47:45 PM