Error in PHP Script
/index.php
PHP Version: 5.6.25;  Zend Engine Version: 2.6.0;  Qcodo Version: 0.2.10 (Qcodo Beta 2)
Operating System: ;  Application: Apache/2.4.23 (Amazon) OpenSSL/1.0.1k-fips PHP/5.6.25;  Server Name: demo.qcodo.com
HTTP User Agent: CCBot/2.0 (http://commoncrawl.org/faq/)
mysqli::mysqli(): php_network_getaddresses: getaddrinfo failed: Name or service not known
Error Type:   E_WARNING

Source File:   /var/www/demo.qcodo.com/wwwroot/includes/qcodo/database_adapters/QMySqliDatabase.inc     Line:   81

Line 76:    			$strUsername = QApplication::$ConnectionStringArray[$intDatabaseIndex]['username'];
Line 77:    			$strPassword = QApplication::$ConnectionStringArray[$intDatabaseIndex]['password'];
Line 78:    			$strPort = QApplication::$ConnectionStringArray[$intDatabaseIndex]['port'];
Line 79:    
Line 80:    			// Connect to the Database Server
Line 81:    			$this->objMySqli = new MySqli($strServer, $strUsername, $strPassword, $strName, $strPort);
Line 82:    
Line 83:    			if (!$this->objMySqli)
Line 84:    				throw new QMySqliDatabaseException("Unable to connect to Database", -1, null);
Line 85:    			
Line 86:    			if ($this->objMySqli->error)

Call Stack:

#0 (): QcodoHandleError()
#1 /var/www/demo.qcodo.com/wwwroot/includes/qcodo/database_adapters/QMySqliDatabase.inc(81): mysqli->mysqli()
#2 /var/www/demo.qcodo.com/wwwroot/includes/qcodo/framework_objects/QApplicationBase.inc(382): QMySqliDatabase->__construct()
#3 /var/www/demo.qcodo.com/wwwroot/includes/prepend.inc(105): QApplicationBase::InitializeDatabaseConnections()
#4 /var/www/demo.qcodo.com/wwwroot/index.php(30): require_once()

Variable Dump:   Show/Hide



Error Report Generated:  Monday, April 24 2017, 2:10:40 AM