sarvan75 / yii-user-management

Automatically exported from code.google.com/p/yii-user-management
0 stars 0 forks source link

CWebUser does not have a method named "hasUsers". #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generate default webapp 
2. Follow all steps in 
http://code.google.com/p/yii-user-management/wiki/PageName
3.

What is the expected output? What do you see instead?
Stack trace:
#0 [internal function]: CComponent->__call('hasUsers', Array)
#1 /usr/local/zend/apache2/htdocs/YiiRoot/framework/base/CComponent.php(587) : 
eval()'d code(1): CWebUser->hasUsers()
#2 /usr/local/zend/apache2/htdocs/YiiRoot/framework/base/CComponent.php(587): 
eval()
#3 
/usr/local/zend/apache2/htdocs/YiiRoot/framework/web/auth/CAccessControlFilter.p
hp(337): CComponent->evaluateExpression('Yii::app()->use...', Array)
#4 
/usr/local/zend/apache2/htdocs/YiiRoot/framework/web/auth/CAccessControlFilter.p
hp(240): CAccessRule->isExpressionMatched(Object(CWebUser))
#5 
/usr/local/zend/apache2/htdocs/YiiRoot/framework/web/auth/CAccessControlFilter.p
hp(111): CAccessRule->isUserAllowed(Object(CWebUser), Object(UserController), 
Object(CInlineAction), '127.0.0.1', 'GET')
#6 
/usr/local/zend/apache2/htdocs/YiiRoot/framework/web/filters/CFilter.php(39): 
CAccessControlFilter->preFilter(Object(CFilterChain))
#7 /usr/local/zend/apache2/htdocs/YiiRoot/framework/web/CController.php(999): 
CFilter->filter(Object(CFilterChain))
#8 
/usr/local/zend/apache2/htdocs/YiiRoot/framework/web/filters/CInlineFilter.php(5
9): CController->filterAccessControl(Object(CFilterChain))
#9 
/usr/local/zend/apache2/htdocs/YiiRoot/framework/web/filters/CFilterChain.php(12
6): CInlineFilter->filter(Object(CFilterChain))
#10 /usr/local/zend/apache2/htdocs/YiiRoot/framework/web/CController.php(283): 
CFilterChain->run()
#11 /usr/local/zend/apache2/htdocs/YiiRoot/framework/web/CController.php(257): 
CController->runActionWithFilters(Object(CInlineAction), Array)
#12 
/usr/local/zend/apache2/htdocs/YiiRoot/framework/web/CWebApplication.php(320): 
CController->run('admin')
#13 
/usr/local/zend/apache2/htdocs/YiiRoot/framework/web/CWebApplication.php(120): 
CWebApplication->runController('user/user/admin')
#14 
/usr/local/zend/apache2/htdocs/YiiRoot/framework/base/CApplication.php(135): 
CWebApplication->processRequest()
#15 /usr/local/zend/apache2/htdocs/YiiRoot/MoBlox/index.php(12): 
CApplication->run()
#16 {main}

What version of the product are you using? On what operating system?
yii-user-Management-0.5
Apache/2.2.15 (Unix) PHP/5.3.2 mod_ssl/2.2.15 OpenSSL/0.9.8m Yii 
Framework/1.1.2.r2086

Please provide any additional information below.

Original issue reported on code.google.com by vynni...@gmail.com on 10 Jun 2010 at 3:26

GoogleCodeExporter commented 9 years ago
Kindly disregard, I wasn't able to notice the proper version documentation 
found in /user/docs/InstallTutorial.txt

Thanks.

Btw, great work. :)

Original comment by vynni...@gmail.com on 10 Jun 2010 at 3:32

GoogleCodeExporter commented 9 years ago

Original comment by thyseus on 11 Jun 2010 at 7:37