TDbConnection failed to establish DB connection: SQLSTATE[HY000] [1045] Access denied for user 'lapaltenghi'@'localhost' (using password: YES)
/home/ntzgbims/public_html/lib/prado/framework/Data/TDbConnection.php (180)
0169: $this->_pdo=new PDO($this->getConnectionString(),$this->getUsername(),
0170: $this->getPassword(),$this->_attributes);
0171: // This attribute is only useful for PDO::MySql driver.
0172: // Ignore the warning if a driver doesn't understand this.
0173: @$this->_pdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, true);
0174: $this->_pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
0175: $this->_active=true;
0176: $this->setConnectionCharset();
0177: }
0178: catch(PDOException $e)
0179: {
0180: throw new TDbException('dbconnection_open_failed',$e->getMessage());
0181: }
0182: }
0183: }
0184:
0185: /**
0186: * Closes the currently active DB connection.
0187: * It does nothing if the connection is already closed.
0188: */
0189: protected function close()
0190: {
0191: $this->_pdo=null;
0192: $this->_active=false;
#0 /home/ntzgbims/public_html/lib/prado/framework/Data/TDbConnection.php(153): TDbConnection->open()
#1 /home/ntzgbims/public_html/lib/prado/framework/TComponent.php(135): TDbConnection->setActive(true)
#2 /home/ntzgbims/public_html/protected/common/activerecords/VideoRcrd.php(90): TComponent->__set('Active', true)
#3 /home/ntzgbims/public_html/protected/pages/elencoVideo.php(26): VideoRcrd::getVideoLimit(0, 6)
#4 /home/ntzgbims/public_html/protected/pages/elencoVideo.php(16): elencoVideo->dataBindVideo()
#5 /home/ntzgbims/public_html/lib/prado/framework/Web/UI/TControl.php(1286): elencoVideo->onload(NULL)
#6 /home/ntzgbims/public_html/lib/prado/framework/Web/UI/TPage.php(215): TControl->loadRecursive()
#7 /home/ntzgbims/public_html/lib/prado/framework/Web/UI/TPage.php(198): TPage->processNormalRequest(Object(THtmlWriter))
#8 /home/ntzgbims/public_html/lib/prado/framework/Web/Services/TPageService.php(474): TPage->run(Object(THtmlWriter))
#9 /home/ntzgbims/public_html/lib/prado/framework/Web/Services/TPageService.php(420): TPageService->runPage(Object(elencoVideo), Array)
#10 /home/ntzgbims/public_html/lib/prado/framework/TApplication.php(1095): TPageService->run()
#11 /home/ntzgbims/public_html/lib/prado/framework/TApplication.php(382): TApplication->runService()
#12 /home/ntzgbims/public_html/index.php(21): TApplication->run()
#13 {main}