TDbException

Description

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

Source File

/web/htdocs/www.massimilianodellarovere.eu/home/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;

Stack Trace

#0 /web/htdocs/www.massimilianodellarovere.eu/home/prado/framework/Data/TDbConnection.php(153): TDbConnection->open()
#1 /web/htdocs/www.massimilianodellarovere.eu/home/prado/framework/TComponent.php(135): TDbConnection->setActive(true)
#2 /web/htdocs/www.massimilianodellarovere.eu/home/goblinsecretsanta/protected/layout/Layout.php(10): TComponent->__set('Active', true)
#3 /web/htdocs/www.massimilianodellarovere.eu/home/prado/framework/Web/UI/TControl.php(1313): Layout->onPreRender(NULL)
#4 /web/htdocs/www.massimilianodellarovere.eu/home/prado/framework/Web/UI/TControl.php(1319): TControl->preRenderRecursive()
#5 /web/htdocs/www.massimilianodellarovere.eu/home/prado/framework/Web/UI/TPage.php(220): TControl->preRenderRecursive()
#6 /web/htdocs/www.massimilianodellarovere.eu/home/prado/framework/Web/UI/TPage.php(198): TPage->processNormalRequest(Object(THtmlWriter))
#7 /web/htdocs/www.massimilianodellarovere.eu/home/prado/framework/Web/Services/TPageService.php(474): TPage->run(Object(THtmlWriter))
#8 /web/htdocs/www.massimilianodellarovere.eu/home/prado/framework/Web/Services/TPageService.php(420): TPageService->runPage(Object(Login), Array)
#9 /web/htdocs/www.massimilianodellarovere.eu/home/prado/framework/TApplication.php(1095): TPageService->run()
#10 /web/htdocs/www.massimilianodellarovere.eu/home/prado/framework/TApplication.php(382): TApplication->runService()
#11 /web/htdocs/www.massimilianodellarovere.eu/home/goblinsecretsanta/index.php(21): TApplication->run()
#12 {main}
2024-04-19 03:23 Apache PRADO/3.1.6