database - Call to undefined method Rights::getAuthorizer() -


getting error, fatal error: call undefined method rights::getauthorizer() in c:\wamp\www\project\protected\modules\rights\components\rwebuser.php on line 21

it because of mistake.the problem lies in writing of code, make sure must write code in config.main this

'import' => array(         'application.models.*',         'application.components.*',         'bootstrap.behaviors.*',         'bootstrap.helpers.*',         'bootstrap.widgets.*', //add code after above code , thats it, small stupid mistake may cost 3 days of hard debugging.         'application.modules.user.models.*',         'application.modules.user.components.*',         'application.modules.rights.*',         'application.modules.rights.components.*'        ), 

Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -