thyseus / yii-user-management

a user management module collection for the yii framework
186 stars 122 forks source link

stucked on this Please activate the registration submodule in your config/main.php.... #131

Closed nagarajpg closed 11 years ago

nagarajpg commented 11 years ago

Hi all,

I have installed YUM in my existing app. after following the instructions given in docs/registration.txt. I am getting Please activate the registration submodule in your config/main.php. See the installation instructions or registration/RegistrationModule.php for details error.

How to config the registration submodule in config/main.php?

Please help.

PrplHaz4 commented 11 years ago

sounds like you need to enable (and configure) the registration module in your config.php:

            'registration' => array(
                'enableActivationConfirmation' => false,
                'layout' => '//layouts/main',
                'loginAfterSuccessfulActivation' => true,
                'loginAfterSuccessfulRecovery' => true,
                'registrationUrl' => array('//registration/registration/registration'),
                'recoverPasswordView' => '//registration/registration/recovery',
                'changePasswordView' => '//user/user/changepassword',
                'registrationEmail' => 'register <register@website.com>',
                'recoveryEmail' => 'recover <recover@website.com>',
                'activationFailureView' => '//registration/registration/activation_failure',
            ),
nagarajpg commented 11 years ago

Thanks, It works now :+1:

php2013 commented 11 years ago

I configured the above settings in config/main.php

But still having issue. How to specify URL for

http://www.yiiframework.com/wiki/195/implementing-a-registration-process-using-the-yii-user-management-module/

tutorial to Register New User from Front End?