Comparing
#3 with
#4
Revision #4 was created by
junxiong on Jan 6, 2012, 2:00:45 AM.
add new problem cases
Content
[...]
- If you inherit CWebUser, make sure the class doesn't have a method named "getName()"
Troubleshoot
------------
**Problem**
Get
Need to change the table name for the sake of consistency
**Solutions**
Add the code to 'authManager' in the Yii configuration files:
```php
'authManager' => array(
'class' => 'RDbAuthManager',
'assignmentTable' => 'authassignment',
'itemTable' => 'authitem',
'itemChildTable' => 'authitemchild',
'rightsTable' => 'rights',
),
```
<hr/>
**Problem**
Got message:
Filter "rights" is invalid. Controller "XyzController" does not have the filter method "filterrights"."
**Solution**
You must extend the controller class from RController. The easiest way is change the code at /protected/components/Controller.php
```php
class Controller extends RController
```
<hr/>
**Problem**
Got message:
"Property "CWebApplication.rights" is not defined."
message.
**Solution**[...]
<hr/>
**Problem**
The Guest seems like not working
.
**Solution**[...]
```
<hr/>