> CException
>
> Property "CWebUser.email" is not defined.
>
> /var/www/yii/web/auth/CWebUser.php(140)
>
> 128 129 /** 130 * PHP magic method. 131 * This method
> is overriden so that persistent states can be accessed like
> properties. 132 * @param string $name property name 133 *
> @return mixed property value 134 */ 135 public function
> __get($name) 136 { 137 if($this->hasState($name)) 138 return $this->getState($name); 139 else 140 return
> parent::__get($name); 141 } 142 143 /** 144 * PHP magic
> method. 145 * This method is overriden so that persistent states
> can be set like properties. 146 * @param string $name property
> name 147 * @param mixed $value property value 148 */ 149
> public function __set($name,$value) 150 { 151
> if($this->hasState($name)) 152
> $this->setState($name,$value);
>
> Stack Trace
> #0
> + /var/www/yii/web/auth/CWebUser.php(140): CComponent->__get("email")
> #1 – /var/www/logintest/protected/controllers/AccessTestController.php(67):
> CWebUser->__get("email")
>
> 62 ), 63 ); 64 } 65 66 public function actionBla() { 67
> echo Yii::app()->user->email; 68 } 69 70 public function
> actions() 71 { 72 // return external action classes, e.g.:
>
> #2
> + /var/www/yii/web/actions/CInlineAction.php(49): AccessTestController->actionBla()
> #3
> + /var/www/yii/web/CController.php(308): CInlineAction->runWithParams(array("r" => "AccessTest/bla"))
> #4
> + /var/www/yii/web/filters/CFilterChain.php(133): CController->runAction(CInlineAction)
> #5
> + /var/www/yii/web/filters/CFilter.php(40): CFilterChain->run()
> #6
> + /var/www/yii/web/CController.php(1145): CFilter->filter(CFilterChain)
> #7
> + /var/www/yii/web/filters/CInlineFilter.php(58): CController->filterAccessControl(CFilterChain)
> #8
> + /var/www/yii/web/filters/CFilterChain.php(130): CInlineFilter->filter(CFilterChain)
> #9
> + /var/www/yii/web/CController.php(291): CFilterChain->run()
> #10
> + /var/www/yii/web/CController.php(265): CController->runActionWithFilters(CInlineAction,
> array("accessControl"))
> #11
> + /var/www/yii/web/CWebApplication.php(282): CController->run("bla")
> #12
> + /var/www/yii/web/CWebApplication.php(141): CWebApplication->runController("AccessTest/bla")
> #13
> + /var/www/yii/base/CApplication.php(169): CWebApplication->processRequest()
> #14 – /var/www/logintest/index.php(13): CApplication->run()
>
> 08 defined(‘YII_DEBUG’) or define(‘YII_DEBUG’,true); 09 // specify how
> many levels of call stack should be shown in each log message 10
> defined(‘YII_TRACE_LEVEL’) or define(‘YII_TRACE_LEVEL’,3); 11 12
> require_once($yii); 13 Yii::createWebApplication($config)->run();