CDbException

Active Record requires a "db" CDbConnection application component.

Application Log
Timestamp Level Category Message
01:41:44.625430 error exception.CDbException
SQLSTATE[HY000] [1045] Access denied for user 'farberar_cp012'@'localhost'
(using password: YES)
01:41:44.625802 error exception.CDbException
CDbException: CDbConnection failed to open the DB connection. in
/home2/farberar/framework/db/CDbConnection.php:275
Stack trace:
#0 /home2/farberar/framework/db/CDbConnection.php(242):
CDbConnection->open()
#1 /home2/farberar/framework/db/CDbConnection.php(221):
CDbConnection->setActive(true)
#2 /home2/farberar/framework/base/CModule.php(363): CDbConnection->init()
#3 /home2/farberar/framework/base/CApplication.php(391):
CModule->getComponent('db')
#4 /home2/farberar/framework/db/ar/CActiveRecord.php(588):
CApplication->getDb()
#5 /home2/farberar/framework/db/ar/CActiveRecord.php(2158):
CActiveRecord->getDbConnection()
#6 /home2/farberar/framework/db/ar/CActiveRecord.php(353):
CActiveRecordMetaData->__construct(Object(Company))
#7 /home2/farberar/public_html/protected/models/Company.php(35):
CActiveRecord::model('Company')
#8 /home2/farberar/public_html/protected/components/Controller.php(90):
Company::model()
#9 /home2/farberar/public_html/protected/views/site/pages/about.php(5):
Controller->getCompanyInfo()
#10 /home2/farberar/framework/web/CBaseController.php(119):
require('/home2/farberar...')
#11 /home2/farberar/framework/web/CBaseController.php(88):
CBaseController->renderInternal('/home2/farberar...', NULL, true)
#12 /home2/farberar/framework/web/CController.php(798):
CBaseController->renderFile('/home2/farberar...', NULL, true)
#13 /home2/farberar/framework/web/CController.php(739):
CController->renderPartial('pages/about', NULL, true)
#14 /home2/farberar/framework/web/actions/CViewAction.php(138):
CController->render('pages/about')
#15 /home2/farberar/framework/web/CController.php(300): CViewAction->run()
#16 /home2/farberar/framework/web/CController.php(278):
CController->runAction(Object(CViewAction))
#17 /home2/farberar/framework/web/CController.php(257):
CController->runActionWithFilters(Object(CViewAction), Array)
#18 /home2/farberar/framework/web/CWebApplication.php(324):
CController->run('page')
#19 /home2/farberar/framework/web/CWebApplication.php(121):
CWebApplication->runController('site/page')
#20 /home2/farberar/framework/base/CApplication.php(135):
CWebApplication->processRequest()
#21 /home2/farberar/public_html/index.php(13): CApplication->run()
#22 {main} REQUEST_URI=/index.php/site/page?view=about