获取此错误,Fatal error: Call to undefined method Rights::getAuthorizer() in C:\wamp\www\project\protected\modules\rights\components\RWebUser.php on line 21
发布于 2015-09-04 00:54:50
因为这个mistake.the问题存在于代码的编写中,所以请确保您必须使用config.main编写代码,如下所示
'import' => array(
'application.models.*',
'application.components.*',
'bootstrap.behaviors.*',
'bootstrap.helpers.*',
'bootstrap.widgets.*',
//add this code after the above code and thats it, a small stupid mistake may cost you 3 days of hard debugging.
'application.modules.user.models.*',
'application.modules.user.components.*',
'application.modules.rights.*',
'application.modules.rights.components.*'
),https://stackoverflow.com/questions/32306336
复制相似问题