/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(145)
133 */ 134 public function __get($name) 135 { 136 if(isset($this->_attributes[$name])) 137 return $this->_attributes[$name]; 138 elseif(isset($this->getMetaData()->columns[$name])) 139 return null; 140 elseif(isset($this->_related[$name])) 141 return $this->_related[$name]; 142 elseif(isset($this->getMetaData()->relations[$name])) 143 return $this->getRelated($name); 144 else 145 return parent::__get($name); 146 } 147 148 /** 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 * @throws CException 154 */ 155 public function __set($name,$value) 156 { 157 if($this->setAttribute($name,$value)===false)
#0 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(145): CComponent->__get() 140 elseif(isset($this->_related[$name])) 141 return $this->_related[$name]; 142 elseif(isset($this->getMetaData()->relations[$name])) 143 return $this->getRelated($name); 144 else 145 return parent::__get($name); 146 } 147 148 /** 149 * PHP setter magic method. 150 * This method is overridden so that AR attributes can be accessed like properties. |
#1 |
+
–
/home/limesurvey.shnoulle.net/www/application/models/SurveyLanguageSetting.php(333): CActiveRecord->__get() 328 329 protected function afterFind() 330 { 331 parent::afterFind(); 332 $this->oldSurveyId = $this->surveyls_survey_id; 333 $this->oldAlias = $this->surveyls_alias; 334 } 335 } |
#2 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(1058): SurveyLanguageSetting->afterFind() 1053 * Calls {@link afterFind}. 1054 * This method is internally used. 1055 */ 1056 public function afterFindInternal() 1057 { 1058 $this->afterFind(); 1059 } 1060 1061 /** 1062 * Inserts a row into the table based on this active record attributes. 1063 * If the table's primary key is auto-incremental and is null before insertion, |
#3 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveFinder.php(776): CActiveRecord->afterFindInternal() 771 * Calls {@link CActiveRecord::afterFind} of all the records. 772 */ 773 public function afterFind() 774 { 775 foreach($this->records as $record) 776 $record->afterFindInternal(); 777 foreach($this->children as $child) 778 $child->afterFind(); 779 780 $this->children = null; 781 } |
#4 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveFinder.php(778): CJoinElement->afterFind() 773 public function afterFind() 774 { 775 foreach($this->records as $record) 776 $record->afterFindInternal(); 777 foreach($this->children as $child) 778 $child->afterFind(); 779 780 $this->children = null; 781 } 782 783 /** |
#5 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveFinder.php(69): CJoinElement->afterFind() 64 $this->_joinTree->tableAlias=$criteria->alias; 65 $this->_joinTree->rawTableAlias=$this->_builder->getSchema()->quoteTableName($criteria->alias); 66 } 67 68 $this->_joinTree->find($criteria); 69 $this->_joinTree->afterFind(); 70 71 if($all) 72 { 73 $result = array_values($this->_joinTree->records); 74 if ($criteria->index!==null) |
#6 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(1364): CActiveFinder->query() 1359 return $all ? $this->populateRecords($command->queryAll(), true, $criteria->index) : $this->populateRecord($command->queryRow()); 1360 } 1361 else 1362 { 1363 $finder=$this->getActiveFinder($criteria->with); 1364 return $finder->query($criteria,$all); 1365 } 1366 } 1367 1368 /** 1369 * Applies the query scopes to the given criteria. |
#7 |
+
–
/home/limesurvey.shnoulle.net/www/application/models/LSActiveRecord.php(77): CActiveRecord->query() 72 * @since 1.1.7 73 */ 74 protected function query($criteria, $all = false, $asAR = true) 75 { 76 if ($asAR === true) { 77 return parent::query($criteria, $all); 78 } else { 79 $this->beforeFind(); 80 $this->applyScopes($criteria); 81 if (!$all) { 82 $criteria->limit = 1; |
#8 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(1478): LSActiveRecord->query() 1473 */ 1474 public function findAll($condition='',$params=array()) 1475 { 1476 Yii::trace(get_class($this).'.findAll()','system.db.ar.CActiveRecord'); 1477 $criteria=$this->getCommandBuilder()->createCriteria($condition,$params); 1478 return $this->query($criteria,true); 1479 } 1480 1481 /** 1482 * Finds a single active record with the specified primary key. 1483 * See {@link find()} for detailed explanation about $condition and $params. |
#9 |
+
–
/home/limesurvey.shnoulle.net/www/application/models/Survey.php(2304): CActiveRecord->findAll() 2299 */ 2300 public function findAllPublic() 2301 { 2302 $oCriteria = new CDbCriteria(); 2303 $oCriteria->condition = "listpublic = 'Y' or listpublic = 'I'"; 2304 $aSurveys = $this->findAll($oCriteria); 2305 $aSurveys = array_filter( 2306 $aSurveys, 2307 function ($s) { 2308 return $s->isListPublic; 2309 } |
#10 |
+
–
/home/limesurvey.shnoulle.net/www/application/controllers/SurveysController.php(38): Survey->findAllPublic() 33 34 $oTemplate = Template::model()->getInstance(getGlobalSetting('defaulttheme')); 35 $this->sTemplate = $oTemplate->sTemplateName; 36 37 $aData = array( 38 'publicSurveys' => Survey::model()->active()->open()->with('languagesettings')->findAllPublic(), 39 'futureSurveys' => Survey::model()->active()->registration()->with('languagesettings')->findAllPublic(), 40 'oTemplate' => $oTemplate, 41 'sSiteName' => Yii::app()->getConfig('sitename'), 42 'sSiteAdminName' => Yii::app()->getConfig("siteadminname"), 43 'sSiteAdminEmail' => Yii::app()->getConfig("siteadminemail"), |
#11 |
unknown(0): SurveysController->actionPublicList()
|
#12 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/actions/CAction.php(115): ReflectionMethod->invokeArgs() 110 elseif($param->isDefaultValueAvailable()) 111 $ps[]=$param->getDefaultValue(); 112 else 113 return false; 114 } 115 $method->invokeArgs($object,$ps); 116 return true; 117 } 118 } |
#13 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal() 42 { 43 $methodName='action'.$this->getId(); 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 49 $controller->$methodName(); 50 return true; 51 } 52 } |
#14 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CController.php(308): CInlineAction->runWithParams() 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; |
#15 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CController.php(286): CController->runAction() 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(); |
#16 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters() 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); |
#17 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): CController->run() 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))); |
#18 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController() 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. |
#19 |
+
–
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/base/CApplication.php(185): CWebApplication->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
#20 |
+
–
/home/limesurvey.shnoulle.net/www/index.php(192): CApplication->run() 187 require_once APPPATH . 'core/LSYii_Application' . EXT; 188 189 $config = require_once(APPPATH . 'config/internal' . EXT); 190 191 Yii::$enableIncludePath = false; 192 Yii::createApplication('LSYii_Application', $config)->run(); 193 194 /* End of file index.php */ 195 /* Location: ./index.php */ |
Application Log | ||||
---|---|---|---|---|
Timestamp | Level | Category | Message | |
18:46:10.161813 | error | exception.CException | CException: Property "SurveyLanguageSetting.surveyls_alias" is not defined. in /home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/base/CComponent.php:130 Stack trace: #0 /home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(145): CComponent->__get() #1 /home/limesurvey.shnoulle.net/www/application/models/SurveyLanguageSetting.php(333): CActiveRecord->__get() #2 /home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(1058): SurveyLanguageSetting->afterFind() #3 /home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveFinder.php(776): CActiveRecord->afterFindInternal() #4 /home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveFinder.php(778): CJoinElement->afterFind() #5 /home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveFinder.php(69): CJoinElement->afterFind() #6 /home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(1364): CActiveFinder->query() #7 /home/limesurvey.shnoulle.net/www/application/models/LSActiveRecord.php(77): CActiveRecord->query() #8 /home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(1478): LSActiveRecord->query() #9 /home/limesurvey.shnoulle.net/www/application/models/Survey.php(2304): CActiveRecord->findAll() #10 /home/limesurvey.shnoulle.net/www/application/controllers/SurveysController.php(38): Survey->findAllPublic() #11 [internal function]: SurveysController->actionPublicList() #12 /home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/actions/CAction.php(115): ReflectionMethod->invokeArgs() #13 /home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal() #14 /home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CController.php(308): CInlineAction->runWithParams() #15 /home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CController.php(286): CController->runAction() #16 /home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters() #17 /home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): CController->run() #18 /home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController() #19 /home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/base/CApplication.php(185): CWebApplication->processRequest() #20 /home/limesurvey.shnoulle.net/www/index.php(192): CApplication->run() #21 {main} REQUEST_URI=/ --- |