hi!
i create table user in my DB
i create model User that call table’s user
i try to install rights i change my config
when i go to
…index.php?r=rights
i have these error
Application web user must extend the RWebUser class.
Thanks!
hi!
i create table user in my DB
i create model User that call table’s user
i try to install rights i change my config
when i go to
…index.php?r=rights
i have these error
Application web user must extend the RWebUser class.
Thanks!
Hey,
To resolve this issue see the documentation on how to configure the application web user to use RWebUser.
I have problem too when i open rights ../localhost/belajaryii/index.php?r=rights got error like this :
CHttpException
You are not authorized to perform this action. (C:\xampp\htdocs\belajaryii\protected\modules\rights\components\RController.php:62)
#0 C:\xampp\htdocs\belajaryii\protected\modules\rights\components\RightsFilter.php(57): RController->accessDenied()
#1 C:\xampp\yii\framework\web\filters\CFilter.php(38): RightsFilter->preFilter(Object(CFilterChain))
#2 C:\xampp\htdocs\belajaryii\protected\modules\rights\components\RController.php(36): CFilter->filter(Object(CFilterChain))
#3 C:\xampp\yii\framework\web\filters\CInlineFilter.php(58): RController->filterRights(Object(CFilterChain))
#4 C:\xampp\yii\framework\web\filters\CFilterChain.php(130): CInlineFilter->filter(Object(CFilterChain))
#5 C:\xampp\yii\framework\web\CController.php(291): CFilterChain->run()
#6 C:\xampp\yii\framework\web\CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array)
#7 C:\xampp\yii\framework\web\CWebApplication.php(282): CController->run(‘error’)
#8 C:\xampp\yii\framework\base\CErrorHandler.php(331): CWebApplication->runController(‘site/error’)
#9 C:\xampp\yii\framework\base\CErrorHandler.php(204): CErrorHandler->render(‘error’, Array)
#10 C:\xampp\yii\framework\base\CErrorHandler.php(129): CErrorHandler->handleException(Object(CHttpException))
#11 C:\xampp\yii\framework\base\CApplication.php(732): CErrorHandler->handle(Object(CExceptionEvent))
#12 [internal function]: CApplication->handleException(Object(CHttpException))
#13 {main}
What should i do?
Thank…