indiantarget / yii-user-management

0 stars 0 forks source link

Does not work right after install #136

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Running user/install fails.

More exactly:

If I extract the files and the directory structure is

protected
   modules
     avatar
     friendship
     membership
     .... etc
then I get: 404. Unable to resolve the request "user/install".

If it is like:

protected
   modules
     user
       avatar
       friendship
       membership
       .... etc

Then I get the: Alias "application.modules.user.components.YumWebUser" is 
invalid. Make sure it points to an existing PHP file.

Stratos

Original issue reported on code.google.com by stratosgear on 21 Jun 2011 at 8:45

GoogleCodeExporter commented 9 years ago
Did you add this

'application.modules.user.models.*',

to your import setting in main.php ?

Original comment by nsen...@gmail.com on 30 Aug 2011 at 6:45

GoogleCodeExporter commented 9 years ago
Please follow the instructions in user/docs/install.txt.
You need to register the module in your config/main.php.

Original comment by thyseus on 31 Aug 2011 at 6:28

GoogleCodeExporter commented 9 years ago
I also met this problem ,and I confirm that i have follow the step in 
tutorial_install
,please help! 

Original comment by fuc...@gmail.com on 30 Jun 2013 at 2:43

GoogleCodeExporter commented 9 years ago
same. 
did everything as in the docs, but it gives the same errors (404 or YumWebUser 
is invalid...).

The install tutorial is incomplete, like what should be the correct foldername, 
what in main.php should be overwritten, etc.

Original comment by alex....@gmail.com on 14 Aug 2013 at 10:41

GoogleCodeExporter commented 9 years ago
Make sure you copy all the subfolders [avatar]...[usergroup] directly under 
/protected/modules/
You might get this error if there is a parent folder above the modules being 
copied.

Original comment by sure...@gmail.com on 31 Aug 2013 at 6:00