View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 18662 | Bug reports | Other | public | 2023-02-28 18:56 | 2023-03-06 09:54 |
| Reporter | DenisChenu | Assigned To | DenisChenu | ||
| Priority | none | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 5.6.x | ||||
| Fixed in Version | 5.6.x | ||||
| Summary | 18662: Update DB from 491 break on home page | ||||
| Description | Upgrade to last version thrown error on home âg e(survey listing) | ||||
| Steps To Reproduce | Steps to reproduceget a DB older than 491, go to home page (survey listing) Expected resultSee survey list Actual result500 error | ||||
| Tags | No tags attached. | ||||
| Attached Files | CException.html (32,230 bytes)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>CException</title>
<style type="text/css">
/*<![CDATA[*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;}
body{line-height:1;}
ol,ul{list-style:none;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content:none;}
:focus{outline:0;}
ins{text-decoration:none;}
del{text-decoration:line-through;}
table{border-collapse:collapse;border-spacing:0;}
body {
font: normal 9pt "Verdana";
color: #000;
background: #fff;
}
h1 {
font: normal 18pt "Verdana";
color: #f00;
margin-bottom: .5em;
}
h2 {
font: normal 14pt "Verdana";
color: #800000;
margin-bottom: .5em;
}
h3 {
font: bold 11pt "Verdana";
}
pre {
font: normal 11pt Menlo, Consolas, "Lucida Console", Monospace;
}
pre span.error {
display: block;
background: #fce3e3;
}
pre span.ln {
color: #999;
padding-right: 0.5em;
border-right: 1px solid #ccc;
}
pre span.error-ln {
font-weight: bold;
}
.container {
margin: 1em 4em;
}
.version {
color: gray;
font-size: 8pt;
border-top: 1px solid #aaa;
padding-top: 1em;
margin-bottom: 1em;
}
.message {
color: #000;
padding: 1em;
font-size: 11pt;
background: #f3f3f3;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
margin-bottom: 1em;
line-height: 160%;
}
.source {
margin-bottom: 1em;
}
.code pre {
background-color: #ffe;
margin: 0.5em 0;
padding: 0.5em;
line-height: 125%;
border: 1px solid #eee;
}
.source .file {
margin-bottom: 1em;
font-weight: bold;
}
.traces {
margin: 2em 0;
}
.trace {
margin: 0.5em 0;
padding: 0.5em;
}
.trace.app {
border: 1px dashed #c00;
}
.trace .number {
text-align: right;
width: 2em;
padding: 0.5em;
}
.trace .content {
padding: 0.5em;
}
.trace .plus,
.trace .minus {
display:inline;
vertical-align:middle;
text-align:center;
border:1px solid #000;
color:#000;
font-size:10px;
line-height:10px;
margin:0;
padding:0 1px;
width:10px;
height:10px;
}
.trace.collapsed .minus,
.trace.expanded .plus,
.trace.collapsed pre {
display: none;
}
.trace-file {
cursor: pointer;
padding: 0.2em;
}
.trace-file:hover {
background: #f0ffff;
}
/*]]>*/
</style>
</head>
<body>
<div class="container">
<h1>CException</h1>
<p class="message">
Property "SurveyLanguageSetting.surveyls_alias" is not defined. </p>
<div class="source">
<p class="file">/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(145)</p>
<div class="code"><pre><span class="ln">133</span> */
<span class="ln">134</span> public function __get($name)
<span class="ln">135</span> {
<span class="ln">136</span> if(isset($this->_attributes[$name]))
<span class="ln">137</span> return $this->_attributes[$name];
<span class="ln">138</span> elseif(isset($this->getMetaData()->columns[$name]))
<span class="ln">139</span> return null;
<span class="ln">140</span> elseif(isset($this->_related[$name]))
<span class="ln">141</span> return $this->_related[$name];
<span class="ln">142</span> elseif(isset($this->getMetaData()->relations[$name]))
<span class="ln">143</span> return $this->getRelated($name);
<span class="ln">144</span> else
<span class="error"><span class="ln error-ln">145</span> return parent::__get($name);
</span><span class="ln">146</span> }
<span class="ln">147</span>
<span class="ln">148</span> /**
<span class="ln">149</span> * PHP setter magic method.
<span class="ln">150</span> * This method is overridden so that AR attributes can be accessed like properties.
<span class="ln">151</span> * @param string $name property name
<span class="ln">152</span> * @param mixed $value property value
<span class="ln">153</span> * @throws CException
<span class="ln">154</span> */
<span class="ln">155</span> public function __set($name,$value)
<span class="ln">156</span> {
<span class="ln">157</span> if($this->setAttribute($name,$value)===false)
</pre></div> </div>
<div class="traces">
<h2>Stack Trace</h2>
<table style="width:100%;">
<tbody><tr class="trace core collapsed">
<td class="number">
#0 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(145): <strong>CComponent</strong>-><strong>__get</strong>() </div>
<div class="code"><pre><span class="ln">140</span> elseif(isset($this->_related[$name]))
<span class="ln">141</span> return $this->_related[$name];
<span class="ln">142</span> elseif(isset($this->getMetaData()->relations[$name]))
<span class="ln">143</span> return $this->getRelated($name);
<span class="ln">144</span> else
<span class="error"><span class="ln error-ln">145</span> return parent::__get($name);
</span><span class="ln">146</span> }
<span class="ln">147</span>
<span class="ln">148</span> /**
<span class="ln">149</span> * PHP setter magic method.
<span class="ln">150</span> * This method is overridden so that AR attributes can be accessed like properties.
</pre></div> </td>
</tr>
<tr class="trace app expanded">
<td class="number">
#1 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/limesurvey.shnoulle.net/www/application/models/SurveyLanguageSetting.php(333): <strong>CActiveRecord</strong>-><strong>__get</strong>() </div>
<div class="code"><pre><span class="ln">328</span>
<span class="ln">329</span> protected function afterFind()
<span class="ln">330</span> {
<span class="ln">331</span> parent::afterFind();
<span class="ln">332</span> $this->oldSurveyId = $this->surveyls_survey_id;
<span class="error"><span class="ln error-ln">333</span> $this->oldAlias = $this->surveyls_alias;
</span><span class="ln">334</span> }
<span class="ln">335</span> }
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#2 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(1058): <strong>SurveyLanguageSetting</strong>-><strong>afterFind</strong>() </div>
<div class="code"><pre><span class="ln">1053</span> * Calls {@link afterFind}.
<span class="ln">1054</span> * This method is internally used.
<span class="ln">1055</span> */
<span class="ln">1056</span> public function afterFindInternal()
<span class="ln">1057</span> {
<span class="error"><span class="ln error-ln">1058</span> $this->afterFind();
</span><span class="ln">1059</span> }
<span class="ln">1060</span>
<span class="ln">1061</span> /**
<span class="ln">1062</span> * Inserts a row into the table based on this active record attributes.
<span class="ln">1063</span> * If the table's primary key is auto-incremental and is null before insertion,
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#3 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveFinder.php(776): <strong>CActiveRecord</strong>-><strong>afterFindInternal</strong>() </div>
<div class="code"><pre><span class="ln">771</span> * Calls {@link CActiveRecord::afterFind} of all the records.
<span class="ln">772</span> */
<span class="ln">773</span> public function afterFind()
<span class="ln">774</span> {
<span class="ln">775</span> foreach($this->records as $record)
<span class="error"><span class="ln error-ln">776</span> $record->afterFindInternal();
</span><span class="ln">777</span> foreach($this->children as $child)
<span class="ln">778</span> $child->afterFind();
<span class="ln">779</span>
<span class="ln">780</span> $this->children = null;
<span class="ln">781</span> }
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#4 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveFinder.php(778): <strong>CJoinElement</strong>-><strong>afterFind</strong>() </div>
<div class="code"><pre><span class="ln">773</span> public function afterFind()
<span class="ln">774</span> {
<span class="ln">775</span> foreach($this->records as $record)
<span class="ln">776</span> $record->afterFindInternal();
<span class="ln">777</span> foreach($this->children as $child)
<span class="error"><span class="ln error-ln">778</span> $child->afterFind();
</span><span class="ln">779</span>
<span class="ln">780</span> $this->children = null;
<span class="ln">781</span> }
<span class="ln">782</span>
<span class="ln">783</span> /**
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#5 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveFinder.php(69): <strong>CJoinElement</strong>-><strong>afterFind</strong>() </div>
<div class="code"><pre><span class="ln">64</span> $this->_joinTree->tableAlias=$criteria->alias;
<span class="ln">65</span> $this->_joinTree->rawTableAlias=$this->_builder->getSchema()->quoteTableName($criteria->alias);
<span class="ln">66</span> }
<span class="ln">67</span>
<span class="ln">68</span> $this->_joinTree->find($criteria);
<span class="error"><span class="ln error-ln">69</span> $this->_joinTree->afterFind();
</span><span class="ln">70</span>
<span class="ln">71</span> if($all)
<span class="ln">72</span> {
<span class="ln">73</span> $result = array_values($this->_joinTree->records);
<span class="ln">74</span> if ($criteria->index!==null)
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#6 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(1364): <strong>CActiveFinder</strong>-><strong>query</strong>() </div>
<div class="code"><pre><span class="ln">1359</span> return $all ? $this->populateRecords($command->queryAll(), true, $criteria->index) : $this->populateRecord($command->queryRow());
<span class="ln">1360</span> }
<span class="ln">1361</span> else
<span class="ln">1362</span> {
<span class="ln">1363</span> $finder=$this->getActiveFinder($criteria->with);
<span class="error"><span class="ln error-ln">1364</span> return $finder->query($criteria,$all);
</span><span class="ln">1365</span> }
<span class="ln">1366</span> }
<span class="ln">1367</span>
<span class="ln">1368</span> /**
<span class="ln">1369</span> * Applies the query scopes to the given criteria.
</pre></div> </td>
</tr>
<tr class="trace app expanded">
<td class="number">
#7 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/limesurvey.shnoulle.net/www/application/models/LSActiveRecord.php(77): <strong>CActiveRecord</strong>-><strong>query</strong>() </div>
<div class="code"><pre><span class="ln">72</span> * @since 1.1.7
<span class="ln">73</span> */
<span class="ln">74</span> protected function query($criteria, $all = false, $asAR = true)
<span class="ln">75</span> {
<span class="ln">76</span> if ($asAR === true) {
<span class="error"><span class="ln error-ln">77</span> return parent::query($criteria, $all);
</span><span class="ln">78</span> } else {
<span class="ln">79</span> $this->beforeFind();
<span class="ln">80</span> $this->applyScopes($criteria);
<span class="ln">81</span> if (!$all) {
<span class="ln">82</span> $criteria->limit = 1;
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#8 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(1478): <strong>LSActiveRecord</strong>-><strong>query</strong>() </div>
<div class="code"><pre><span class="ln">1473</span> */
<span class="ln">1474</span> public function findAll($condition='',$params=array())
<span class="ln">1475</span> {
<span class="ln">1476</span> Yii::trace(get_class($this).'.findAll()','system.db.ar.CActiveRecord');
<span class="ln">1477</span> $criteria=$this->getCommandBuilder()->createCriteria($condition,$params);
<span class="error"><span class="ln error-ln">1478</span> return $this->query($criteria,true);
</span><span class="ln">1479</span> }
<span class="ln">1480</span>
<span class="ln">1481</span> /**
<span class="ln">1482</span> * Finds a single active record with the specified primary key.
<span class="ln">1483</span> * See {@link find()} for detailed explanation about $condition and $params.
</pre></div> </td>
</tr>
<tr class="trace app expanded">
<td class="number">
#9 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/limesurvey.shnoulle.net/www/application/models/Survey.php(2304): <strong>CActiveRecord</strong>-><strong>findAll</strong>() </div>
<div class="code"><pre><span class="ln">2299</span> */
<span class="ln">2300</span> public function findAllPublic()
<span class="ln">2301</span> {
<span class="ln">2302</span> $oCriteria = new CDbCriteria();
<span class="ln">2303</span> $oCriteria->condition = "listpublic = 'Y' or listpublic = 'I'";
<span class="error"><span class="ln error-ln">2304</span> $aSurveys = $this->findAll($oCriteria);
</span><span class="ln">2305</span> $aSurveys = array_filter(
<span class="ln">2306</span> $aSurveys,
<span class="ln">2307</span> function ($s) {
<span class="ln">2308</span> return $s->isListPublic;
<span class="ln">2309</span> }
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#10 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/limesurvey.shnoulle.net/www/application/controllers/SurveysController.php(38): <strong>Survey</strong>-><strong>findAllPublic</strong>() </div>
<div class="code"><pre><span class="ln">33</span>
<span class="ln">34</span> $oTemplate = Template::model()->getInstance(getGlobalSetting('defaulttheme'));
<span class="ln">35</span> $this->sTemplate = $oTemplate->sTemplateName;
<span class="ln">36</span>
<span class="ln">37</span> $aData = array(
<span class="error"><span class="ln error-ln">38</span> 'publicSurveys' => Survey::model()->active()->open()->with('languagesettings')->findAllPublic(),
</span><span class="ln">39</span> 'futureSurveys' => Survey::model()->active()->registration()->with('languagesettings')->findAllPublic(),
<span class="ln">40</span> 'oTemplate' => $oTemplate,
<span class="ln">41</span> 'sSiteName' => Yii::app()->getConfig('sitename'),
<span class="ln">42</span> 'sSiteAdminName' => Yii::app()->getConfig("siteadminname"),
<span class="ln">43</span> 'sSiteAdminEmail' => Yii::app()->getConfig("siteadminemail"),
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#11 </td>
<td class="content">
<div class="trace-file">
unknown(0): <strong>SurveysController</strong>-><strong>actionPublicList</strong>() </div>
</td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#12 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/actions/CAction.php(115): <strong>ReflectionMethod</strong>-><strong>invokeArgs</strong>() </div>
<div class="code"><pre><span class="ln">110</span> elseif($param->isDefaultValueAvailable())
<span class="ln">111</span> $ps[]=$param->getDefaultValue();
<span class="ln">112</span> else
<span class="ln">113</span> return false;
<span class="ln">114</span> }
<span class="error"><span class="ln error-ln">115</span> $method->invokeArgs($object,$ps);
</span><span class="ln">116</span> return true;
<span class="ln">117</span> }
<span class="ln">118</span> }
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#13 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/actions/CInlineAction.php(47): <strong>CAction</strong>-><strong>runWithParamsInternal</strong>() </div>
<div class="code"><pre><span class="ln">42</span> {
<span class="ln">43</span> $methodName='action'.$this->getId();
<span class="ln">44</span> $controller=$this->getController();
<span class="ln">45</span> $method=new ReflectionMethod($controller, $methodName);
<span class="ln">46</span> if($method->getNumberOfParameters()>0)
<span class="error"><span class="ln error-ln">47</span> return $this->runWithParamsInternal($controller, $method, $params);
</span><span class="ln">48</span>
<span class="ln">49</span> $controller->$methodName();
<span class="ln">50</span> return true;
<span class="ln">51</span> }
<span class="ln">52</span> }
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#14 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CController.php(308): <strong>CInlineAction</strong>-><strong>runWithParams</strong>() </div>
<div class="code"><pre><span class="ln">303</span> {
<span class="ln">304</span> $priorAction=$this->_action;
<span class="ln">305</span> $this->_action=$action;
<span class="ln">306</span> if($this->beforeAction($action))
<span class="ln">307</span> {
<span class="error"><span class="ln error-ln">308</span> if($action->runWithParams($this->getActionParams())===false)
</span><span class="ln">309</span> $this->invalidActionParams($action);
<span class="ln">310</span> else
<span class="ln">311</span> $this->afterAction($action);
<span class="ln">312</span> }
<span class="ln">313</span> $this->_action=$priorAction;
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#15 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CController.php(286): <strong>CController</strong>-><strong>runAction</strong>() </div>
<div class="code"><pre><span class="ln">281</span> * @see runAction
<span class="ln">282</span> */
<span class="ln">283</span> public function runActionWithFilters($action,$filters)
<span class="ln">284</span> {
<span class="ln">285</span> if(empty($filters))
<span class="error"><span class="ln error-ln">286</span> $this->runAction($action);
</span><span class="ln">287</span> else
<span class="ln">288</span> {
<span class="ln">289</span> $priorAction=$this->_action;
<span class="ln">290</span> $this->_action=$action;
<span class="ln">291</span> CFilterChain::create($this,$action,$filters)->run();
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#16 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CController.php(265): <strong>CController</strong>-><strong>runActionWithFilters</strong>() </div>
<div class="code"><pre><span class="ln">260</span> {
<span class="ln">261</span> if(($parent=$this->getModule())===null)
<span class="ln">262</span> $parent=Yii::app();
<span class="ln">263</span> if($parent->beforeControllerAction($this,$action))
<span class="ln">264</span> {
<span class="error"><span class="ln error-ln">265</span> $this->runActionWithFilters($action,$this->filters());
</span><span class="ln">266</span> $parent->afterControllerAction($this,$action);
<span class="ln">267</span> }
<span class="ln">268</span> }
<span class="ln">269</span> else
<span class="ln">270</span> $this->missingAction($actionID);
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#17 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): <strong>CController</strong>-><strong>run</strong>() </div>
<div class="code"><pre><span class="ln">277</span> {
<span class="ln">278</span> list($controller,$actionID)=$ca;
<span class="ln">279</span> $oldController=$this->_controller;
<span class="ln">280</span> $this->_controller=$controller;
<span class="ln">281</span> $controller->init();
<span class="error"><span class="ln error-ln">282</span> $controller->run($actionID);
</span><span class="ln">283</span> $this->_controller=$oldController;
<span class="ln">284</span> }
<span class="ln">285</span> else
<span class="ln">286</span> throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".',
<span class="ln">287</span> array('{route}'=>$route===''?$this->defaultController:$route)));
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#18 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): <strong>CWebApplication</strong>-><strong>runController</strong>() </div>
<div class="code"><pre><span class="ln">136</span> foreach(array_splice($this->catchAllRequest,1) as $name=>$value)
<span class="ln">137</span> $_GET[$name]=$value;
<span class="ln">138</span> }
<span class="ln">139</span> else
<span class="ln">140</span> $route=$this->getUrlManager()->parseUrl($this->getRequest());
<span class="error"><span class="ln error-ln">141</span> $this->runController($route);
</span><span class="ln">142</span> }
<span class="ln">143</span>
<span class="ln">144</span> /**
<span class="ln">145</span> * Registers the core application components.
<span class="ln">146</span> * This method overrides the parent implementation by registering additional core components.
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#19 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/base/CApplication.php(185): <strong>CWebApplication</strong>-><strong>processRequest</strong>() </div>
<div class="code"><pre><span class="ln">180</span> public function run()
<span class="ln">181</span> {
<span class="ln">182</span> if($this->hasEventHandler('onBeginRequest'))
<span class="ln">183</span> $this->onBeginRequest(new CEvent($this));
<span class="ln">184</span> register_shutdown_function(array($this,'end'),0,false);
<span class="error"><span class="ln error-ln">185</span> $this->processRequest();
</span><span class="ln">186</span> if($this->hasEventHandler('onEndRequest'))
<span class="ln">187</span> $this->onEndRequest(new CEvent($this));
<span class="ln">188</span> }
<span class="ln">189</span>
<span class="ln">190</span> /**
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#20 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/home/limesurvey.shnoulle.net/www/index.php(192): <strong>CApplication</strong>-><strong>run</strong>() </div>
<div class="code"><pre><span class="ln">187</span> require_once APPPATH . 'core/LSYii_Application' . EXT;
<span class="ln">188</span>
<span class="ln">189</span> $config = require_once(APPPATH . 'config/internal' . EXT);
<span class="ln">190</span>
<span class="ln">191</span> Yii::$enableIncludePath = false;
<span class="error"><span class="ln error-ln">192</span> Yii::createApplication('LSYii_Application', $config)->run();
</span><span class="ln">193</span>
<span class="ln">194</span> /* End of file index.php */
<span class="ln">195</span> /* Location: ./index.php */
</pre></div> </td>
</tr>
</tbody></table>
</div>
<div class="version">
2023-02-28 18:46:10 nginx/1.18.0 <a href="https://www.yiiframework.com/">Yii Framework</a>/1.1.27 </div>
</div>
<script type="text/javascript">
/*<![CDATA[*/
var traceReg = new RegExp("(^|\\s)trace-file(\\s|$)");
var collapsedReg = new RegExp("(^|\\s)collapsed(\\s|$)");
var e = document.getElementsByTagName("div");
for(var j=0,len=e.length;j<len;j++){
if(traceReg.test(e[j].className)){
e[j].onclick = function(){
var trace = this.parentNode.parentNode;
if(collapsedReg.test(trace.className))
trace.className = trace.className.replace("collapsed", "expanded");
else
trace.className = trace.className.replace("expanded", "collapsed");
}
}
}
/*]]>*/
</script>
<table class="yiiLog" style="border-spacing:1px;font:11px Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;color:#666666;" width="100%" cellpadding="2">
<tbody><tr>
<th style="background:black;color:white;" colspan="5">
Application Log
</th>
</tr>
<tr style="background-color: #ccc;">
<th style="width:120px">Timestamp</th>
<th>Level</th>
<th>Category</th>
<th>Message</th>
</tr>
<tr style="background:#FFC0CB">
<td align="center">18:46:10.161813</td>
<td>error</td>
<td>exception.CException</td>
<td><pre>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=/
---</pre></td>
</tr></tbody></table>
<!-- end of log messages --><div id="grammalecte_menu_main_button_shadow_host" style="width: 0px; height: 0px;"></div></body><script src="CException_fichiers/api.js"></script></html>
<!-- start log messages --> | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 5.6.8 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | not relevant | ||||
| Database type & version | not relevant | ||||
| Server OS (if known) | not relevant | ||||
| Webserver software & version (if known) | not relevant | ||||
| PHP Version | not relevant | ||||
|
500 Internal Server Error.html (6,267 bytes)
<!DOCTYPE html>
<html dir="ltr" class="en dir-ltr no-js " lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/noto.css">
<link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/survey.css">
<link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/embeddables.min.css">
<link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/template-core.css">
<link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/awesome-bootstrap-checkbox.css">
<link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/yiistrap.min.css">
<link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/noTablesOnMobile.css">
<link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/ajaxify.css">
<link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/errors.css">
<link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/animate.css">
<link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/sea_green.css">
<link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/theme.css">
<link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/custom.css">
<script type="text/javascript">window.debugState = {frontend : (0 === 1), backend : (0 === 1)};</script><script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/jquery-3.6.1.min.js" class="headScriptTag"></script>
<script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/jquery-migrate-3.4.0.min.js" class="headScriptTag"></script>
<script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/moment-with-locales.min.js" class="headScriptTag"></script>
<script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/em_javascript.js" class="headScriptTag"></script>
<script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/lslog.js" class="headScriptTag"></script>
<script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/pjax.js" class="headScriptTag"></script>
<script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/survey.js" class="headScriptTag"></script>
<script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/template-core.js" class="headScriptTag"></script>
<script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/bootstrap.min.js" class="headScriptTag"></script>
<script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/bootstrapconfirm.min.js" class="headScriptTag"></script>
<script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/theme.js" class="headScriptTag"></script>
<script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/ajaxify.js" class="headScriptTag"></script>
<script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/custom.js" class="headScriptTag"></script>
<title>
500: Internal Server Error
</title>
<meta name="generator" content="LimeSurvey http://www.limesurvey.org">
<link rel="shortcut icon" href="https://limesurvey.shnoulle.net/tmp/assets/d40188d2/favicon.ico">
</head>
<body class="fruity vanilla lang-en " marginwidth="0" marginheight="0"><script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/decimal.js"></script>
<script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/decimalcustom.js"></script>
<script type="text/javascript" id="lemscripts">
/*<![CDATA[*/
var LEMmode='group';
var LEMgseq='';
ExprMgr_process_relevance_and_tailoring = function(evt_type,sgqa,type){
if (typeof LEM_initialized == 'undefined') {
LEM_initialized=true;
LEMsetTabIndexes();
}
if (evt_type == 'onchange' && (typeof last_sgqa !== 'undefined' && sgqa==last_sgqa) && (typeof last_evt_type !== 'undefined' && last_evt_type == 'TAB' && type != 'checkbox')) {
last_evt_type='onchange';
last_sgqa=sgqa;
return;
}
if (evt_type == 'updated' && (typeof last_sgqa !== 'undefined' && sgqa==last_sgqa)) {
last_evt_type='updated';
last_sgqa=sgqa;
return;
}
last_evt_type = evt_type;
last_sgqa=sgqa;
}
/*]]>*/
</script>
<article id="block_error">
<div>
<h1>500: Internal Server Error</h1>
<h2>Property "SurveyLanguageSetting.surveyls_alias" is not defined.</h2>
<p>
An internal error occurred while the Web server was processing your request.
</p>
<p>
Please contact Administrator to report this problem.
</p>
</div>
<div>
</div>
</article>
<script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/embeddables.min.js"></script>
<script type="text/javascript">
/*<![CDATA[*/
try{
triggerEmClassChange();
} catch(e) {
console.ls.warn('triggerEmClassChange could not be run. Is survey.js correctly loaded?');
}
triggerEmRelevance();
jQuery(document).off('pjax:scriptcomplete.mainBottom').on('ready pjax:scriptcomplete.mainBottom', function() {
updateMandatoryErrorClass();
});
/*]]>*/
</script>
<div id="grammalecte_menu_main_button_shadow_host" style="width: 0px; height: 0px;"></div></body><script src="500%20Internal%20Server%20Error_fichiers/api.js"></script></html> |
|
|
I have the issue, the micro fix fix the issue. Maybe we can merge ? |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=34352 |
|
|
Fixed in Release 5.6.9+230306 |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2023-02-28 18:56 | DenisChenu | New Issue | |
| 2023-02-28 18:56 | DenisChenu | File Added: CException.html | |
| 2023-02-28 18:57 | DenisChenu | Note Added: 73985 | |
| 2023-02-28 18:57 | DenisChenu | File Added: 500 Internal Server Error.html | |
| 2023-02-28 18:57 | DenisChenu | Bug heat | 0 => 2 |
| 2023-02-28 18:59 | DenisChenu | Assigned To | => DenisChenu |
| 2023-02-28 18:59 | DenisChenu | Status | new => assigned |
| 2023-02-28 19:02 | DenisChenu | Assigned To | DenisChenu => gabrieljenik |
| 2023-02-28 19:02 | DenisChenu | Status | assigned => ready for code review |
| 2023-02-28 19:02 | DenisChenu | Note Added: 73986 | |
| 2023-02-28 20:52 | gabrieljenik | Assigned To | gabrieljenik => DenisChenu |
| 2023-02-28 20:52 | gabrieljenik | Status | ready for code review => ready for testing |
| 2023-03-01 07:48 | DenisChenu | Assigned To | DenisChenu => ollehar |
| 2023-03-01 07:48 | DenisChenu | Status | ready for testing => in testing |
| 2023-03-01 07:48 | DenisChenu | Note Added: 73991 | |
| 2023-03-01 10:53 | DenisChenu | Changeset attached | => LimeSurvey master bdad69c7 |
| 2023-03-01 10:53 | DenisChenu | Note Added: 73993 | |
| 2023-03-01 10:53 | DenisChenu | Assigned To | ollehar => DenisChenu |
| 2023-03-01 10:53 | DenisChenu | Resolution | open => fixed |
| 2023-03-02 19:24 | DenisChenu | Status | in testing => resolved |
| 2023-03-02 19:24 | DenisChenu | Fixed in Version | => 5.6.x |
| 2023-03-06 09:54 | LimeBot | Note Added: 74034 | |
| 2023-03-06 09:54 | LimeBot | Status | resolved => closed |
| 2023-03-06 09:54 | LimeBot | Bug heat | 2 => 4 |