Yii Framework Forum: Installation Problem - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Installation Problem Rate Topic: -----

#1 User is offline   queej 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 71
  • Joined: 04-February 10

Posted 01 March 2010 - 10:24 PM

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.
0

#2 User is offline   Maurizio Domba Cerin 

  • Yii - Yesss It Is !!!
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,349
  • Joined: 12-October 09
  • Location:Croatia

Posted 02 March 2010 - 02:57 AM

Have you checked if it's imported?
Find more about me.... btw. Do you know your WAN IP?
0

#3 User is offline   outrage 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 313
  • Joined: 10-November 09
  • Location:Blackpool, United Kingdom

Posted 02 March 2010 - 09:08 AM

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.*',
    ),

0

#4 User is offline   queej 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 71
  • Joined: 04-February 10

Posted 02 March 2010 - 09:09 AM

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.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users