Active Record requires a "db" CDbConnection application component.
Application Log | ||||
---|---|---|---|---|
Timestamp | Level | Category | Message | |
10:57:19.533669 | error | exception.CDbException | SQLSTATE[HY000] [1045] Access denied for user 'farberar_cp012'@'localhost' (using password: YES) |
|
10:57:19.533927 | 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(CommunityPlan)) #7 /home2/farberar/public_html/protected/models/CommunityPlan.php(29): CActiveRecord::model('CommunityPlan') #8 /home2/farberar/public_html/protected/controllers/CommunityPlanController.php(223): CommunityPlan::model() #9 /home2/farberar/public_html/protected/controllers/CommunityPlanController.php(59): CommunityPlanController->loadModel('181') #10 [internal function]: CommunityPlanController->actionView('181') #11 /home2/farberar/framework/web/actions/CInlineAction.php(47): ReflectionMethod->invokeArgs(Object(CommunityPlanController), 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('communityPlan/v...') #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/communityPlan/181?sort=squareFootage |