Hi everybody!
I am new to Yii. Please help me in solving my problem.
I have successfully installed the Yii User Management Module on my localhost but when i try to register a new user and then submits the registration form i got the following exception.
CException
Description
Property "UserModule.disableEmailActivation" is not defined.
Source File
C:\wamp\www\yii\framework\base\CModule.php(88)
00076: /**
00077: * Getter magic method.
00078: * This method is overridden to support accessing application components
00079: * like reading module properties.
00080: * @param string $name application component or property name
00081: * @return mixed the named property value
00082: */
00083: public function __get($name)
00084: {
00085: if($this->hasComponent($name))
00086: return $this->getComponent($name);
00087: else
00088: return parent::__get($name);
00089: }
00090:
00091: /**
00092: * Checks if a property value is null.
00093: * This method overrides the parent implementation by checking
00094: * if the named application component is loaded.
00095: * @param string $name the property name or the event name
00096: * @return boolean whether the property value is null
00097: */
00098: public function __isset($name)
00099: {
00100: if($this->hasComponent($name))
Stack Trace
#0 C:\wamp\www\yii\framework\base\CModule.php(88): CComponent->__get(‘disableEmailAct…’)
#1 C:\wamp\www\testyii\protected\modules\user\UserModule.php(101): CModule->__get(‘disableEmailAct…’)
#2 C:\wamp\www\testyii\protected\modules\user\models\YumUser.php(120): UserModule->__get(‘disableEmailAct…’)
#3 C:\wamp\www\testyii\protected\modules\user\controllers\YumUserController.php(94): YumUser->register(‘keshavmunjal’, ‘123456’, ‘keshavmunjal@gm…’)
#4 C:\wamp\www\yii\framework\web\actions\CInlineAction.php(57): YumUserController->actionRegistration()
#5 C:\wamp\www\yii\framework\web\CController.php(300): CInlineAction->run()
#6 C:\wamp\www\yii\framework\web\filters\CFilterChain.php(133): CController->runAction(Object(CInlineAction))
#7 C:\wamp\www\yii\framework\web\filters\CFilter.php(41): CFilterChain->run()
#8 C:\wamp\www\yii\framework\web\CController.php(1084): CFilter->filter(Object(CFilterChain))
#9 C:\wamp\www\yii\framework\web\filters\CInlineFilter.php(59): CController->filterAccessControl(Object(CFilterChain))
#10 C:\wamp\www\yii\framework\web\filters\CFilterChain.php(130): CInlineFilter->filter(Object(CFilterChain))
#11 C:\wamp\www\yii\framework\web\CController.php(283): CFilterChain->run()
#12 C:\wamp\www\yii\framework\web\CController.php(257): CController->runActionWithFilters(Object(CInlineAction), Array)
#13 C:\wamp\www\yii\framework\web\CWebApplication.php(324): CController->run(‘registration’)
#14 C:\wamp\www\yii\framework\web\CWebApplication.php(121): CWebApplication->runController(‘user/user/regis…’)
#15 C:\wamp\www\yii\framework\base\CApplication.php(135): CWebApplication->processRequest()
#16 C:\wamp\www\testyii\index.php(13): CApplication->run()
#17 {main}
Please Help to solve this issue.