TDbException

Description

TDbConnection failed to establish DB connection: SQLSTATE[28000] [1045] Access denied for user 'user024014ici4'@'localhost' (using password: YES)

Source File

/var/www/www.cataici.it/public/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;

Stack Trace

#0 /var/www/www.cataici.it/public/framework/Data/TDbConnection.php(153): TDbConnection->open()
#1 /var/www/www.cataici.it/public/framework/TComponent.php(135): TDbConnection->setActive(true)
#2 /var/www/www.cataici.it/public/ici4web/app/protected/AppCode/Dao/UsersDao.php(27): TComponent->__set('Active', true)
#3 /var/www/www.cataici.it/public/ici4web/app/protected/AppCode/IeCPage.php(11): UsersDao->setNamesUtf8()
#4 /var/www/www.cataici.it/public/framework/Web/UI/TPage.php(199): IeCPage->onPreInit(NULL)
#5 /var/www/www.cataici.it/public/framework/Web/UI/TPage.php(193): TPage->processNormalRequest(Object(THtmlWriter))
#6 /var/www/www.cataici.it/public/framework/Web/Services/TPageService.php(474): TPage->run(Object(THtmlWriter))
#7 /var/www/www.cataici.it/public/framework/Web/Services/TPageService.php(420): TPageService->runPage(Object(Home), Array)
#8 /var/www/www.cataici.it/public/framework/TApplication.php(1095): TPageService->run()
#9 /var/www/www.cataici.it/public/framework/TApplication.php(382): TApplication->runService()
#10 /var/www/www.cataici.it/public/ici4web/app/web.breganze/index.php(25): TApplication->run()
#11 {main}
2010-02-09 01:47 Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g PRADO/3.1.4