/var/www/lsurv.portaone.com/qqq/framework/db/ar/CActiveRecord.php(161)
149 * PHP setter magic method. 150 * This method is overridden so that AR attributes can be accessed like properties. 151 * @param string $name property name 152 * @param mixed $value property value 153 */ 154 public function __set($name,$value) 155 { 156 if($this->setAttribute($name,$value)===false) 157 { 158 if(isset($this->getMetaData()->relations[$name])) 159 $this->_related[$name]=$value; 160 else 161 parent::__set($name,$value); 162 } 163 } 164 165 /** 166 * Checks if a property value is null. 167 * This method overrides the parent implementation by checking 168 * if the named attribute is null or not. 169 * @param string $name the property name or the event name 170 * @return boolean whether the property value is null 171 */ 172 public function __isset($name) 173 {
#0 |
+
–
/var/www/lsurv.portaone.com/qqq/framework/db/ar/CActiveRecord.php(161): CComponent->__set("create_survey", 1) 156 if($this->setAttribute($name,$value)===false) 157 { 158 if(isset($this->getMetaData()->relations[$name])) 159 $this->_related[$name]=$value; 160 else 161 parent::__set($name,$value); 162 } 163 } 164 165 /** 166 * Checks if a property value is null. |
#1 |
+
–
/var/www/lsurv.portaone.com/qqq/application/core/plugins/Authwebserver/Authwebserver.php(92): CActiveRecord->__set("create_survey", 1) 87 $oUser->password=hash('sha256', createPassword()); 88 $oUser->full_name=$aUserProfile['full_name']; 89 $oUser->parent_id=1; 90 $oUser->lang=$aUserProfile['lang']; 91 $oUser->email=$aUserProfile['email']; 92 $oUser->create_survey=$aUserProfile['create_survey']; 93 $oUser->create_user=$aUserProfile['create_user']; 94 $oUser->delete_user=$aUserProfile['delete_user']; 95 $oUser->superadmin=$aUserProfile['superadmin']; 96 $oUser->configurator=$aUserProfile['configurator']; 97 $oUser->manage_template=$aUserProfile['manage_template']; |
#2 |
unknown(0): Authwebserver->newUserSession()
|
#3 |
+
–
/var/www/lsurv.portaone.com/qqq/application/libraries/PluginManager/PluginManager.php(171): call_user_func(array(Authwebserver, "newUserSession")) 166 { 167 if (!$event->isStopped() 168 && (empty($target) || in_array(get_class($subscription[0]), $target))) 169 { 170 $subscription[0]->setEvent($event); 171 call_user_func($subscription); 172 } 173 } 174 } 175 176 return $event; |
#4 |
+
–
/var/www/lsurv.portaone.com/qqq/application/core/LSUserIdentity.php(69): PluginManager->dispatchEvent(PluginEvent, array("Authwebserver")) 64 $result->setError(self::ERROR_UNKNOWN_HANDLER); 65 } else { 66 // Delegate actual authentication to plugin 67 $authEvent = new PluginEvent('newUserSession', $this); 68 $authEvent->set('identity', $this); 69 App()->getPluginManager()->dispatchEvent($authEvent, array($this->plugin)); 70 $pluginResult = $authEvent->get('result'); 71 if ($pluginResult instanceof LSAuthResult) { 72 $result = $pluginResult; 73 } else { 74 $result->setError(self::ERROR_UNKNOWN_IDENTITY); |
#5 |
+
–
/var/www/lsurv.portaone.com/qqq/application/controllers/admin/authentication.php(80): LSUserIdentity->authenticate() 75 $event->set('identity', $identity); 76 App()->getPluginManager()->dispatchEvent($event, array($authMethod)); 77 $identity = $event->get('identity'); 78 79 // Now authenticate 80 if ($identity->authenticate()) 81 { 82 FailedLoginAttempt::model()->deleteAttempts(); 83 App()->user->setState('plugin', $authMethod); 84 $this->getController()->_GetSessionUserRights(Yii::app()->session['loginID']); 85 Yii::app()->session['just_logged_in'] = true; |
#6 |
unknown(0): Authentication->index()
|
#7 |
+
–
/var/www/lsurv.portaone.com/qqq/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(Authentication, array()) 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#8 |
+
–
/var/www/lsurv.portaone.com/qqq/application/core/Survey_Common_Action.php(99): CAction->runWithParamsInternal(Authentication, ReflectionMethod, array("sa" => "login")) 094 $oMethod = new ReflectionMethod($this, $sDefault); 095 } 096 097 // We're all good to go, let's execute it 098 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 099 return parent::runWithParamsInternal($this, $oMethod, $params); 100 } 101 102 /** 103 * Some functions have different parameters, which are just an alias of the 104 * usual parameters we're getting in the url. This function just populates |
#9 |
+
–
/var/www/lsurv.portaone.com/qqq/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("sa" => "login")) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#10 |
+
–
/var/www/lsurv.portaone.com/qqq/framework/web/CController.php(286): CController->runAction(Authentication) 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#11 |
+
–
/var/www/lsurv.portaone.com/qqq/framework/web/CController.php(265): CController->runActionWithFilters(Authentication, array()) 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#12 |
+
–
/var/www/lsurv.portaone.com/qqq/application/controllers/AdminController.php(169): CController->run("authentication") 164 $this->redirect(array('/admin/authentication/sa/login')); 165 } 166 167 } 168 169 return parent::run($action); 170 } 171 172 /** 173 * Routes all the actions to their respective places 174 * |
#13 |
+
–
/var/www/lsurv.portaone.com/qqq/framework/web/CWebApplication.php(282): AdminController->run("authentication") 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#14 |
+
–
/var/www/lsurv.portaone.com/qqq/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/authentication/sa/login") 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#15 |
+
–
/var/www/lsurv.portaone.com/qqq/framework/base/CApplication.php(180): CWebApplication->processRequest() 175 public function run() 176 { 177 if($this->hasEventHandler('onBeginRequest')) 178 $this->onBeginRequest(new CEvent($this)); 179 register_shutdown_function(array($this,'end'),0,false); 180 $this->processRequest(); 181 if($this->hasEventHandler('onEndRequest')) 182 $this->onEndRequest(new CEvent($this)); 183 } 184 185 /** |
#16 |
+
–
/var/www/lsurv.portaone.com/qqq/index.php(190): CApplication->run() 185 die (sprintf('%s should be writable by the webserver (755 or 775).', $runtimePath)); 186 } 187 } 188 189 190 Yii::createApplication('LSYii_Application', $config)->run(); 191 192 /* End of file index.php */ 193 /* Location: ./index.php */ |