View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
19218 | Bug reports | Survey taking | public | 2023-11-03 10:20 | 2023-11-13 15:43 |
Reporter | DenisChenu | Assigned To | DenisChenu | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Summary | 19218: PHP error with PHP81 and debug with strpos in asSplitStringOnExpressions function | ||||
Description | strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated | ||||
Steps To Reproduce | Steps to reproduceImport included survey Expected resultSee the survey Actual resultPHP Error | ||||
Tags | No tags attached. | ||||
Attached Files | PHP error.html (25,777 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>PHP error</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>PHP error</h1> <p class="message"> strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated </p> <div class="source"> <p class="file">/media/shnoulle/data/webdev/master/application/helpers/expressions/em_core_helper.php(2308)</p> <div class="code"><pre><span class="ln">2296</span> * This version properly handles nested curly braces and curly braces within strings within curly braces - both of which are needed to better support JavaScript <span class="ln">2297</span> * Users still need to add a space or carriage return after opening braces (and ideally before closing braces too) to avoid having them treated as expressions. <span class="ln">2298</span> * @param string $src <span class="ln">2299</span> * @return array <span class="ln">2300</span> */ <span class="ln">2301</span> public function asSplitStringOnExpressions($src) <span class="ln">2302</span> { <span class="ln">2303</span> // Empty string, return an array <span class="ln">2304</span> if ($src === "") { <span class="ln">2305</span> return array(); <span class="ln">2306</span> } <span class="ln">2307</span> // No replacement to do, preg_split get more time than strpos <span class="error"><span class="ln error-ln">2308</span> if (strpos($src, "{") === false || $src === "{" || $src === "}") { </span><span class="ln">2309</span> return array ( <span class="ln">2310</span> 0 => array ($src,0,'STRING') <span class="ln">2311</span> ); <span class="ln">2312</span> }; <span class="ln">2313</span> <span class="ln">2314</span> // Seems to need split and replacement <span class="ln">2315</span> $parts = preg_split($this->RDP_ExpressionRegex, $src, -1, (PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE)); <span class="ln">2316</span> <span class="ln">2317</span> $count = count($parts); <span class="ln">2318</span> $tokens = array(); <span class="ln">2319</span> $inSQString = false; <span class="ln">2320</span> $inDQString = false; </pre></div> </div> <div class="traces"> <h2>Stack Trace</h2> <table style="width:100%;"> <tbody><tr class="trace app expanded"> <td class="number"> #0 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /media/shnoulle/data/webdev/master/application/helpers/expressions/em_core_helper.php(2308): <strong>strpos</strong>(null, "{") </div> <div class="code"><pre><span class="ln">2303</span> // Empty string, return an array <span class="ln">2304</span> if ($src === "") { <span class="ln">2305</span> return array(); <span class="ln">2306</span> } <span class="ln">2307</span> // No replacement to do, preg_split get more time than strpos <span class="error"><span class="ln error-ln">2308</span> if (strpos($src, "{") === false || $src === "{" || $src === "}") { </span><span class="ln">2309</span> return array ( <span class="ln">2310</span> 0 => array ($src,0,'STRING') <span class="ln">2311</span> ); <span class="ln">2312</span> }; <span class="ln">2313</span> </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> /media/shnoulle/data/webdev/master/application/helpers/expressions/em_core_helper.php(2003): <strong>ExpressionManager</strong>-><strong>asSplitStringOnExpressions</strong>(null) </div> <div class="code"><pre><span class="ln">1998</span> * @return string <span class="ln">1999</span> */ <span class="ln">2000</span> public function sProcessStringContainingExpressionsHelper($src, $questionNum, $staticReplacement = false) <span class="ln">2001</span> { <span class="ln">2002</span> // tokenize string by the {} pattern, properly dealing with strings in quotations, and escaped curly brace values <span class="error"><span class="ln error-ln">2003</span> $stringParts = $this->asSplitStringOnExpressions($src); </span><span class="ln">2004</span> $resolvedParts = array(); <span class="ln">2005</span> $prettyPrintParts = array(); <span class="ln">2006</span> $this->ResetErrorsAndWarnings(); <span class="ln">2007</span> foreach ($stringParts as $stringPart) { <span class="ln">2008</span> if ($stringPart[2] == 'STRING') { </pre></div> </td> </tr> <tr class="trace app expanded"> <td class="number"> #2 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /media/shnoulle/data/webdev/master/application/helpers/expressions/em_core_helper.php(1974): <strong>ExpressionManager</strong>-><strong>sProcessStringContainingExpressionsHelper</strong>(null, 0, false) </div> <div class="code"><pre><span class="ln">1969</span> <span class="ln">1970</span> $prettyPrintIterationDone = false; <span class="ln">1971</span> for ($i = 1; $i <= $numRecursionLevels; ++$i) { <span class="ln">1972</span> // TODO - Since want to use <span> for dynamic substitution, what if there are recursive substititons? <span class="ln">1973</span> $prevResult = $result; <span class="error"><span class="ln error-ln">1974</span> $result = $this->sProcessStringContainingExpressionsHelper($result, $questionNum, $staticReplacement); </span><span class="ln">1975</span> if ($result === $prevResult) { <span class="ln">1976</span> // No update during process : can exit of iteration <span class="ln">1977</span> if (!$prettyPrintIterationDone) { <span class="ln">1978</span> $prettyPrint = $this->prettyPrintSource; <span class="ln">1979</span> } </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #3 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /media/shnoulle/data/webdev/master/application/helpers/expressions/em_manager_helper.php(4158): <strong>ExpressionManager</strong>-><strong>sProcessStringContainingExpressions</strong>(null, 0, 3, 1, ...) </div> <div class="code"><pre><span class="ln">4153</span> $questionSeq = isset($LEM->questionId2questionSeq[$questionNum]) ? $LEM->questionId2questionSeq[$questionNum] : -1; <span class="ln">4154</span> $groupSeq = isset($LEM->questionId2groupSeq[$questionNum]) ? $LEM->questionId2groupSeq[$questionNum] : -1; <span class="ln">4155</span> } <span class="ln">4156</span> $stringToParse = $string; // decode called later htmlspecialchars_decode($string,ENT_QUOTES); <span class="ln">4157</span> $qnum = is_null($questionNum) ? 0 : $questionNum; <span class="error"><span class="ln error-ln">4158</span> $result = $LEM->em->sProcessStringContainingExpressions($stringToParse, $qnum, $numRecursionLevels, $whichPrettyPrintIteration, $groupSeq, $questionSeq, $staticReplacement); </span><span class="ln">4159</span> <span class="ln">4160</span> if ($timeit) { <span class="ln">4161</span> $LEM->runtimeTimings[] = [__METHOD__, (microtime(true) - $now)]; <span class="ln">4162</span> } <span class="ln">4163</span> </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #4 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /media/shnoulle/data/webdev/master/application/helpers/SurveyRuntimeHelper.php(1808): <strong>LimeExpressionManager</strong>::<strong>ProcessString</strong>(null, null, null, 3, ...) </div> <div class="code"><pre><span class="ln">1803</span> } <span class="ln">1804</span> $this->gid = $this->aStepInfo['gid']; <span class="ln">1805</span> $this->groupname = $this->aStepInfo['gname']; <span class="ln">1806</span> $this->groupdescription = $this->aStepInfo['gtext']; <span class="ln">1807</span> $this->groupname = LimeExpressionManager::ProcessString($this->groupname, null, null, 3, 1, false, true, false); <span class="error"><span class="ln error-ln">1808</span> $this->groupdescription = LimeExpressionManager::ProcessString($this->groupdescription, null, null, 3, 1, false, true, false); </span><span class="ln">1809</span> } <span class="ln">1810</span> } <span class="ln">1811</span> } <span class="ln">1812</span> <span class="ln">1813</span> private function fixMaxStep() </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #5 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /media/shnoulle/data/webdev/master/application/helpers/SurveyRuntimeHelper.php(220): <strong>SurveyRuntimeHelper</strong>-><strong>setGroup</strong>() </div> <div class="code"><pre><span class="ln">215</span> $this->setNotAnsweredAndNotValidated(); <span class="ln">216</span> } else { <span class="ln">217</span> $this->setPreview(); <span class="ln">218</span> } <span class="ln">219</span> $this->moveSubmitIfNeeded(); <span class="error"><span class="ln error-ln">220</span> $this->setGroup(); </span><span class="ln">221</span> $this->fixMaxStep(); <span class="ln">222</span> <span class="ln">223</span> //****************************************************************************************************** <span class="ln">224</span> //PRESENT SURVEY <span class="ln">225</span> //****************************************************************************************************** </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #6 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /media/shnoulle/data/webdev/master/application/controllers/survey/SurveyIndex.php(641): <strong>SurveyRuntimeHelper</strong>-><strong>run</strong>(624376, array("surveyid" => 624376, "thissurvey" => array("htmlemail" => "Y", "format" => "G", "tokenencryptionoptions" => "", "template" => "vanilla", ...), "thisstep" => 0, "tokensexist" => 0, ...)) </div> <div class="code"><pre><span class="ln">636</span> unset($redata); <span class="ln">637</span> $redata = compact(array_keys(get_defined_vars())); <span class="ln">638</span> Yii::import('application.helpers.SurveyRuntimeHelper'); <span class="ln">639</span> $tmp = new SurveyRuntimeHelper(); <span class="ln">640</span> // try { <span class="error"><span class="ln error-ln">641</span> $tmp->run($surveyid, $redata); </span><span class="ln">642</span> // } catch (WrongTemplateVersionException $ex) { <span class="ln">643</span> // echo $ex->getMessage(); <span class="ln">644</span> // } <span class="ln">645</span> } <span class="ln">646</span> </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #7 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /media/shnoulle/data/webdev/master/application/controllers/survey/SurveyIndex.php(22): <strong>SurveyIndex</strong>-><strong>action</strong>() </div> <div class="code"><pre><span class="ln">17</span> public $oTemplate; <span class="ln">18</span> <span class="ln">19</span> public function run() <span class="ln">20</span> { <span class="ln">21</span> useFirebug(); <span class="error"><span class="ln error-ln">22</span> $this->action(); </span><span class="ln">23</span> } <span class="ln">24</span> <span class="ln">25</span> /** <span class="ln">26</span> * <span class="ln">27</span> * todo: this function is toooo long, to many things happening here. Should be refactored asap! </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> /media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/actions/CAction.php(76): <strong>SurveyIndex</strong>-><strong>run</strong>() </div> <div class="code"><pre><span class="ln">71</span> { <span class="ln">72</span> $method=new ReflectionMethod($this, 'run'); <span class="ln">73</span> if($method->getNumberOfParameters()>0) <span class="ln">74</span> return $this->runWithParamsInternal($this, $method, $params); <span class="ln">75</span> <span class="error"><span class="ln error-ln">76</span> $this->run(); </span><span class="ln">77</span> return true; <span class="ln">78</span> } <span class="ln">79</span> <span class="ln">80</span> /** <span class="ln">81</span> * Executes a method of an object with the supplied named parameters. </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/webdev/master/vendor/yiisoft/yii/framework/web/CController.php(308): <strong>CAction</strong>-><strong>runWithParams</strong>(array("r" => "survey/index", "sid" => "624376")) </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"> #10 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CController.php(286): <strong>CController</strong>-><strong>runAction</strong>(SurveyIndex) </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"> #11 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CController.php(265): <strong>CController</strong>-><strong>runActionWithFilters</strong>(SurveyIndex, array()) </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"> #12 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): <strong>CController</strong>-><strong>run</strong>("index") </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"> #13 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): <strong>CWebApplication</strong>-><strong>runController</strong>("survey/index") </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"> #14 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /media/shnoulle/data/webdev/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"> #15 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /media/shnoulle/data/webdev/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"> 2023-11-03 10:17:37 nginx/1.22.1 <a href="https://www.yiiframework.com/">Yii Framework</a>/1.1.28 </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> <div id="grammalecte_menu_main_button_shadow_host" style="width: 0px; height: 0px;"></div></body><script src="PHP%20error_fichiers/api.js"></script></html> | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 6.3.2 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | not relevant | ||||
Database type & version | mariadb | ||||
Server OS (if known) | debian | ||||
Webserver software & version (if known) | nginx | ||||
PHP Version | 8.1.23 | ||||
@DenisChenu which included survey? |
|
Oups … limesurvey_survey_592343.lss (38,681 bytes)
<?xml version="1.0" encoding="UTF-8"?> <document> <LimeSurveyDocType>Survey</LimeSurveyDocType> <DBVersion>616</DBVersion> <languages> <language>en</language> </languages> <answers> <fields> <fieldname>aid</fieldname> <fieldname>qid</fieldname> <fieldname>code</fieldname> <fieldname>sortorder</fieldname> <fieldname>assessment_value</fieldname> <fieldname>scale_id</fieldname> </fields> <rows> <row> <aid><![CDATA[213]]></aid> <qid><![CDATA[281]]></qid> <code><![CDATA[0]]></code> <sortorder><![CDATA[0]]></sortorder> <assessment_value><![CDATA[0]]></assessment_value> <scale_id><![CDATA[0]]></scale_id> </row> <row> <aid><![CDATA[214]]></aid> <qid><![CDATA[281]]></qid> <code><![CDATA[1]]></code> <sortorder><![CDATA[1]]></sortorder> <assessment_value><![CDATA[0]]></assessment_value> <scale_id><![CDATA[0]]></scale_id> </row> <row> <aid><![CDATA[215]]></aid> <qid><![CDATA[281]]></qid> <code><![CDATA[2]]></code> <sortorder><![CDATA[2]]></sortorder> <assessment_value><![CDATA[0]]></assessment_value> <scale_id><![CDATA[0]]></scale_id> </row> <row> <aid><![CDATA[216]]></aid> <qid><![CDATA[281]]></qid> <code><![CDATA[3]]></code> <sortorder><![CDATA[3]]></sortorder> <assessment_value><![CDATA[0]]></assessment_value> <scale_id><![CDATA[0]]></scale_id> </row> <row> <aid><![CDATA[217]]></aid> <qid><![CDATA[281]]></qid> <code><![CDATA[4]]></code> <sortorder><![CDATA[4]]></sortorder> <assessment_value><![CDATA[0]]></assessment_value> <scale_id><![CDATA[0]]></scale_id> </row> <row> <aid><![CDATA[218]]></aid> <qid><![CDATA[281]]></qid> <code><![CDATA[5]]></code> <sortorder><![CDATA[5]]></sortorder> <assessment_value><![CDATA[0]]></assessment_value> <scale_id><![CDATA[0]]></scale_id> </row> <row> <aid><![CDATA[219]]></aid> <qid><![CDATA[281]]></qid> <code><![CDATA[6]]></code> <sortorder><![CDATA[6]]></sortorder> <assessment_value><![CDATA[0]]></assessment_value> <scale_id><![CDATA[0]]></scale_id> </row> <row> <aid><![CDATA[220]]></aid> <qid><![CDATA[281]]></qid> <code><![CDATA[7]]></code> <sortorder><![CDATA[7]]></sortorder> <assessment_value><![CDATA[0]]></assessment_value> <scale_id><![CDATA[0]]></scale_id> </row> </rows> </answers> <answer_l10ns> <fields> <fieldname>id</fieldname> <fieldname>aid</fieldname> <fieldname>answer</fieldname> <fieldname>language</fieldname> </fields> <rows> <row> <id><![CDATA[600]]></id> <aid><![CDATA[213]]></aid> <answer><![CDATA[0]]></answer> <language><![CDATA[en]]></language> </row> <row> <id><![CDATA[601]]></id> <aid><![CDATA[214]]></aid> <answer><![CDATA[1]]></answer> <language><![CDATA[en]]></language> </row> <row> <id><![CDATA[602]]></id> <aid><![CDATA[215]]></aid> <answer><![CDATA[2]]></answer> <language><![CDATA[en]]></language> </row> <row> <id><![CDATA[603]]></id> <aid><![CDATA[216]]></aid> <answer><![CDATA[3]]></answer> <language><![CDATA[en]]></language> </row> <row> <id><![CDATA[604]]></id> <aid><![CDATA[217]]></aid> <answer><![CDATA[4]]></answer> <language><![CDATA[en]]></language> </row> <row> <id><![CDATA[605]]></id> <aid><![CDATA[218]]></aid> <answer><![CDATA[5]]></answer> <language><![CDATA[en]]></language> </row> <row> <id><![CDATA[606]]></id> <aid><![CDATA[219]]></aid> <answer><![CDATA[6]]></answer> <language><![CDATA[en]]></language> </row> <row> <id><![CDATA[607]]></id> <aid><![CDATA[220]]></aid> <answer><![CDATA[7]]></answer> <language><![CDATA[en]]></language> </row> </rows> </answer_l10ns> <groups> <fields> <fieldname>gid</fieldname> <fieldname>sid</fieldname> <fieldname>group_order</fieldname> <fieldname>randomization_group</fieldname> <fieldname>grelevance</fieldname> </fields> <rows> <row> <gid><![CDATA[48]]></gid> <sid><![CDATA[592343]]></sid> <group_order><![CDATA[1]]></group_order> <randomization_group/> <grelevance><![CDATA[1]]></grelevance> </row> </rows> </groups> <group_l10ns> <fields> <fieldname>id</fieldname> <fieldname>gid</fieldname> <fieldname>group_name</fieldname> <fieldname>description</fieldname> <fieldname>language</fieldname> <fieldname>sid</fieldname> <fieldname>group_order</fieldname> <fieldname>randomization_group</fieldname> <fieldname>grelevance</fieldname> </fields> <rows> <row> <id><![CDATA[102]]></id> <gid><![CDATA[48]]></gid> <group_name><![CDATA[My first question group]]></group_name> <language><![CDATA[en]]></language> <sid><![CDATA[592343]]></sid> <group_order><![CDATA[1]]></group_order> <randomization_group/> <grelevance><![CDATA[1]]></grelevance> </row> </rows> </group_l10ns> <questions> <fields> <fieldname>qid</fieldname> <fieldname>parent_qid</fieldname> <fieldname>sid</fieldname> <fieldname>gid</fieldname> <fieldname>type</fieldname> <fieldname>title</fieldname> <fieldname>preg</fieldname> <fieldname>other</fieldname> <fieldname>mandatory</fieldname> <fieldname>encrypted</fieldname> <fieldname>question_order</fieldname> <fieldname>scale_id</fieldname> <fieldname>same_default</fieldname> <fieldname>relevance</fieldname> <fieldname>question_theme_name</fieldname> <fieldname>modulename</fieldname> <fieldname>same_script</fieldname> </fields> <rows> <row> <qid><![CDATA[281]]></qid> <parent_qid><![CDATA[0]]></parent_qid> <sid><![CDATA[592343]]></sid> <gid><![CDATA[48]]></gid> <type><![CDATA[L]]></type> <title><![CDATA[r474q0]]></title> <preg/> <other><![CDATA[Y]]></other> <mandatory><![CDATA[Y]]></mandatory> <encrypted><![CDATA[N]]></encrypted> <question_order><![CDATA[1]]></question_order> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> <relevance><![CDATA[1]]></relevance> <question_theme_name><![CDATA[listradio]]></question_theme_name> <modulename/> <same_script><![CDATA[0]]></same_script> </row> <row> <qid><![CDATA[282]]></qid> <parent_qid><![CDATA[0]]></parent_qid> <sid><![CDATA[592343]]></sid> <gid><![CDATA[48]]></gid> <type><![CDATA[M]]></type> <title><![CDATA[G01Q02]]></title> <other><![CDATA[Y]]></other> <mandatory><![CDATA[N]]></mandatory> <encrypted><![CDATA[N]]></encrypted> <question_order><![CDATA[2]]></question_order> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> <relevance><![CDATA[1]]></relevance> <question_theme_name><![CDATA[multiplechoice]]></question_theme_name> <modulename/> <same_script><![CDATA[0]]></same_script> </row> </rows> </questions> <subquestions> <fields> <fieldname>qid</fieldname> <fieldname>parent_qid</fieldname> <fieldname>sid</fieldname> <fieldname>gid</fieldname> <fieldname>type</fieldname> <fieldname>title</fieldname> <fieldname>preg</fieldname> <fieldname>other</fieldname> <fieldname>mandatory</fieldname> <fieldname>encrypted</fieldname> <fieldname>question_order</fieldname> <fieldname>scale_id</fieldname> <fieldname>same_default</fieldname> <fieldname>relevance</fieldname> <fieldname>question_theme_name</fieldname> <fieldname>modulename</fieldname> <fieldname>same_script</fieldname> </fields> <rows> <row> <qid><![CDATA[283]]></qid> <parent_qid><![CDATA[282]]></parent_qid> <sid><![CDATA[592343]]></sid> <gid><![CDATA[48]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[SQ001]]></title> <other><![CDATA[N]]></other> <mandatory><![CDATA[N]]></mandatory> <encrypted><![CDATA[N]]></encrypted> <question_order><![CDATA[0]]></question_order> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> <relevance><![CDATA[1]]></relevance> <same_script><![CDATA[0]]></same_script> </row> <row> <qid><![CDATA[284]]></qid> <parent_qid><![CDATA[282]]></parent_qid> <sid><![CDATA[592343]]></sid> <gid><![CDATA[48]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[SQ002]]></title> <other><![CDATA[N]]></other> <mandatory><![CDATA[N]]></mandatory> <encrypted><![CDATA[N]]></encrypted> <question_order><![CDATA[1]]></question_order> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> <relevance><![CDATA[1]]></relevance> <same_script><![CDATA[0]]></same_script> </row> <row> <qid><![CDATA[285]]></qid> <parent_qid><![CDATA[282]]></parent_qid> <sid><![CDATA[592343]]></sid> <gid><![CDATA[48]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[SQ003]]></title> <other><![CDATA[N]]></other> <mandatory><![CDATA[N]]></mandatory> <encrypted><![CDATA[N]]></encrypted> <question_order><![CDATA[2]]></question_order> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> <relevance><![CDATA[1]]></relevance> <same_script><![CDATA[0]]></same_script> </row> <row> <qid><![CDATA[286]]></qid> <parent_qid><![CDATA[282]]></parent_qid> <sid><![CDATA[592343]]></sid> <gid><![CDATA[48]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[SQ004]]></title> <other><![CDATA[N]]></other> <mandatory><![CDATA[N]]></mandatory> <encrypted><![CDATA[N]]></encrypted> <question_order><![CDATA[3]]></question_order> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> <relevance><![CDATA[1]]></relevance> <same_script><![CDATA[0]]></same_script> </row> <row> <qid><![CDATA[287]]></qid> <parent_qid><![CDATA[282]]></parent_qid> <sid><![CDATA[592343]]></sid> <gid><![CDATA[48]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[SQ005]]></title> <other><![CDATA[N]]></other> <mandatory><![CDATA[N]]></mandatory> <encrypted><![CDATA[N]]></encrypted> <question_order><![CDATA[4]]></question_order> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> <relevance><![CDATA[1]]></relevance> <same_script><![CDATA[0]]></same_script> </row> <row> <qid><![CDATA[288]]></qid> <parent_qid><![CDATA[282]]></parent_qid> <sid><![CDATA[592343]]></sid> <gid><![CDATA[48]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[SQ006]]></title> <other><![CDATA[N]]></other> <mandatory><![CDATA[N]]></mandatory> <encrypted><![CDATA[N]]></encrypted> <question_order><![CDATA[5]]></question_order> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> <relevance><![CDATA[1]]></relevance> <same_script><![CDATA[0]]></same_script> </row> <row> <qid><![CDATA[289]]></qid> <parent_qid><![CDATA[282]]></parent_qid> <sid><![CDATA[592343]]></sid> <gid><![CDATA[48]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[SQ007]]></title> <other><![CDATA[N]]></other> <mandatory><![CDATA[N]]></mandatory> <encrypted><![CDATA[N]]></encrypted> <question_order><![CDATA[6]]></question_order> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> <relevance><![CDATA[1]]></relevance> <same_script><![CDATA[0]]></same_script> </row> </rows> </subquestions> <question_l10ns> <fields> <fieldname>id</fieldname> <fieldname>qid</fieldname> <fieldname>question</fieldname> <fieldname>help</fieldname> <fieldname>script</fieldname> <fieldname>language</fieldname> </fields> <rows> <row> <id><![CDATA[1047]]></id> <qid><![CDATA[281]]></qid> <question><![CDATA[How many days a week do you exercise?]]></question> <help/> <script/> <language><![CDATA[en]]></language> </row> <row> <id><![CDATA[1048]]></id> <qid><![CDATA[282]]></qid> <question><![CDATA[Multiple choice]]></question> <help/> <script/> <language><![CDATA[en]]></language> </row> <row> <id><![CDATA[1049]]></id> <qid><![CDATA[283]]></qid> <question><![CDATA[SQ001]]></question> <help/> <language><![CDATA[en]]></language> </row> <row> <id><![CDATA[1050]]></id> <qid><![CDATA[284]]></qid> <question><![CDATA[sdf ssqrtezrtre]]></question> <help/> <language><![CDATA[en]]></language> </row> <row> <id><![CDATA[1051]]></id> <qid><![CDATA[285]]></qid> <question><![CDATA[e zrrtey zy"('"("'(]]></question> <help/> <language><![CDATA[en]]></language> </row> <row> <id><![CDATA[1052]]></id> <qid><![CDATA[286]]></qid> <question><![CDATA[sr vearezer]]></question> <help/> <language><![CDATA[en]]></language> </row> <row> <id><![CDATA[1053]]></id> <qid><![CDATA[287]]></qid> <question><![CDATA[df]]></question> <help/> <language><![CDATA[en]]></language> </row> <row> <id><![CDATA[1054]]></id> <qid><![CDATA[288]]></qid> <question><![CDATA[dfs]]></question> <help/> <language><![CDATA[en]]></language> </row> <row> <id><![CDATA[1055]]></id> <qid><![CDATA[289]]></qid> <question><![CDATA[ezr]]></question> <help/> <language><![CDATA[en]]></language> </row> </rows> </question_l10ns> <question_attributes> <fields> <fieldname>qid</fieldname> <fieldname>attribute</fieldname> <fieldname>value</fieldname> <fieldname>language</fieldname> </fields> <rows> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[answer_order]]></attribute> <value><![CDATA[normal]]></value> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[array_filter]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[array_filter_exclude]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[array_filter_style]]></attribute> <value><![CDATA[0]]></value> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[button_size]]></attribute> <value><![CDATA[default]]></value> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[clear_default]]></attribute> <value><![CDATA[N]]></value> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[cssclass]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[display_columns]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[em_validation_q]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[em_validation_q_tip]]></attribute> <value/> <language><![CDATA[en]]></language> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[hidden]]></attribute> <value><![CDATA[0]]></value> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[hide_tip]]></attribute> <value><![CDATA[1]]></value> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[javascript]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[other_comment_mandatory]]></attribute> <value><![CDATA[0]]></value> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[other_numbers_only]]></attribute> <value><![CDATA[0]]></value> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[other_position]]></attribute> <value><![CDATA[default]]></value> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[other_position_code]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[other_replace_text]]></attribute> <value/> <language><![CDATA[en]]></language> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[page_break]]></attribute> <value><![CDATA[0]]></value> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[printable_help]]></attribute> <value/> <language><![CDATA[en]]></language> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[public_statistics]]></attribute> <value><![CDATA[0]]></value> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[random_group]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[save_as_default]]></attribute> <value><![CDATA[N]]></value> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[scale_export]]></attribute> <value><![CDATA[0]]></value> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[scriptActivate]]></attribute> <value><![CDATA[1]]></value> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[statistics_graphtype]]></attribute> <value><![CDATA[0]]></value> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[statistics_showgraph]]></attribute> <value><![CDATA[1]]></value> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[time_limit]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[time_limit_action]]></attribute> <value><![CDATA[1]]></value> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[time_limit_countdown_message]]></attribute> <value/> <language><![CDATA[en]]></language> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[time_limit_disable_next]]></attribute> <value><![CDATA[0]]></value> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[time_limit_disable_prev]]></attribute> <value><![CDATA[0]]></value> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[time_limit_message]]></attribute> <value/> <language><![CDATA[en]]></language> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[time_limit_message_delay]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[time_limit_message_style]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[time_limit_timer_style]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[time_limit_warning]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[time_limit_warning_2]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[time_limit_warning_2_display_time]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[time_limit_warning_2_message]]></attribute> <value/> <language><![CDATA[en]]></language> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[time_limit_warning_2_style]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[time_limit_warning_display_time]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[time_limit_warning_message]]></attribute> <value/> <language><![CDATA[en]]></language> </row> <row> <qid><![CDATA[281]]></qid> <attribute><![CDATA[time_limit_warning_style]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[array_filter]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[array_filter_exclude]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[array_filter_style]]></attribute> <value><![CDATA[0]]></value> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[assessment_value]]></attribute> <value><![CDATA[1]]></value> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[clear_default]]></attribute> <value><![CDATA[N]]></value> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[cssclass]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[display_columns]]></attribute> <value><![CDATA[4]]></value> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[em_validation_q]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[em_validation_q_tip]]></attribute> <value/> <language><![CDATA[en]]></language> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[exclude_all_others]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[exclude_all_others_auto]]></attribute> <value><![CDATA[0]]></value> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[hidden]]></attribute> <value><![CDATA[0]]></value> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[hide_tip]]></attribute> <value><![CDATA[0]]></value> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[javascript]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[max_answers]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[min_answers]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[other_numbers_only]]></attribute> <value><![CDATA[0]]></value> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[other_position]]></attribute> <value><![CDATA[end]]></value> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[other_position_code]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[other_replace_text]]></attribute> <value/> <language><![CDATA[en]]></language> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[page_break]]></attribute> <value><![CDATA[0]]></value> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[printable_help]]></attribute> <value/> <language><![CDATA[en]]></language> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[public_statistics]]></attribute> <value><![CDATA[0]]></value> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[random_group]]></attribute> <value/> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[random_order]]></attribute> <value><![CDATA[0]]></value> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[save_as_default]]></attribute> <value><![CDATA[N]]></value> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[scale_export]]></attribute> <value><![CDATA[0]]></value> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[scriptActivate]]></attribute> <value><![CDATA[1]]></value> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[statistics_graphtype]]></attribute> <value><![CDATA[0]]></value> <language/> </row> <row> <qid><![CDATA[282]]></qid> <attribute><![CDATA[statistics_showgraph]]></attribute> <value><![CDATA[1]]></value> <language/> </row> </rows> </question_attributes> <surveys> <fields> <fieldname>sid</fieldname> <fieldname>gsid</fieldname> <fieldname>admin</fieldname> <fieldname>expires</fieldname> <fieldname>startdate</fieldname> <fieldname>adminemail</fieldname> <fieldname>anonymized</fieldname> <fieldname>format</fieldname> <fieldname>savetimings</fieldname> <fieldname>template</fieldname> <fieldname>language</fieldname> <fieldname>additional_languages</fieldname> <fieldname>datestamp</fieldname> <fieldname>usecookie</fieldname> <fieldname>allowregister</fieldname> <fieldname>allowsave</fieldname> <fieldname>autonumber_start</fieldname> <fieldname>autoredirect</fieldname> <fieldname>allowprev</fieldname> <fieldname>printanswers</fieldname> <fieldname>ipaddr</fieldname> <fieldname>ipanonymize</fieldname> <fieldname>refurl</fieldname> <fieldname>showsurveypolicynotice</fieldname> <fieldname>publicstatistics</fieldname> <fieldname>publicgraphs</fieldname> <fieldname>listpublic</fieldname> <fieldname>htmlemail</fieldname> <fieldname>sendconfirmation</fieldname> <fieldname>tokenanswerspersistence</fieldname> <fieldname>assessments</fieldname> <fieldname>usecaptcha</fieldname> <fieldname>usetokens</fieldname> <fieldname>bounce_email</fieldname> <fieldname>attributedescriptions</fieldname> <fieldname>emailresponseto</fieldname> <fieldname>emailnotificationto</fieldname> <fieldname>tokenlength</fieldname> <fieldname>showxquestions</fieldname> <fieldname>showgroupinfo</fieldname> <fieldname>shownoanswer</fieldname> <fieldname>showqnumcode</fieldname> <fieldname>bouncetime</fieldname> <fieldname>bounceprocessing</fieldname> <fieldname>bounceaccounttype</fieldname> <fieldname>bounceaccounthost</fieldname> <fieldname>bounceaccountpass</fieldname> <fieldname>bounceaccountencryption</fieldname> <fieldname>bounceaccountuser</fieldname> <fieldname>showwelcome</fieldname> <fieldname>showprogress</fieldname> <fieldname>questionindex</fieldname> <fieldname>navigationdelay</fieldname> <fieldname>nokeyboard</fieldname> <fieldname>alloweditaftercompletion</fieldname> <fieldname>googleanalyticsstyle</fieldname> <fieldname>googleanalyticsapikey</fieldname> <fieldname>tokenencryptionoptions</fieldname> </fields> <rows> <row> <sid><![CDATA[592343]]></sid> <gsid><![CDATA[1]]></gsid> <admin><![CDATA[inherit]]></admin> <adminemail><![CDATA[inherit]]></adminemail> <anonymized><![CDATA[N]]></anonymized> <format><![CDATA[I]]></format> <savetimings><![CDATA[I]]></savetimings> <template><![CDATA[inherit]]></template> <language><![CDATA[en]]></language> <additional_languages/> <datestamp><![CDATA[I]]></datestamp> <usecookie><![CDATA[I]]></usecookie> <allowregister><![CDATA[I]]></allowregister> <allowsave><![CDATA[I]]></allowsave> <autonumber_start><![CDATA[0]]></autonumber_start> <autoredirect><![CDATA[I]]></autoredirect> <allowprev><![CDATA[I]]></allowprev> <printanswers><![CDATA[I]]></printanswers> <ipaddr><![CDATA[I]]></ipaddr> <ipanonymize><![CDATA[I]]></ipanonymize> <refurl><![CDATA[I]]></refurl> <showsurveypolicynotice><![CDATA[0]]></showsurveypolicynotice> <publicstatistics><![CDATA[I]]></publicstatistics> <publicgraphs><![CDATA[I]]></publicgraphs> <listpublic><![CDATA[I]]></listpublic> <htmlemail><![CDATA[I]]></htmlemail> <sendconfirmation><![CDATA[I]]></sendconfirmation> <tokenanswerspersistence><![CDATA[I]]></tokenanswerspersistence> <assessments><![CDATA[I]]></assessments> <usecaptcha><![CDATA[E]]></usecaptcha> <usetokens><![CDATA[N]]></usetokens> <bounce_email><![CDATA[inherit]]></bounce_email> <emailresponseto><![CDATA[inherit]]></emailresponseto> <emailnotificationto><![CDATA[inherit]]></emailnotificationto> <tokenlength><![CDATA[-1]]></tokenlength> <showxquestions><![CDATA[I]]></showxquestions> <showgroupinfo><![CDATA[I]]></showgroupinfo> <shownoanswer><![CDATA[I]]></shownoanswer> <showqnumcode><![CDATA[I]]></showqnumcode> <bounceprocessing><![CDATA[N]]></bounceprocessing> <showwelcome><![CDATA[I]]></showwelcome> <showprogress><![CDATA[I]]></showprogress> <questionindex><![CDATA[-1]]></questionindex> <navigationdelay><![CDATA[-1]]></navigationdelay> <nokeyboard><![CDATA[I]]></nokeyboard> <alloweditaftercompletion><![CDATA[I]]></alloweditaftercompletion> <googleanalyticsapikey><![CDATA[9999useGlobal9999]]></googleanalyticsapikey> <tokenencryptionoptions/> </row> </rows> </surveys> <surveys_languagesettings> <fields> <fieldname>surveyls_survey_id</fieldname> <fieldname>surveyls_language</fieldname> <fieldname>surveyls_title</fieldname> <fieldname>surveyls_description</fieldname> <fieldname>surveyls_welcometext</fieldname> <fieldname>surveyls_endtext</fieldname> <fieldname>surveyls_policy_notice</fieldname> <fieldname>surveyls_policy_error</fieldname> <fieldname>surveyls_policy_notice_label</fieldname> <fieldname>surveyls_url</fieldname> <fieldname>surveyls_urldescription</fieldname> <fieldname>surveyls_email_invite_subj</fieldname> <fieldname>surveyls_email_invite</fieldname> <fieldname>surveyls_email_remind_subj</fieldname> <fieldname>surveyls_email_remind</fieldname> <fieldname>surveyls_email_register_subj</fieldname> <fieldname>surveyls_email_register</fieldname> <fieldname>surveyls_email_confirm_subj</fieldname> <fieldname>surveyls_email_confirm</fieldname> <fieldname>surveyls_dateformat</fieldname> <fieldname>surveyls_attributecaptions</fieldname> <fieldname>surveyls_alias</fieldname> <fieldname>email_admin_notification_subj</fieldname> <fieldname>email_admin_notification</fieldname> <fieldname>email_admin_responses_subj</fieldname> <fieldname>email_admin_responses</fieldname> <fieldname>surveyls_numberformat</fieldname> <fieldname>attachments</fieldname> </fields> <rows> <row> <surveyls_survey_id><![CDATA[592343]]></surveyls_survey_id> <surveyls_language><![CDATA[en]]></surveyls_language> <surveyls_title><![CDATA[test2]]></surveyls_title> <surveyls_description/> <surveyls_welcometext/> <surveyls_endtext/> <surveyls_policy_notice/> <surveyls_policy_notice_label/> <surveyls_url/> <surveyls_urldescription/> <surveyls_email_invite_subj><![CDATA[Invitation to participate in a survey]]></surveyls_email_invite_subj> <surveyls_email_invite><![CDATA[Dear {FIRSTNAME},<br /> <br /> you have been invited to participate in a survey.<br /> <br /> The survey is titled:<br /> "{SURVEYNAME}"<br /> <br /> "{SURVEYDESCRIPTION}"<br /> <br /> To participate, please click on the link below.<br /> <br /> Sincerely,<br /> <br /> {ADMINNAME} ({ADMINEMAIL})<br /> <br /> ----------------------------------------------<br /> Click here to do the survey:<br /> {SURVEYURL}<br /> <br /> If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:<br /> {OPTOUTURL}<br /> <br /> If you are blacklisted but want to participate in this survey and want to receive invitations please click the following link:<br /> {OPTINURL}]]></surveyls_email_invite> <surveyls_email_remind_subj><![CDATA[Reminder to participate in a survey]]></surveyls_email_remind_subj> <surveyls_email_remind><![CDATA[Dear {FIRSTNAME},<br /> <br /> Recently we invited you to participate in a survey.<br /> <br /> We note that you have not yet completed the survey, and wish to remind you that the survey is still available should you wish to take part.<br /> <br /> The survey is titled:<br /> "{SURVEYNAME}"<br /> <br /> "{SURVEYDESCRIPTION}"<br /> <br /> To participate, please click on the link below.<br /> <br /> Sincerely,<br /> <br /> {ADMINNAME} ({ADMINEMAIL})<br /> <br /> ----------------------------------------------<br /> Click here to do the survey:<br /> {SURVEYURL}<br /> <br /> If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:<br /> {OPTOUTURL}]]></surveyls_email_remind> <surveyls_email_register_subj><![CDATA[Survey registration confirmation]]></surveyls_email_register_subj> <surveyls_email_register><![CDATA[Dear {FIRSTNAME},<br /> <br /> You, or someone using your email address, have registered to participate in an online survey titled {SURVEYNAME}.<br /> <br /> To complete this survey, click on the following URL:<br /> <br /> {SURVEYURL}<br /> <br /> If you have any questions about this survey, or if you did not register to participate and believe this email is in error, please contact {ADMINNAME} at {ADMINEMAIL}.]]></surveyls_email_register> <surveyls_email_confirm_subj><![CDATA[Confirmation of your participation in our survey]]></surveyls_email_confirm_subj> <surveyls_email_confirm><![CDATA[Dear {FIRSTNAME},<br /> <br /> this email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved. Thank you for participating.<br /> <br /> If you have any further questions about this email, please contact {ADMINNAME} on {ADMINEMAIL}.<br /> <br /> Sincerely,<br /> <br /> {ADMINNAME}]]></surveyls_email_confirm> <surveyls_dateformat><![CDATA[9]]></surveyls_dateformat> <email_admin_notification_subj><![CDATA[Response submission for survey {SURVEYNAME}]]></email_admin_notification_subj> <email_admin_notification><![CDATA[Hello,<br /> <br /> A new response was submitted for your survey '{SURVEYNAME}'.<br /> <br /> Click the following link to see the individual response:<br /> {VIEWRESPONSEURL}<br /> <br /> Click the following link to edit the individual response:<br /> {EDITRESPONSEURL}<br /> <br /> View statistics by clicking here:<br /> {STATISTICSURL}]]></email_admin_notification> <email_admin_responses_subj><![CDATA[Response submission for survey {SURVEYNAME} with results]]></email_admin_responses_subj> <email_admin_responses><![CDATA[Hello,<br /> <br /> A new response was submitted for your survey '{SURVEYNAME}'.<br /> <br /> Click the following link to see the individual response:<br /> {VIEWRESPONSEURL}<br /> <br /> Click the following link to edit the individual response:<br /> {EDITRESPONSEURL}<br /> <br /> View statistics by clicking here:<br /> {STATISTICSURL}<br /> <br /> <br /> The following answers were given by the participant:<br /> {ANSWERTABLE}]]></email_admin_responses> <surveyls_numberformat><![CDATA[0]]></surveyls_numberformat> </row> </rows> </surveys_languagesettings> <themes> <theme> <sid>592343</sid> <template_name>fruity</template_name> <config> <options>inherit</options> </config> </theme> <theme> <sid>592343</sid> <template_name>fruity_twentythree</template_name> <config> <options>inherit</options> </config> </theme> <theme> <sid>592343</sid> <template_name>skelvanilla</template_name> <config> <options>inherit</options> </config> </theme> <theme> <sid>592343</sid> <template_name>vanilla</template_name> <config> <options>inherit</options> </config> </theme> </themes> <themes_inherited> <theme> <sid>592343</sid> <template_name>fruity</template_name> <config> <options> <hideprivacyinfo>off</hideprivacyinfo> <showpopups>1</showpopups> <showclearall>off</showclearall> <questionhelptextposition>top</questionhelptextposition> <fixnumauto>enable</fixnumauto> <backgroundimage>off</backgroundimage> <backgroundimagefile>./files/pattern.png</backgroundimagefile> <brandlogo>off</brandlogo> <brandlogofile>image::theme::files/logo.png</brandlogofile> <font>ibm-sans</font> <cssframework>Apple</cssframework> </options> </config> </theme> <theme> <sid>592343</sid> <template_name>fruity_twentythree</template_name> <config> <options> <hideprivacyinfo>off</hideprivacyinfo> <showpopups>1</showpopups> <showclearall>off</showclearall> <questionhelptextposition>top</questionhelptextposition> <fixnumauto>enable</fixnumauto> <backgroundimage>off</backgroundimage> <backgroundimagefile>./files/pattern.png</backgroundimagefile> <brandlogo>off</brandlogo> <brandlogofile>image::theme::files/logo.png</brandlogofile> <font>ibm-sans</font> <cssframework>Apple</cssframework> </options> </config> </theme> <theme> <sid>592343</sid> <template_name>skelvanilla</template_name> <config> <options> <hideprivacyinfo>off</hideprivacyinfo> <showpopups>1</showpopups> <showclearall>off</showclearall> <questionhelptextposition>top</questionhelptextposition> <fixnumauto>enable</fixnumauto> <backgroundimage>off</backgroundimage> <backgroundimagefile>./files/pattern.png</backgroundimagefile> <brandlogo>off</brandlogo> <brandlogofile>image::theme::files/logo.png</brandlogofile> <font>ibm-sans</font> <cssframework>Apple</cssframework> </options> </config> </theme> <theme> <sid>592343</sid> <template_name>vanilla</template_name> <config> <options> <hideprivacyinfo>off</hideprivacyinfo> <showpopups>1</showpopups> <showclearall>off</showclearall> <questionhelptextposition>top</questionhelptextposition> <fixnumauto>enable</fixnumauto> <backgroundimage>off</backgroundimage> <backgroundimagefile>./files/pattern.png</backgroundimagefile> <brandlogo>off</brandlogo> <brandlogofile>image::theme::files/logo.png</brandlogofile> <font>ibm-sans</font> <cssframework>Apple</cssframework> </options> </config> </theme> </themes_inherited> </document> |
|
This issue has been solved, but I am getting another one after I import survey you provided. Do you know by any chance if this was already reported? Happens on master as well, with debug=2, php 8.1 |
|
Ah, this https://github.com/LimeSurvey/LimeSurvey/pull/3589 fixes the issue I mentioned above. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=35727 |
|
Ah yes … sorry … this survey have both issue … |
|
Fixed in Release 6.3.5+231113 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2023-11-03 10:20 | DenisChenu | New Issue | |
2023-11-03 10:20 | DenisChenu | File Added: PHP error.html | |
2023-11-03 15:02 | DenisChenu | Assigned To | => DenisChenu |
2023-11-03 15:02 | DenisChenu | Status | new => assigned |
2023-11-03 15:12 | DenisChenu | Assigned To | DenisChenu => gabrieljenik |
2023-11-03 15:12 | DenisChenu | Status | assigned => ready for testing |
2023-11-03 15:12 | DenisChenu | Note Added: 78249 | |
2023-11-03 15:12 | DenisChenu | Bug heat | 0 => 2 |
2023-11-03 20:57 | gabrieljenik | Assigned To | gabrieljenik => DenisChenu |
2023-11-06 09:50 | DenisChenu | Assigned To | DenisChenu => tibor.pacalat |
2023-11-06 14:52 | tibor.pacalat | Note Added: 78284 | |
2023-11-06 14:52 | tibor.pacalat | Bug heat | 2 => 4 |
2023-11-06 15:46 | DenisChenu | Note Added: 78288 | |
2023-11-06 15:46 | DenisChenu | File Added: limesurvey_survey_592343.lss | |
2023-11-07 16:16 | tibor.pacalat | Note Added: 78320 | |
2023-11-07 16:16 | tibor.pacalat | File Added: Screenshot 2023-11-07 at 16.11.26.png | |
2023-11-07 16:19 | tibor.pacalat | Note Added: 78321 | |
2023-11-07 16:19 | tibor.pacalat | Status | ready for testing => resolved |
2023-11-07 16:19 | tibor.pacalat | Resolution | open => fixed |
2023-11-07 16:24 | DenisChenu | Changeset attached | => LimeSurvey master 5dfeae87 |
2023-11-07 16:24 | DenisChenu | Note Added: 78324 | |
2023-11-07 16:24 | DenisChenu | Assigned To | tibor.pacalat => DenisChenu |
2023-11-07 16:42 | DenisChenu | Note Added: 78325 | |
2023-11-13 15:43 | LimeBot | Note Added: 78423 | |
2023-11-13 15:43 | LimeBot | Status | resolved => closed |
2023-11-13 15:43 | LimeBot | Bug heat | 4 => 6 |