Advertisement
fernandezekiel

Untitled

Oct 28th, 2012
368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.92 KB | None | 0 0
  1. CDbException
  2.  
  3. Active record "UserGroupsGroup" is trying to select an invalid column "branchname". Note, the column must exist in the table or be an expression with alias. (/home/ezekiel/www/yii/framework/db/ar/CActiveFinder.php:974)
  4.  
  5. #0 /home/ezekiel/www/yii/framework/db/ar/CActiveFinder.php(1269): CJoinElement->getColumnSelect('branchname')
  6. #1 /home/ezekiel/www/yii/framework/db/ar/CActiveFinder.php(740): CJoinQuery->__construct(Object(CJoinElement), Object(CDbCriteria))
  7. #2 /home/ezekiel/www/yii/framework/db/ar/CActiveFinder.php(155): CJoinElement->count(Object(CDbCriteria))
  8. #3 /home/ezekiel/www/yii/framework/db/ar/CActiveRecord.php(1540): CActiveFinder->count(Object(CDbCriteria))
  9. #4 /home/ezekiel/www/yii/framework/web/CActiveDataProvider.php(179): CActiveRecord->count(Object(CDbCriteria))
  10. #5 /home/ezekiel/www/yii/framework/web/CDataProvider.php(193): CActiveDataProvider->calculateTotalItemCount()
  11. #6 /home/ezekiel/www/yii/framework/web/CActiveDataProvider.php(129): CDataProvider->getTotalItemCount()
  12. #7 /home/ezekiel/www/yii/framework/web/CDataProvider.php(137): CActiveDataProvider->fetchData()
  13. #8 /home/ezekiel/www/yii/framework/zii/widgets/CBaseListView.php(105): CDataProvider->getData()
  14. #9 /home/ezekiel/www/yii/framework/zii/widgets/grid/CGridView.php(269): CBaseListView->init()
  15. #10 /home/ezekiel/www/yii/framework/web/CBaseController.php(148): CGridView->init()
  16. #11 /home/ezekiel/www/yii/framework/web/CBaseController.php(173): CBaseController->createWidget('zii.widgets.gri...', Array)
  17. #12 /home/ezekiel/www/turbo/protected/modules/userGroups/views/admin/groups.php(19): CBaseController->widget('zii.widgets.gri...', Array)
  18. #13 /home/ezekiel/www/yii/framework/web/CBaseController.php(127): require('/home/ezekiel/w...')
  19. #14 /home/ezekiel/www/yii/framework/web/CBaseController.php(96): CBaseController->renderInternal('/home/ezekiel/w...', Array, true)
  20. #15 /home/ezekiel/www/yii/framework/web/CController.php(870): CBaseController->renderFile('/home/ezekiel/w...', Array, true)
  21. #16 /home/ezekiel/www/turbo/protected/modules/userGroups/views/admin/index.php(26): CController->renderPartial('groups', Array)
  22. #17 /home/ezekiel/www/yii/framework/web/CBaseController.php(127): require('/home/ezekiel/w...')
  23. #18 /home/ezekiel/www/yii/framework/web/CBaseController.php(96): CBaseController->renderInternal('/home/ezekiel/w...', Array, true)
  24. #19 /home/ezekiel/www/yii/framework/web/CController.php(870): CBaseController->renderFile('/home/ezekiel/w...', Array, true)
  25. #20 /home/ezekiel/www/turbo/protected/modules/userGroups/controllers/AdminController.php(111): CController->renderPartial('index', Array, false, true)
  26. #21 /home/ezekiel/www/yii/framework/web/actions/CInlineAction.php(50): AdminController->actionIndex()
  27. #22 /home/ezekiel/www/yii/framework/web/CController.php(309): CInlineAction->runWithParams(Array)
  28. #23 /home/ezekiel/www/yii/framework/web/filters/CFilterChain.php(134): CController->runAction(Object(CInlineAction))
  29. #24 /home/ezekiel/www/yii/framework/web/filters/CFilter.php(41): CFilterChain->run()
  30. #25 /home/ezekiel/www/turbo/protected/components/Controller.php(43): CFilter->filter(Object(CFilterChain))
  31. #26 /home/ezekiel/www/yii/framework/web/filters/CInlineFilter.php(59): Controller->filterUserGroupsAccessControl(Object(CFilterChain))
  32. #27 /home/ezekiel/www/yii/framework/web/filters/CFilterChain.php(131): CInlineFilter->filter(Object(CFilterChain))
  33. #28 /home/ezekiel/www/yii/framework/web/CController.php(292): CFilterChain->run()
  34. #29 /home/ezekiel/www/yii/framework/web/CController.php(266): CController->runActionWithFilters(Object(CInlineAction), Array)
  35. #30 /home/ezekiel/www/yii/framework/web/CWebApplication.php(276): CController->run('')
  36. #31 /home/ezekiel/www/yii/framework/web/CWebApplication.php(135): CWebApplication->runController('userGroups/admi...')
  37. #32 /home/ezekiel/www/yii/framework/base/CApplication.php(162): CWebApplication->processRequest()
  38. #33 /home/ezekiel/www/turbo/index.php(13): CApplication->run()
  39. #34 {main}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement