CDbException

Active Record requires a "db" CDbConnection application component.

Application Log
Timestamp Level Category Message
10:22:49.345622 error exception.CDbException
SQLSTATE[HY000] [1045] Access denied for user 'farberar_cp012'@'localhost'
(using password: YES)
10:22:49.346018 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(Inventory))
#7 /home2/farberar/public_html/protected/models/Inventory.php(39):
CActiveRecord::model('Inventory')
#8
/home2/farberar/public_html/protected/controllers/InventoryController.php(754):
Inventory::model()
#9
/home2/farberar/public_html/protected/controllers/InventoryController.php(59):
InventoryController->loadModel('29')
#10 [internal function]: InventoryController->actionView('29')
#11 /home2/farberar/framework/web/actions/CInlineAction.php(47):
ReflectionMethod->invokeArgs(Object(InventoryController), Array)
#12 /home2/farberar/framework/web/CController.php(300):
CInlineAction->run()
#13 /home2/farberar/framework/web/filters/CFilterChain.php(133):
CController->runAction(Object(CInlineAction))
#14 /home2/farberar/framework/web/filters/CFilter.php(41):
CFilterChain->run()
#15 /home2/farberar/framework/web/CController.php(1049):
CFilter->filter(Object(CFilterChain))
#16 /home2/farberar/framework/web/filters/CInlineFilter.php(59):
CController->filterAccessControl(Object(CFilterChain))
#17 /home2/farberar/framework/web/filters/CFilterChain.php(130):
CInlineFilter->filter(Object(CFilterChain))
#18 /home2/farberar/framework/web/CController.php(283): CFilterChain->run()
#19 /home2/farberar/framework/web/CController.php(257):
CController->runActionWithFilters(Object(CInlineAction), Array)
#20 /home2/farberar/framework/web/CWebApplication.php(324):
CController->run('view')
#21 /home2/farberar/framework/web/CWebApplication.php(121):
CWebApplication->runController('inventory/view')
#22 /home2/farberar/framework/base/CApplication.php(135):
CWebApplication->processRequest()
#23 /home2/farberar/public_html/index.php(13): CApplication->run()
#24 {main} REQUEST_URI=/index.php/inventory/29?sort=beds.desc