Error in PHP Script
/mobile-phone-deals-contract.php/HTC_Gold
PHP Version: 5.2.9-1;  Zend Engine Version: 2.2.0;  Qcubed Version: 1.0.0 RC2 (QCubed 1.0 RC2)
Application: Apache/2.2.18 (Win32) PHP/5.2.9-1;  Server Name: www.newmobilephone.me.uk
HTTP User Agent: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to MySQL server on 'localhost' (10061)
Error Type:   E_WARNING

Source File:   D:\mobiles\admin\qcodo\includes\qcodo\_core\database\QMySqlDatabase.class.php     Line:   23

Line 18:    
Line 19:    			if ($strPort)
Line 20:    				$strServer .= ':' . $strPort;
Line 21:    
Line 22:    			// Connect to the Database Server
Line 23:    			$this->objDb = mysql_connect($strServer, $strUsername, $strPassword, true);
Line 24:    			if (!$this->objDb)
Line 25:    				throw new QMySqliDatabaseException("Unable to connect to Database Server: $strServer", -1, null);
Line 26:    			if (mysql_errno($this->objDb))
Line 27:    				throw new QMySqliDatabaseException(mysql_error($this->objDb), mysql_errno($this->objDb), null);
Line 28:    

Call Stack:

#0 (): QcodoHandleError()
#1 D:\mobiles\admin\qcodo\includes\qcodo\_core\database\QMySqlDatabase.class.php(23): mysql_connect()
#2 D:\mobiles\admin\qcodo\includes\qcodo\_core\database\QMySqlDatabase.class.php(62): QMySqlDatabase->Connect()
#3 D:\mobiles\admin\qcodo\includes\data_classes\generated\SiteGen.class.php(412): QMySqlDatabase->Query()
#4 D:\mobiles\admin\qcodo\includes\data_classes\generated\SiteGen.class.php(1016): SiteGen::QuerySingle()
#5 D:\mobiles\sites\newmobilephone.me.uk\inc\functions.php(938): SiteGen::LoadByName()
#6 D:\mobiles\sites\newmobilephone.me.uk\Common.php(22): getArticles()
#7 D:\mobiles\sites\newmobilephone.me.uk\mobile-phone-deals-contract.php(52): Common->Form_Create()
#8 D:\mobiles\admin\qcodo\includes\qcodo\_core\qform\QFormBase.class.php(276): ContractDeals->Form_Create()
#9 D:\mobiles\sites\newmobilephone.me.uk\mobile-phone-deals-contract.php(458): QFormBase::Run()

Variable Dump:   Show/Hide



Error Report Generated:  Sunday, February 5 2012, 2:15:31 AM