Closed nagarajpg closed 11 years ago
Do you have next part in main.php (config)?
....... 'components'=>array( 'user'=>array( 'class' => 'application.modules.user.components.YumWebUser', 'allowAutoLogin'=>true, 'loginUrl' => array('//user/user/login'), ), 'cache' => array('class' => 'system.caching.CDummyCache'),
If yes, on which place you see such message?
I have those same settings in their proper place within the main.php config file. When I launch the site I get the following my self
Property "YumWebUser.debug" is not defined.
/Users/justins/Projects/yii/framework/web/auth/CWebUser.php(154)
I with loads of debug info (I am working with a development environment).
'components'=>array(
'user'=>array(
// enable cookie-based authentication
'class' => 'application.modules.user.components.YumWebUser',
'allowAutoLogin'=>true,
'loginUrl' => array('//user/user/login'),
),
'cache' => array('class' => 'system.caching.CDummyCache'),
It was a config error, Now It is working fine. I mistakenly added
'class' => 'application.modules.user.components.YumWebUser',
in user array of module section. I removed it then it worked.
Thanks for the reply :)
Hi,
I am getting the error "YumWebUser.controllerMap" is not defined." How to solve this?