View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 20689 | Bug reports | Import/Export | public | 2026-09-14 08:39 | 2026-09-14 11:58 |
| Reporter | DenisChenu | Assigned To | DenisChenu | ||
| Priority | none | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 7.0.x | ||||
| Summary | 20689: Unable to import this survey | ||||
| Description | When try to import this survey : get 500: Internal Server Error - Property "Survey.preselectnoanswer" is not defined. | ||||
| Steps To Reproduce | Steps to reproduceImport this survey Expected resultSurvey imported Actual resultError : 500: Internal Server Error - Property "Survey.preselectnoanswer" is not defined. | ||||
| Tags | No tags attached. | ||||
| Attached Files | CException.html (28,147 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" data-lt-installed="true"><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 "Survey.preselectnoanswer" is not defined. </p>
<div class="source">
<p class="file">/media/shnoulle/data/www/master/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>
/media/shnoulle/data/www/master/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 core collapsed">
<td class="number">
#1 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/media/shnoulle/data/www/master/vendor/yiisoft/yii/framework/validators/CRangeValidator.php(64): <strong>CActiveRecord</strong>-><strong>__get</strong>() </div>
<div class="code"><pre><span class="ln">59</span> * @param string $attribute the attribute being validated
<span class="ln">60</span> * @throws CException if given {@link range} is not an array
<span class="ln">61</span> */
<span class="ln">62</span> protected function validateAttribute($object,$attribute)
<span class="ln">63</span> {
<span class="error"><span class="ln error-ln">64</span> $value=$object->$attribute;
</span><span class="ln">65</span> if($this->allowEmpty && $this->isEmpty($value))
<span class="ln">66</span> return;
<span class="ln">67</span> if(!is_array($this->range))
<span class="ln">68</span> throw new CException(Yii::t('yii','The "range" property must be specified with a list of values.'));
<span class="ln">69</span> $result = false;
</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>
/media/shnoulle/data/www/master/vendor/yiisoft/yii/framework/validators/CValidator.php(201): <strong>CRangeValidator</strong>-><strong>validateAttribute</strong>() </div>
<div class="code"><pre><span class="ln">196</span> else
<span class="ln">197</span> $attributes=$this->attributes;
<span class="ln">198</span> foreach($attributes as $attribute)
<span class="ln">199</span> {
<span class="ln">200</span> if(!$this->skipOnError || !$object->hasErrors($attribute))
<span class="error"><span class="ln error-ln">201</span> $this->validateAttribute($object,$attribute);
</span><span class="ln">202</span> }
<span class="ln">203</span> }
<span class="ln">204</span>
<span class="ln">205</span> /**
<span class="ln">206</span> * Returns the JavaScript needed for performing client-side validation.
</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>
/media/shnoulle/data/www/master/vendor/yiisoft/yii/framework/base/CModel.php(159): <strong>CValidator</strong>-><strong>validate</strong>() </div>
<div class="code"><pre><span class="ln">154</span> if($clearErrors)
<span class="ln">155</span> $this->clearErrors();
<span class="ln">156</span> if($this->beforeValidate())
<span class="ln">157</span> {
<span class="ln">158</span> foreach($this->getValidators() as $validator)
<span class="error"><span class="ln error-ln">159</span> $validator->validate($this,$attributes);
</span><span class="ln">160</span> $this->afterValidate();
<span class="ln">161</span> return !$this->hasErrors();
<span class="ln">162</span> }
<span class="ln">163</span> else
<span class="ln">164</span> return false;
</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>
/media/shnoulle/data/www/master/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(810): <strong>CModel</strong>-><strong>validate</strong>() </div>
<div class="code"><pre><span class="ln">805</span> * meaning all attributes that are loaded from DB will be saved.
<span class="ln">806</span> * @return boolean whether the saving succeeds
<span class="ln">807</span> */
<span class="ln">808</span> public function save($runValidation=true,$attributes=null)
<span class="ln">809</span> {
<span class="error"><span class="ln error-ln">810</span> if(!$runValidation || $this->validate($attributes))
</span><span class="ln">811</span> return $this->getIsNewRecord() ? $this->insert($attributes) : $this->update($attributes);
<span class="ln">812</span> else
<span class="ln">813</span> return false;
<span class="ln">814</span> }
<span class="ln">815</span>
</pre></div> </td>
</tr>
<tr class="trace app expanded">
<td class="number">
#5 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/media/shnoulle/data/www/master/application/models/Survey.php(1037): <strong>CActiveRecord</strong>-><strong>save</strong>() </div>
<div class="code"><pre><span class="ln">1032</span> if ($attempts > 50) {
<span class="ln">1033</span> throw new Exception("Unable to get a valid survey ID after 50 attempts");
<span class="ln">1034</span> }
<span class="ln">1035</span> }
<span class="ln">1036</span>
<span class="error"><span class="ln error-ln">1037</span> if (!$survey->save()) {
</span><span class="ln">1038</span> $survey->sid = null;
<span class="ln">1039</span> }
<span class="ln">1040</span> return $survey;
<span class="ln">1041</span> }
<span class="ln">1042</span>
</pre></div> </td>
</tr>
<tr class="trace app expanded">
<td class="number">
#6 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/media/shnoulle/data/www/master/application/helpers/admin/import_helper.php(2320): <strong>Survey</strong>-><strong>insertNewSurvey</strong>() </div>
<div class="code"><pre><span class="ln">2315</span> $insertdata = array_intersect_key($insertdata, $aSurveyModelsColumns);
<span class="ln">2316</span> // Fill a optional array of error
<span class="ln">2317</span> foreach ($aBadData as $key => $value) {
<span class="ln">2318</span> $results['importwarnings'][] = sprintf(gT("This survey setting has not been imported: %s => %s"), $key, $value);
<span class="ln">2319</span> }
<span class="error"><span class="ln error-ln">2320</span> $newSurvey = Survey::model()->insertNewSurvey($insertdata);
</span><span class="ln">2321</span> if ($newSurvey->sid) {
<span class="ln">2322</span> $iNewSID = $results['newsid'] = $newSurvey->sid;
<span class="ln">2323</span> $results['surveys']++;
<span class="ln">2324</span> if (!empty($iDesiredSurveyId) && $iNewSID != $iDesiredSurveyId) {
<span class="ln">2325</span> $results['importwarnings'][] = gT("The desired survey ID was already in use, therefore a random one was assigned.");
</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>
/media/shnoulle/data/www/master/application/helpers/admin/import_helper.php(1436): <strong>XMLImportSurvey</strong>() </div>
<div class="code"><pre><span class="ln">1431</span> }
<span class="ln">1432</span> // Step 1 - import the LSS file and activate the survey
<span class="ln">1433</span> foreach ($files as $filename) {
<span class="ln">1434</span> if (pathinfo((string) $filename, PATHINFO_EXTENSION) == 'lss') {
<span class="ln">1435</span> //Import the LSS file
<span class="error"><span class="ln error-ln">1436</span> $aImportResults = XMLImportSurvey(Yii::app()->getConfig('tempdir') . DIRECTORY_SEPARATOR . $filename, null, $sNewSurveyName, null, true, false, $targetSurveyGroup);
</span><span class="ln">1437</span> if ($aImportResults && $aImportResults['newsid']) {
<span class="ln">1438</span> $SurveyIntegrity = new LimeSurvey\Models\Services\SurveyIntegrity(Survey::model()->findByPk($aImportResults['newsid']));
<span class="ln">1439</span> $SurveyIntegrity->fixSurveyIntegrity();
<span class="ln">1440</span> }
<span class="ln">1441</span> // Activate the survey
</pre></div> </td>
</tr>
<tr class="trace app collapsed">
<td class="number">
#8 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/media/shnoulle/data/www/master/application/controllers/SurveyAdministrationController.php(2520): <strong>importSurveyFile</strong>() </div>
<div class="code"><pre><span class="ln">2515</span> if (!$aData['bFailed']) {
<span class="ln">2516</span> $targetSurveysGroup = App()->request->getPost('surveysgroup');
<span class="ln">2517</span> if (!in_array($targetSurveysGroup, ['default', 'from_survey'], true)) {
<span class="ln">2518</span> $targetSurveysGroup = 'default';
<span class="ln">2519</span> }
<span class="error"><span class="ln error-ln">2520</span> $aImportResults = importSurveyFile($sFullFilepath, (App()->request->getPost('translinksfields') == '1'), null, null, null, $targetSurveysGroup);
</span><span class="ln">2521</span> if (is_null($aImportResults)) {
<span class="ln">2522</span> $aImportResults = array(
<span class="ln">2523</span> 'error' => gT("Unknown error while reading the file, no survey created.")
<span class="ln">2524</span> );
<span class="ln">2525</span> }
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#9 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/media/shnoulle/data/www/master/vendor/yiisoft/yii/framework/web/actions/CInlineAction.php(49): <strong>SurveyAdministrationController</strong>-><strong>actionImport</strong>() </div>
<div class="code"><pre><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="ln">47</span> return $this->runWithParamsInternal($controller, $method, $params);
<span class="ln">48</span>
<span class="error"><span class="ln error-ln">49</span> $controller->$methodName();
</span><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">
#10 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/media/shnoulle/data/www/master/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">
#11 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/media/shnoulle/data/www/master/vendor/yiisoft/yii/framework/web/filters/CFilterChain.php(134): <strong>CController</strong>-><strong>runAction</strong>() </div>
<div class="code"><pre><span class="ln">129</span> $filter=$this->itemAt($this->filterIndex++);
<span class="ln">130</span> Yii::trace('Running filter '.($filter instanceof CInlineFilter ? get_class($this->controller).'.filter'.$filter->name.'()':get_class($filter).'.filter()'),'system.web.filters.CFilterChain');
<span class="ln">131</span> $filter->filter($this);
<span class="ln">132</span> }
<span class="ln">133</span> else
<span class="error"><span class="ln error-ln">134</span> $this->controller->runAction($this->action);
</span><span class="ln">135</span> }
<span class="ln">136</span> }</pre></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>
/media/shnoulle/data/www/master/vendor/yiisoft/yii/framework/web/CController.php(291): <strong>CFilterChain</strong>-><strong>run</strong>() </div>
<div class="code"><pre><span class="ln">286</span> $this->runAction($action);
<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="error"><span class="ln error-ln">291</span> CFilterChain::create($this,$action,$filters)->run();
</span><span class="ln">292</span> $this->_action=$priorAction;
<span class="ln">293</span> }
<span class="ln">294</span> }
<span class="ln">295</span>
<span class="ln">296</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>
/media/shnoulle/data/www/master/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 app collapsed">
<td class="number">
#14 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/media/shnoulle/data/www/master/application/controllers/LSBaseController.php(144): <strong>CController</strong>-><strong>run</strong>() </div>
<div class="code"><pre><span class="ln">139</span> $this->redirect(array('/admin/authentication/sa/login'));
<span class="ln">140</span> }
<span class="ln">141</span> }
<span class="ln">142</span> }
<span class="ln">143</span>
<span class="error"><span class="ln error-ln">144</span> parent::run($action);
</span><span class="ln">145</span> }
<span class="ln">146</span>
<span class="ln">147</span> /**
<span class="ln">148</span> * Load and set session vars
<span class="ln">149</span> *
</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>
/media/shnoulle/data/www/master/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): <strong>LSBaseController</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">
#16 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/media/shnoulle/data/www/master/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">
#17 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/media/shnoulle/data/www/master/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">
#18 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
/media/shnoulle/data/www/master/index.php(161): <strong>CApplication</strong>-><strong>run</strong>() </div>
<div class="code"><pre><span class="ln">156</span> require_once APPPATH . 'core/LSYii_Application' . EXT;
<span class="ln">157</span>
<span class="ln">158</span> $config = require_once(APPPATH . 'config/internal' . EXT);
<span class="ln">159</span>
<span class="ln">160</span> Yii::$enableIncludePath = false;
<span class="error"><span class="ln error-ln">161</span> Yii::createApplication('LSYii_Application', $config)->run();
</span><span class="ln">162</span>
<span class="ln">163</span> /* End of file index.php */
<span class="ln">164</span> /* Location: ./index.php */
</pre></div> </td>
</tr>
</tbody></table>
</div>
<div class="version">
2026-09-14 06:34:20 nginx/1.26.3 <a href="https://www.yiiframework.com/">Yii Framework</a>/1.1.32 </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>
</body></html> 500_ Internal Server Error.html (18,347 bytes)
<!DOCTYPE html>
<html lang="en" dir="ltr" class="en dir-ltr no-js " xmlns="http://www.w3.org/1999/html" data-lt-installed="true"><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">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/jquery-ui.min_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/font-awesome.min_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/ibm-sans_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/ibm-serif_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/remixicon_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/tempus-dominus.min_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/roboto_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/icomoon_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/select2.min_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/select2-bootstrap-5-theme.min_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/lstutorial_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/sea_green_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/adminsidepanel_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/editorModal_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/noto_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/survey_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/embeddables.min_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/template-core_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/awesome-bootstrap-checkbox_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/bootstrap_5.min_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/base_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/theme_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/noTablesOnMobile_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/custom_jHIE.css">
<link rel="stylesheet" type="text/css" href="500_%20Internal%20Server%20Error_files/errors_jHIE.css">
<script type="text/javascript" async="" defer="defer" src="500_%20Internal%20Server%20Error_files/matomo_jHIE.js"></script><script type="text/javascript">window.debugState = {frontend : (0 === 1), backend : (0 === 1)};</script><script type="text/javascript" src="500_%20Internal%20Server%20Error_files/jquery.min_jHIE.js" class="headScriptTag"></script>
<script type="text/javascript" src="500_%20Internal%20Server%20Error_files/jquery-migrate.min_jHIE.js" class="headScriptTag"></script>
<script type="text/javascript" src="500_%20Internal%20Server%20Error_files/jquery-ui.min_jHIE.js" class="headScriptTag"></script>
<script type="text/javascript" src="500_%20Internal%20Server%20Error_files/adminsidepanel_jHIE.js" class="headScriptTag"></script>
<script type="text/javascript" src="500_%20Internal%20Server%20Error_files/js.cookie.min_jHIE.js" class="headScriptTag"></script>
<script type="text/javascript" src="500_%20Internal%20Server%20Error_files/moment-with-locales.min_jHIE.js" class="headScriptTag"></script>
<script type="text/javascript" src="500_%20Internal%20Server%20Error_files/popper-tempus_jHIE.js" class="headScriptTag"></script>
<script type="text/javascript" src="500_%20Internal%20Server%20Error_files/datepickerInit_jHIE.js" class="headScriptTag"></script>
<script type="text/javascript" src="500_%20Internal%20Server%20Error_files/lslog_jHIE.js" class="headScriptTag"></script>
<script type="text/javascript" src="500_%20Internal%20Server%20Error_files/pjax.combined.min_jHIE.js" class="headScriptTag"></script>
<script type="text/javascript" src="500_%20Internal%20Server%20Error_files/select2.full.min_jHIE.js" class="headScriptTag"></script>
<script type="text/javascript" src="500_%20Internal%20Server%20Error_files/bootstrap_5.min_jHIE.js" class="headScriptTag"></script>
<script type="text/javascript" src="500_%20Internal%20Server%20Error_files/activateEditor_jHIE.js" class="headScriptTag"></script>
<script type="text/javascript" src="500_%20Internal%20Server%20Error_files/em_javascript_jHIE.js" class="headScriptTag"></script>
<script type="text/javascript" src="500_%20Internal%20Server%20Error_files/pjax_jHIE.js" class="headScriptTag"></script>
<script type="text/javascript" src="500_%20Internal%20Server%20Error_files/survey_jHIE.js" class="headScriptTag"></script>
<script type="text/javascript" src="500_%20Internal%20Server%20Error_files/template-core_jHIE.js" class="headScriptTag"></script>
<script type="text/javascript" src="500_%20Internal%20Server%20Error_files/theme_jHIE.js" class="headScriptTag"></script>
<script type="text/javascript" src="500_%20Internal%20Server%20Error_files/custom_jHIE.js" class="headScriptTag"></script>
<script type="text/javascript">
/*<![CDATA[*/
window.LS = window.LS || {}; window.LS.globalUserId = "1";
/*]]>*/
</script>
<title>
500: Internal Server Error
</title>
<meta name="generator" content="LimeSurvey http://www.limesurvey.org">
<link rel="shortcut icon" href="http://webdev.local/master/tmp/assets/f33ce9c1/favicon.ico">
</head>
<body class="vanilla lang-en " marginwidth="0" marginheight="0"><script type="text/javascript" src="500_%20Internal%20Server%20Error_files/adminbasics.min_jHIE.js"></script>
<script type="text/javascript" src="500_%20Internal%20Server%20Error_files/decimal_jHIE.js"></script>
<script type="text/javascript" src="500_%20Internal%20Server%20Error_files/decimalcustom_jHIE.js"></script>
<script type="text/javascript">
/*<![CDATA[*/
var _paq = window._paq || [];
_paq.push(['setCustomVariable',2,'label2','CHECK','visit']);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://matomo.sondages.pro/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '4']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
/*]]>*/
</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>
<div class="container">
<div id="error-card" class="card w-75 mt-6 mb-0 mx-auto">
<div class="card-body">
<h2 class="card-title">
500: Internal Server Error
- Property "Survey.preselectnoanswer" is not defined.
</h2>
<hr>
<div class="card-text">An internal error occurred while the Web server was processing your request.</div>
Please contact Sondages Pro (Ne pas répondre) to report this problem.
</div>
</div>
</div>
<script type="text/javascript" src="500_%20Internal%20Server%20Error_files/lstutorial.min_jHIE.js"></script>
<script type="text/javascript" src="500_%20Internal%20Server%20Error_files/embeddables.min_jHIE.js"></script>
<script type="text/javascript">
/*<![CDATA[*/
if($('.non-ajax-alert').length > 0) {
var alertContainer = $('.non-ajax-alert');
LS.autoCloseAlert(alertContainer, 4000);
}
try{
triggerEmClassChange();
} catch(e) {
console.ls.warn('triggerEmClassChange could not be run. Is survey.js/old_template_core_pre.js correctly loaded?');
}
triggerEmRelevance();
jQuery(function($) {
// First, remove all existing modals
$('div[id="feature-preview-modal"]').remove();
// Add the modal only once, with a flag to prevent duplication
if (!window.featurePreviewModalAdded) {
$('body').append("<!-- Modal to activate\/deactivate the react question editor -->\n<div id=\"activate_editor\" class=\"modal fade\" role=\"dialog\">\n <div class=\"modal-dialog modal-xl\">\n <!-- Modal content-->\n <div class=\"modal-content\">\n <div class=\"modal-body position-relative p-0\">\n <button type=\"button\"\n class=\"btn-close position-absolute top-0 end-0 m-3\"\n data-bs-dismiss=\"modal\" aria-label=\"Close\"\n style=\"z-index: 1050;\"><\/button> <!-- TODO inline style-->\n <input type=\"hidden\" id=\"saveUrl\" name=\"saveUrl\"\n value=\"\/master\/?r=plugins\/direct\/plugin\/ReactEditor\/function\/saveActivateDeactivate\">\n <input type=\"hidden\" id=\"successMsgFeatureOptin\"\n value=\"The new editor was successfully activated.\">\n <input type=\"hidden\" id=\"successMsgFeatureOptout\"\n value=\"The new editor was successfully deactivated.\">\n <input type=\"hidden\" id=\"errorOnSave\"\n value=\"An error occurred while saving.\">\n <div class=\"card pt-3 pb-5\">\n <div class=\"row g-0\">\n <div class=\"col-md-6\">\n <div class=\"card-body ps-4 pe-4\">\n <h1 class=\"card-title reg-24 mb-16\">\n Welcome to the new LimeSurvey <\/h1>\n <p class=\"card-text reg-14 mb-16\">With the LimeSurvey Editor, you can create surveys in a squeeze of lime, combining intuitive design with powerful features for a faster, smarter survey-building experience. <br><br>\n <a class=\"link-info\" href=\"https:\/\/www.limesurvey.org\" target=\"_blank\">Discover now<\/a> what the new editor can do! <\/p>\n <div class=\"row mb-16\">\n <label class=\"label-s mb-1\" for='editor-switch-btn'>Editor version<\/label>\n <div class=\"lime-toggle-btn-group isSecondary\">\n \n<div class=\"btn-group \" data-bs-toggle=\"tooltip\"\n id=\"editor-switch-btn\" role=\"group\"\n >\n <input type=\"radio\" class=\"btn-check\" name=\"editor-switch-btn\" id=\"editor-switch-btn_1\" autocomplete=\"off\"\n value=\"0\" checked disabled>\n <label id=\"editor-switch-btn_1_label\" class=\"btn btn-outline-secondary\" for=\"editor-switch-btn_1\">\n Classic <\/label>\n <input type=\"radio\" class=\"btn-check\" name=\"editor-switch-btn\" id=\"editor-switch-btn_2\" autocomplete=\"off\"\n value=\"1\" disabled>\n <label id=\"editor-switch-btn_2_label\" class=\"btn btn-outline-secondary\" for=\"editor-switch-btn_2\">\n New <\/label>\n <\/div>\n <\/div>\n <br>\n <\/div>\n <div class=\" alert alert-filled-warning d-flex align-items-start\" role=\"alert\"><span class=\"ri-alert-fill me-2 flex-shrink-0 align-self-center\"><\/span><div class=\"flex-grow-1\"><span class=\"alert-header\">Action needed<\/span><br>In order to activate the new editor you or your administrator need to set up the application to use "path" as the URL format. For more information, see <a class=\"link-info\" href=\"https:\/\/www.limesurvey.org\/manual\/LimeSurvey_7_Question_Editor#Switching_URL_format_from_%22get%22_to_%22path%22_to_enable_the_new_editor_in_LimeSurvey_7\" target=\"_blank\" rel=\"noopener noreferrer\">LimeSurvey 7 question editor<\/a>.<\/div><\/div> <\/div>\n <\/div>\n <div class=\"col-md-6 pt-3\">\n <img src=\"\/master\/assets\/images\/new_editor_image_small.png\"\n class=\"img-fluid editor-preview\"\n alt=\"Editor preview\">\n <\/div>\n <\/div>\n <\/div>\n <\/div>\n <\/div>\n <\/div>\n<\/div>\n");
window.featurePreviewModalAdded = true;
}
});
jQuery(document).off('pjax:scriptcomplete.mainBottom').on('ready pjax:scriptcomplete.mainBottom', function() {
updateMandatoryErrorClass();
});
/*]]>*/
</script>
<!-- Modal to activate/deactivate the react question editor -->
<div id="activate_editor" class="modal fade" role="dialog">
<div class="modal-dialog modal-xl">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-body position-relative p-0">
<button type="button" class="btn-close position-absolute top-0 end-0 m-3" data-bs-dismiss="modal" aria-label="Close" style="z-index: 1050;"></button> <!-- TODO inline style-->
<input type="hidden" id="saveUrl" name="saveUrl" value="/master/?r=plugins/direct/plugin/ReactEditor/function/saveActivateDeactivate">
<input type="hidden" id="successMsgFeatureOptin" value="The new editor was successfully activated.">
<input type="hidden" id="successMsgFeatureOptout" value="The new editor was successfully deactivated.">
<input type="hidden" id="errorOnSave" value="An error occurred while saving.">
<div class="card pt-3 pb-5">
<div class="row g-0">
<div class="col-md-6">
<div class="card-body ps-4 pe-4">
<h1 class="card-title reg-24 mb-16">
Welcome to the new LimeSurvey </h1>
<p class="card-text reg-14 mb-16">With the LimeSurvey Editor, you can create surveys in a squeeze of lime, combining intuitive design with powerful features for a faster, smarter survey-building experience. <br><br>
<a class="link-info" href="https://www.limesurvey.org/" target="_blank">Discover now</a> what the new editor can do! </p>
<div class="row mb-16">
<label class="label-s mb-1" for="editor-switch-btn">Editor version</label>
<div class="lime-toggle-btn-group isSecondary">
<div class="btn-group " data-bs-toggle="tooltip" id="editor-switch-btn" role="group">
<input type="radio" class="btn-check" name="editor-switch-btn" id="editor-switch-btn_1" autocomplete="off" value="0" checked="checked" disabled="disabled">
<label id="editor-switch-btn_1_label" class="btn btn-outline-secondary" for="editor-switch-btn_1">
Classic </label>
<input type="radio" class="btn-check" name="editor-switch-btn" id="editor-switch-btn_2" autocomplete="off" value="1" disabled="disabled">
<label id="editor-switch-btn_2_label" class="btn btn-outline-secondary" for="editor-switch-btn_2">
New </label>
</div>
</div>
<br>
</div>
<div class=" alert alert-filled-warning d-flex align-items-start" role="alert"><span class="ri-alert-fill me-2 flex-shrink-0 align-self-center"></span><div class="flex-grow-1"><span class="alert-header">Action needed</span><br>In order to activate the new editor you or your administrator need to set up the application to use "path" as the URL format. For more information, see <a class="link-info" href="https://www.limesurvey.org/manual/LimeSurvey_7_Question_Editor#Switching_URL_format_from_%22get%22_to_%22path%22_to_enable_the_new_editor_in_LimeSurvey_7" target="_blank" rel="noopener noreferrer">LimeSurvey 7 question editor</a>.</div></div> </div>
</div>
<div class="col-md-6 pt-3">
<img src="500_%20Internal%20Server%20Error_files/new_editor_image_small_jHIE.png" class="img-fluid editor-preview" alt="Editor preview">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body></html> | ||||
| Bug heat | 2 | ||||
| Complete LimeSurvey version number (& build) | 7.1.0 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | not relevant | ||||
| Database type & version | mariadb (not relevant) | ||||
| Server OS (if known) | debian | ||||
| Webserver software & version (if known) | not relevant | ||||
| PHP Version | not relevant | ||||
| Git branch / Pull Request URL | N/A | ||||
|
There was a system before to allow old surveys to be imported, in 6.X
But I don't see the preselectnoanswer ? |
|
|
Same with this one |
|
|
Happen for the whole survey now |
|
|
Surely an issue with test version. I redo with another DB |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-09-14 08:39 | DenisChenu | New Issue | |
| 2026-09-14 08:39 | DenisChenu | File Added: survey_archive_376665.lsa | |
| 2026-09-14 08:39 | DenisChenu | File Added: CException.html | |
| 2026-09-14 08:39 | DenisChenu | File Added: 500_ Internal Server Error.html | |
| 2026-09-14 08:45 | DenisChenu | Note Added: 85716 | |
| 2026-09-14 08:45 | DenisChenu | Bug heat | 0 => 2 |
| 2026-09-14 08:45 | DenisChenu | Note Added: 85717 | |
| 2026-09-14 08:45 | DenisChenu | File Added: survey_archive_MSSQL_compare.lsa | |
| 2026-09-14 08:46 | DenisChenu | Relationship added | related to 19749 |
| 2026-09-14 11:52 | DenisChenu | Note Added: 85722 | |
| 2026-09-14 11:58 | DenisChenu | Assigned To | => DenisChenu |
| 2026-09-14 11:58 | DenisChenu | Status | new => closed |
| 2026-09-14 11:58 | DenisChenu | Resolution | open => fixed |
| 2026-09-14 11:58 | DenisChenu | Note Added: 85723 |