yii-user-management icon indicating copy to clipboard operation
yii-user-management copied to clipboard

install_tutorial.txt contains incorrect/missing information

Open bond- opened this issue 12 years ago • 0 comments

As per the documentation:

$ wget http://www.yiiframework.com/extension/yii-user-management/files/User_Management_Module_0.8.tar.bz2
$ tar xvf User_Management_Module_0.8.tar.bz2

4.) The Yii-user-management module contains submodules that you just extracted
into your application's modules/ directory. The installation script will provide

$ [youreditor] protected/config/main.php

Add these lines:

'modules' => array(
    'user' => array(
        'debug' => true,
    )
),

The debug option is needed for the installation and should be set to false 
after the installation. 

5.) Run the User Management Installer in your Web-Browser:

http://localhost/testdrive/index.php/user/install
or
http://localhost/testdrive/index.php?r=user/install

depending on your URL route setup. 

I have followed the above steps and I got: Alias "user.UserModule" is invalid. Make sure it points to an existing PHP file and the file is readable.

Stacktrace: protected/framework/YiiBase.php(318) Code: throw new CException(Yii::t('yii','Alias "{alias}" is invalid. Make sure it points to an existing PHP file and the file is readable.',array('{alias}'=>$alias)));

File used: http://www.yiiframework.com/extension/yii-user-management/files/yii-user-management_0.8rc6.tar.bz2

bond- avatar Oct 24 '12 18:10 bond-