Error in PHP Script /index.php |
PHP Version: 5.6.25; Zend Engine Version: 2.6.0; Qcodo Version: 0.3.12 (Qcodo Beta 3) Application: Apache/2.4.23 (Amazon) OpenSSL/1.0.1k-fips PHP/5.6.25; Server Name: api.qcodo.com HTTP User Agent: CCBot/2.0 (https://commoncrawl.org/faq/) |
Line 48: $strUsername = QApplication::$ConnectionStringArray[$intDatabaseIndex]['username']; Line 49: $strPassword = QApplication::$ConnectionStringArray[$intDatabaseIndex]['password']; Line 50: $strPort = QApplication::$ConnectionStringArray[$intDatabaseIndex]['port']; Line 51: Line 52: // Connect to the Database Server Line 53: $this->objMySqli = new MySqli($strServer, $strUsername, $strPassword, $strName, $strPort); Line 54: Line 55: if (!$this->objMySqli) Line 56: throw new QMySqliDatabaseException("Unable to connect to Database", -1, null); Line 57: Line 58: if ($this->objMySqli->error)
#0 (): QcodoHandleError() #1 /var/www/api.qcodo.com/includes/qcodo/_core/database/QMySqliDatabase.class.php(53): mysqli->mysqli() #2 /var/www/api.qcodo.com/includes/qcodo/_core/framework/QApplicationBase.class.php(330): QMySqliDatabase->__construct() #3 /var/www/api.qcodo.com/includes/prepend.inc.php(113): QApplicationBase::InitializeDatabaseConnections() #4 /var/www/api.qcodo.com/www/index.php(6): require()