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
Post a Comment