Installation Problem

I’ve installed a fresh copy of SRBAC, and I have the most recent version of Yii. I followed the guide directions, putting the srbac directory into the protected/modules directory, and adding the sections to the config/main.php.

I get a 404 error when trying to go to index.php?r=srbac. I’ve tried everything I can think of, but can’t get any further on this. This is the first module I’ve added to Yii, so I am probably doing something basic wrong. Since I get no error messages, other than 404, I don’t know how to debug this.

Any help would be appreciated.

Have you checked if it’s imported?

In case you’re not sure what is meant by ‘imported’, you need to add something like this to your /config/main.php


'import'=>array(

        'application.models.*',

        'application.components.*',

        'application.modules.*',

    ),

Yes, I have the import lines in there, and I know they’re working. If I change the path to something wrong I’ll get an error message.