Open GoogleCodeExporter opened 9 years ago
Could you provide some more information on what problem is causing this. For
this description I cannot really do much. Thanks for submitting the issue
though. :)
Original comment by Christof...@gmail.com
on 12 May 2011 at 1:57
It’s relatively easy to reproduce. Just set a language parameter in your main
Yii configuration file and you will get this error when accessing a page you
don’t have rights for.
return array(
'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
'name'=>'My Project',
'language' => 'de',
…
Original comment by r.bugaje...@googlemail.com
on 16 May 2011 at 2:46
Had the same problem and I came up with adding the RightsModule manually to the
import array into the main.php config file like this:
return array(
...
'language'=>'el',
// autoloading model and component classes
'import'=>array(
'application.models.*',
'application.components.*',
'application.modules.rights.RightsModule', // Add this line to include the RightsModule and to resolve this issue
'application.modules.rights.models.*',
'application.modules.rights.components.*',
),
...
Original comment by christos...@gmail.com
on 11 Dec 2011 at 1:01
I found this bug on latest versions of Yii and rights module (1.1.10,
1.3.0.r147)
Adding line 'application.modules.rights.RightsModule' fix that
Fix please
Original comment by fade...@gmail.com
on 24 Jul 2012 at 11:42
Original issue reported on code.google.com by
kolesnik...@gmail.com
on 11 May 2011 at 12:52