View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
07266Bug reportsSurvey takingpublic2013-03-02 16:34
Reporterhelper Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary07266: Unable to preview an inactive survey group with multiple numeric slider
Description

See attached error. Preview at the question level or at the survey level seems fine.

Steps To Reproduce
  1. Load attached survey
  2. Navigate to the group level
  3. Preview group
TagsNo tags attached.
Attached Files
PHP notice.htm (32,316 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 notice</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 notice</h1>

	<p class="message">
		Undefined index: 578129X282X2377CAT1	</p>

	<div class="source">
		<p class="file">C:\etc\Apache\htdocs\MSSQL\application\helpers\qanda_helper.php(3376)</p>
		<div class="code"><pre><span class="ln">3364</span>                 if (isset($answer_and_slider_array[2]))
<span class="ln">3365</span>                     $sliderright=$answer_and_slider_array[2];
<span class="ln">3366</span>                 else
<span class="ln">3367</span>                     $sliderright = &#039;&#039;;
<span class="ln">3368</span> 
<span class="ln">3369</span>                 $sliderleft=&quot;&lt;div class=\&quot;slider_lefttext\&quot;&gt;$sliderleft&lt;/div&gt;&quot;;
<span class="ln">3370</span>                 $sliderright=&quot;&lt;div class=\&quot;slider_righttext\&quot;&gt;$sliderright&lt;/div&gt;&quot;;
<span class="ln">3371</span>             }
<span class="ln">3372</span> 
<span class="ln">3373</span>             // color code missing mandatory questions red
<span class="ln">3374</span>             if ($ia[6]==&#039;Y&#039; &amp;&amp; (($_SESSION[&#039;survey_&#039;.Yii::app()-&gt;getConfig(&#039;surveyID&#039;)][&#039;step&#039;] == $_SESSION[&#039;survey_&#039;.Yii::app()-&gt;getConfig(&#039;surveyID&#039;)][&#039;prevstep&#039;])
<span class="ln">3375</span>                     || ($_SESSION[&#039;survey_&#039;.Yii::app()-&gt;getConfig(&#039;surveyID&#039;)][&#039;maxstep&#039;] &gt; $_SESSION[&#039;survey_&#039;.Yii::app()-&gt;getConfig(&#039;surveyID&#039;)][&#039;step&#039;]))
<span class="error"><span class="ln error-ln">3376</span>                     &amp;&amp; $_SESSION[&#039;survey_&#039;.Yii::app()-&gt;getConfig(&#039;surveyID&#039;)][$myfname] === &#039;&#039;) {
</span><span class="ln">3377</span>                 $theanswer = &quot;&lt;span class=&#039;errormandatory&#039;&gt;{$theanswer}&lt;/span&gt;&quot;;
<span class="ln">3378</span>             }
<span class="ln">3379</span> 
<span class="ln">3380</span>             list($htmltbody2, $hiddenfield)=return_array_filter_strings($ia, $aQuestionAttributes, $thissurvey, $ansrow, $myfname, &#039;&#039;, $myfname, &quot;li&quot;,&quot;question-item answer-item text-item numeric-item&quot;.$extraclass);
<span class="ln">3381</span>             $answer_main .= &quot;\t$htmltbody2\n&quot;;
<span class="ln">3382</span>             if ($slider_layout === false)
<span class="ln">3383</span>             {
<span class="ln">3384</span>                 $answer_main .= &quot;&lt;label for=\&quot;answer$myfname\&quot;&gt;{$theanswer}&lt;/label&gt;\n&quot;;
<span class="ln">3385</span>             }
<span class="ln">3386</span>             else
<span class="ln">3387</span>             {
<span class="ln">3388</span>                 $answer_main .= &quot;&lt;label for=\&quot;answer$myfname\&quot; class=\&quot;slider-label\&quot;&gt;{$theanswer}&lt;/label&gt;\n&quot;;
</pre></div>	</div>

	<div class="traces">
		<h2>Stack Trace</h2>
				<table style="width:100%;">
						<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>
										&nbsp;C:\etc\Apache\htdocs\MSSQL\application\helpers\qanda_helper.php(225): <strong>do_multiplenumeric</strong>(array(&quot;2377&quot;, &quot;578129X282X2377&quot;, &quot;CAT_GROUP&quot;, &quot;&lt;p&gt;
	This questionnaire will help you and your healthcare profe...&quot;, ...))				</div>

				<div class="code"><pre><span class="ln">220</span>             break;
<span class="ln">221</span>         case &#039;Q&#039;: //MULTIPLE SHORT TEXT
<span class="ln">222</span>             $values=do_multipleshorttext($ia);
<span class="ln">223</span>             break;
<span class="ln">224</span>         case &#039;K&#039;: //MULTIPLE NUMERICAL QUESTION
<span class="error"><span class="ln error-ln">225</span>             $values=do_multiplenumeric($ia);
</span><span class="ln">226</span>             break;
<span class="ln">227</span>         case &#039;N&#039;: //NUMERICAL QUESTION TYPE
<span class="ln">228</span>             $values=do_numerical($ia);
<span class="ln">229</span>             break;
<span class="ln">230</span>         case &#039;S&#039;: //SHORT FREE TEXT
</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>
										&nbsp;C:\etc\Apache\htdocs\MSSQL\application\helpers\SurveyRuntimeHelper.php(678): <strong>retrieveAnswers</strong>(array(&quot;2377&quot;, &quot;578129X282X2377&quot;, &quot;CAT_GROUP&quot;, &quot;&lt;p&gt;
	This questionnaire will help you and your healthcare profe...&quot;, ...), &quot;578129&quot;)				</div>

				<div class="code"><pre><span class="ln">673</span>                     }
<span class="ln">674</span> 
<span class="ln">675</span>                     //Get the answers/inputnames
<span class="ln">676</span>                     // TMSW - can content of retrieveAnswers() be provided by LEM?  Review scope of what it provides.
<span class="ln">677</span>                     // TODO - retrieveAnswers is slow - queries database separately for each question. May be fixed in _CI or _YII ports, so ignore for now
<span class="error"><span class="ln error-ln">678</span>                     list($plus_qanda, $plus_inputnames) = retrieveAnswers($ia, $surveyid);
</span><span class="ln">679</span>                     if ($plus_qanda)
<span class="ln">680</span>                     {
<span class="ln">681</span>                         $plus_qanda[] = $ia[4];
<span class="ln">682</span>                         $plus_qanda[] = $ia[6]; // adds madatory identifyer for adding mandatory class to question wrapping div
<span class="ln">683</span>                         $qanda[] = $plus_qanda;
</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>
										&nbsp;C:\etc\Apache\htdocs\MSSQL\application\controllers\survey\index.php(651): <strong>SurveyRuntimeHelper</strong>-><strong>run</strong>(&quot;578129&quot;, array(&quot;surveyid&quot; =&gt; &quot;578129&quot;, &quot;thissurvey&quot; =&gt; array(&quot;sid&quot; =&gt; &quot;578129&quot;, &quot;owner_id&quot; =&gt; &quot;1&quot;, &quot;admin&quot; =&gt; &quot;Bruce Taggart&quot;, &quot;active&quot; =&gt; &quot;N&quot;, ...), &quot;thisstep&quot; =&gt; &quot;&quot;, &quot;tokensexist&quot; =&gt; 0, ...))				</div>

				<div class="code"><pre><span class="ln">646</span>         //Send local variables to the appropriate survey type
<span class="ln">647</span>         unset($redata);
<span class="ln">648</span>         $redata = compact(array_keys(get_defined_vars()));
<span class="ln">649</span>         Yii::import(&#039;application.helpers.SurveyRuntimeHelper&#039;);
<span class="ln">650</span>         $tmp = new SurveyRuntimeHelper();
<span class="error"><span class="ln error-ln">651</span>         $tmp-&gt;run($surveyid,$redata);
</span><span class="ln">652</span> 
<span class="ln">653</span>         if (isset($_POST[&#039;saveall&#039;]) || isset($flashmessage))
<span class="ln">654</span>         {
<span class="ln">655</span>             echo &quot;\t\t&lt;script type=&#039;text/javascript&#039;&gt;
<span class="ln">656</span>                 $(document).ready( function() {
</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>
										&nbsp;C:\etc\Apache\htdocs\MSSQL\application\controllers\survey\index.php(18): <strong>index</strong>-><strong>action</strong>()				</div>

				<div class="code"><pre><span class="ln">13</span> 
<span class="ln">14</span> class index extends CAction {
<span class="ln">15</span> 
<span class="ln">16</span>     public function run()
<span class="ln">17</span>     {
<span class="error"><span class="ln error-ln">18</span>         $this-&gt;action();
</span><span class="ln">19</span>     }
<span class="ln">20</span> 
<span class="ln">21</span>     function action()
<span class="ln">22</span>     {
<span class="ln">23</span>         global $surveyid;
</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>
										&nbsp;C:\etc\Apache\htdocs\MSSQL\framework\web\actions\CAction.php(75): <strong>index</strong>-><strong>run</strong>()				</div>

				<div class="code"><pre><span class="ln">70</span>     {
<span class="ln">71</span>         $method=new ReflectionMethod($this, &#039;run&#039;);
<span class="ln">72</span>         if($method-&gt;getNumberOfParameters()&gt;0)
<span class="ln">73</span>             return $this-&gt;runWithParamsInternal($this, $method, $params);
<span class="ln">74</span>         else
<span class="error"><span class="ln error-ln">75</span>             return $this-&gt;run();
</span><span class="ln">76</span>     }
<span class="ln">77</span> 
<span class="ln">78</span>     /**
<span class="ln">79</span>      * Executes a method of an object with the supplied named parameters.
<span class="ln">80</span>      * This method is internally used.
</pre></div>			</td>
		</tr>
						<tr class="trace core collapsed">
			<td class="number">
				#5			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;C:\etc\Apache\htdocs\MSSQL\framework\web\CController.php(309): <strong>CAction</strong>-><strong>runWithParams</strong>(array(&quot;action&quot; =&gt; &quot;previewgroup&quot;, &quot;sid&quot; =&gt; &quot;578129&quot;, &quot;gid&quot; =&gt; &quot;282&quot;))				</div>

				<div class="code"><pre><span class="ln">304</span>     {
<span class="ln">305</span>         $priorAction=$this-&gt;_action;
<span class="ln">306</span>         $this-&gt;_action=$action;
<span class="ln">307</span>         if($this-&gt;beforeAction($action))
<span class="ln">308</span>         {
<span class="error"><span class="ln error-ln">309</span>             if($action-&gt;runWithParams($this-&gt;getActionParams())===false)
</span><span class="ln">310</span>                 $this-&gt;invalidActionParams($action);
<span class="ln">311</span>             else
<span class="ln">312</span>                 $this-&gt;afterAction($action);
<span class="ln">313</span>         }
<span class="ln">314</span>         $this-&gt;_action=$priorAction;
</pre></div>			</td>
		</tr>
						<tr class="trace core collapsed">
			<td class="number">
				#6			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;C:\etc\Apache\htdocs\MSSQL\framework\web\CController.php(287): <strong>CController</strong>-><strong>runAction</strong>(index)				</div>

				<div class="code"><pre><span class="ln">282</span>      * @see runAction
<span class="ln">283</span>      */
<span class="ln">284</span>     public function runActionWithFilters($action,$filters)
<span class="ln">285</span>     {
<span class="ln">286</span>         if(empty($filters))
<span class="error"><span class="ln error-ln">287</span>             $this-&gt;runAction($action);
</span><span class="ln">288</span>         else
<span class="ln">289</span>         {
<span class="ln">290</span>             $priorAction=$this-&gt;_action;
<span class="ln">291</span>             $this-&gt;_action=$action;
<span class="ln">292</span>             CFilterChain::create($this,$action,$filters)-&gt;run();
</pre></div>			</td>
		</tr>
						<tr class="trace core collapsed">
			<td class="number">
				#7			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;C:\etc\Apache\htdocs\MSSQL\framework\web\CController.php(266): <strong>CController</strong>-><strong>runActionWithFilters</strong>(index, array())				</div>

				<div class="code"><pre><span class="ln">261</span>         {
<span class="ln">262</span>             if(($parent=$this-&gt;getModule())===null)
<span class="ln">263</span>                 $parent=Yii::app();
<span class="ln">264</span>             if($parent-&gt;beforeControllerAction($this,$action))
<span class="ln">265</span>             {
<span class="error"><span class="ln error-ln">266</span>                 $this-&gt;runActionWithFilters($action,$this-&gt;filters());
</span><span class="ln">267</span>                 $parent-&gt;afterControllerAction($this,$action);
<span class="ln">268</span>             }
<span class="ln">269</span>         }
<span class="ln">270</span>         else
<span class="ln">271</span>             $this-&gt;missingAction($actionID);
</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>
										&nbsp;C:\etc\Apache\htdocs\MSSQL\framework\web\CWebApplication.php(276): <strong>CController</strong>-><strong>run</strong>(&quot;index&quot;)				</div>

				<div class="code"><pre><span class="ln">271</span>         {
<span class="ln">272</span>             list($controller,$actionID)=$ca;
<span class="ln">273</span>             $oldController=$this-&gt;_controller;
<span class="ln">274</span>             $this-&gt;_controller=$controller;
<span class="ln">275</span>             $controller-&gt;init();
<span class="error"><span class="ln error-ln">276</span>             $controller-&gt;run($actionID);
</span><span class="ln">277</span>             $this-&gt;_controller=$oldController;
<span class="ln">278</span>         }
<span class="ln">279</span>         else
<span class="ln">280</span>             throw new CHttpException(404,Yii::t(&#039;yii&#039;,&#039;Unable to resolve the request &quot;{route}&quot;.&#039;,
<span class="ln">281</span>                 array(&#039;{route}&#039;=&gt;$route===&#039;&#039;?$this-&gt;defaultController:$route)));
</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>
										&nbsp;C:\etc\Apache\htdocs\MSSQL\framework\web\CWebApplication.php(135): <strong>CWebApplication</strong>-><strong>runController</strong>(&quot;survey/index/action/previewgroup/sid/578129/gid/282&quot;)				</div>

				<div class="code"><pre><span class="ln">130</span>             foreach(array_splice($this-&gt;catchAllRequest,1) as $name=&gt;$value)
<span class="ln">131</span>                 $_GET[$name]=$value;
<span class="ln">132</span>         }
<span class="ln">133</span>         else
<span class="ln">134</span>             $route=$this-&gt;getUrlManager()-&gt;parseUrl($this-&gt;getRequest());
<span class="error"><span class="ln error-ln">135</span>         $this-&gt;runController($route);
</span><span class="ln">136</span>     }
<span class="ln">137</span> 
<span class="ln">138</span>     /**
<span class="ln">139</span>      * Registers the core application components.
<span class="ln">140</span>      * This method overrides the parent implementation by registering additional core components.
</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>
										&nbsp;C:\etc\Apache\htdocs\MSSQL\framework\base\CApplication.php(162): <strong>CWebApplication</strong>-><strong>processRequest</strong>()				</div>

				<div class="code"><pre><span class="ln">157</span>      */
<span class="ln">158</span>     public function run()
<span class="ln">159</span>     {
<span class="ln">160</span>         if($this-&gt;hasEventHandler(&#039;onBeginRequest&#039;))
<span class="ln">161</span>             $this-&gt;onBeginRequest(new CEvent($this));
<span class="error"><span class="ln error-ln">162</span>         $this-&gt;processRequest();
</span><span class="ln">163</span>         if($this-&gt;hasEventHandler(&#039;onEndRequest&#039;))
<span class="ln">164</span>             $this-&gt;onEndRequest(new CEvent($this));
<span class="ln">165</span>     }
<span class="ln">166</span> 
<span class="ln">167</span>     /**
</pre></div>			</td>
		</tr>
						<tr class="trace app collapsed">
			<td class="number">
				#11			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;C:\etc\Apache\htdocs\MSSQL\index.php(178): <strong>CApplication</strong>-><strong>run</strong>()				</div>

				<div class="code"><pre><span class="ln">173</span>  *
<span class="ln">174</span>  */
<span class="ln">175</span> require_once BASEPATH . &#039;yii&#039; . EXT;
<span class="ln">176</span> require_once APPPATH . &#039;core/LSYii_Application&#039; . EXT;
<span class="ln">177</span> 
<span class="error"><span class="ln error-ln">178</span> Yii::createApplication(&#039;LSYii_Application&#039;, APPPATH . &#039;config/config&#039; . EXT)-&gt;run();
</span><span class="ln">179</span> 
<span class="ln">180</span> /* End of file index.php */
<span class="ln">181</span> /* Location: ./index.php */
</pre></div>			</td>
		</tr>
				</table>
	</div>

	<div class="version">
		2013-02-04 09:06:43 Apache/2.4.3 (Win32) OpenSSL/0.9.8x PHP/5.4.8 <a href="http://www.yiiframework.com/">Yii Framework</a>/1.1.10	</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>
<script type="text/javascript">
/*<![CDATA[*/
if(typeof(console)=='object')
{
	console.group("Application Log");
	console.log("[09:06:43.737][trace][system.db.CDbConnection] Opening DB connection");
	console.log("[09:06:43.757][trace][system.db.CDbCommand] Querying SQL: SHOW COLUMNS FROM `lime_settings_global`");
	console.log("[09:06:43.765][trace][system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `lime_settings_global`");
	console.log("[09:06:43.765][trace][system.db.ar.CActiveRecord] Settings_global.findAll()");
	console.log("[09:06:43.767][trace][system.db.CDbCommand] Querying SQL: SELECT * FROM `lime_settings_global` `t`");
	console.log("[09:06:43.827][trace][system.db.CDbCommand] Querying SQL: SHOW COLUMNS FROM `lime_surveys`");
	console.log("[09:06:43.836][trace][system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `lime_surveys`");
	console.log("[09:06:43.837][trace][system.db.ar.CActiveRecord] Survey.findByPk()");
	console.log("[09:06:43.837][trace][system.db.CDbCommand] Querying SQL: SELECT * FROM `lime_surveys` `t` WHERE `t`.`sid`=578129 LIMIT 1");
	console.log("[09:06:43.838][trace][system.db.CDbCommand] Querying SQL: SHOW COLUMNS FROM `lime_surveys_languagesettings`");
	console.log("[09:06:43.845][trace][system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `lime_surveys_languagesettings`");
	console.log("[09:06:43.845][trace][system.db.ar.CActiveRecord] Surveys_languagesettings.findByPk()");
	console.log("[09:06:43.850][trace][system.db.CDbCommand] Querying SQL: SELECT `t`.`surveyls_survey_id` AS `t0_c0`, `t`.`surveyls_language` AS `t0_c1`, `t`.`surveyls_title` AS `t0_c2`, `t`.`surveyls_description` AS `t0_c3`, `t`.`surveyls_welcometext` AS `t0_c4`, `t`.`surveyls_endtext` AS `t0_c5`, `t`.`surveyls_url` AS `t0_c6`, `t`.`surveyls_urldescription` AS `t0_c7`, `t`.`surveyls_email_invite_subj` AS `t0_c8`, `t`.`surveyls_email_invite` AS `t0_c9`, `t`.`surveyls_email_remind_subj` AS `t0_c10`, `t`.`surveyls_email_remind` AS `t0_c11`, `t`.`surveyls_email_register_subj` AS `t0_c12`, `t`.`surveyls_email_register` AS `t0_c13`, `t`.`surveyls_email_confirm_subj` AS `t0_c14`, `t`.`surveyls_email_confirm` AS `t0_c15`, `t`.`surveyls_dateformat` AS `t0_c16`, `t`.`surveyls_attributecaptions` AS `t0_c17`, `t`.`email_admin_notification_subj` AS `t0_c18`, `t`.`email_admin_notification` AS `t0_c19`, `t`.`email_admin_responses_subj` AS `t0_c20`, `t`.`email_admin_responses` AS `t0_c21`, `t`.`surveyls_numberformat` AS `t0_c22`, `survey`.`sid` AS `t1_c0`, `survey`.`owner_id` AS `t1_c1`, `survey`.`admin` AS `t1_c2`, `survey`.`active` AS `t1_c3`, `survey`.`expires` AS `t1_c4`, `survey`.`startdate` AS `t1_c5`, `survey`.`adminemail` AS `t1_c6`, `survey`.`anonymized` AS `t1_c7`, `survey`.`faxto` AS `t1_c8`, `survey`.`format` AS `t1_c9`, `survey`.`savetimings` AS `t1_c10`, `survey`.`template` AS `t1_c11`, `survey`.`language` AS `t1_c12`, `survey`.`additional_languages` AS `t1_c13`, `survey`.`datestamp` AS `t1_c14`, `survey`.`usecookie` AS `t1_c15`, `survey`.`allowregister` AS `t1_c16`, `survey`.`allowsave` AS `t1_c17`, `survey`.`autonumber_start` AS `t1_c18`, `survey`.`autoredirect` AS `t1_c19`, `survey`.`allowprev` AS `t1_c20`, `survey`.`printanswers` AS `t1_c21`, `survey`.`ipaddr` AS `t1_c22`, `survey`.`refurl` AS `t1_c23`, `survey`.`datecreated` AS `t1_c24`, `survey`.`publicstatistics` AS `t1_c25`, `survey`.`publicgraphs` AS `t1_c26`, `survey`.`listpublic` AS `t1_c27`, `survey`.`htmlemail` AS `t1_c28`, `survey`.`sendconfirmation` AS `t1_c29`, `survey`.`tokenanswerspersistence` AS `t1_c30`, `survey`.`assessments` AS `t1_c31`, `survey`.`usecaptcha` AS `t1_c32`, `survey`.`usetokens` AS `t1_c33`, `survey`.`bounce_email` AS `t1_c34`, `survey`.`attributedescriptions` AS `t1_c35`, `survey`.`emailresponseto` AS `t1_c36`, `survey`.`emailnotificationto` AS `t1_c37`, `survey`.`tokenlength` AS `t1_c38`, `survey`.`showxquestions` AS `t1_c39`, `survey`.`showgroupinfo` AS `t1_c40`, `survey`.`shownoanswer` AS `t1_c41`, `survey`.`showqnumcode` AS `t1_c42`, `survey`.`bouncetime` AS `t1_c43`, `survey`.`bounceprocessing` AS `t1_c44`, `survey`.`bounceaccounttype` AS `t1_c45`, `survey`.`bounceaccounthost` AS `t1_c46`, `survey`.`bounceaccountpass` AS `t1_c47`, `survey`.`bounceaccountencryption` AS `t1_c48`, `survey`.`bounceaccountuser` AS `t1_c49`, `survey`.`showwelcome` AS `t1_c50`, `survey`.`showprogress` AS `t1_c51`, `survey`.`allowjumps` AS `t1_c52`, `survey`.`navigationdelay` AS `t1_c53`, `survey`.`nokeyboard` AS `t1_c54`, `survey`.`alloweditaftercompletion` AS `t1_c55`, `survey`.`googleanalyticsstyle` AS `t1_c56`, `survey`.`googleanalyticsapikey` AS `t1_c57` FROM `lime_surveys_languagesettings` `t`  LEFT OUTER JOIN `lime_surveys` `survey` ON (t.surveyls_survey_id = survey.sid)  WHERE (`t`.`surveyls_survey_id`=578129 AND `t`.`surveyls_language`=\'en\')");
	console.log("[09:06:43.858][trace][system.db.CDbCommand] Querying SQL: SELECT * FROM lime_groups WHERE sid=578129 AND language=\'en\' ORDER BY group_order");
	console.log("[09:06:43.859][trace][system.db.CDbCommand] Querying SQL: SELECT title, question FROM lime_questions WHERE qid=2377 AND language=\'en\'");
	console.log("[09:06:43.859][trace][system.db.CDbCommand] Querying SQL: SHOW TABLES");
	console.log("[09:06:43.864][trace][system.db.CDbCommand] Querying SQL: SELECT * FROM lime_groups WHERE sid=578129 AND language=\'en\' ORDER BY group_order");
	console.log("[09:06:43.865][trace][system.db.CDbCommand] Querying SQL: SELECT count(*)\n FROM lime_groups INNER JOIN lime_questions ON lime_groups.gid = lime_questions.gid\n WHERE lime_questions.sid=578129\n AND lime_groups.language=\'en\'\n AND lime_questions.language=\'en\'\n AND lime_questions.parent_qid=0\n");
	console.log("[09:06:43.867][trace][system.db.CDbCommand] Querying SQL: SELECT count(*)\n FROM lime_questions WHERE type in (\'X\',\'*\')\n AND sid=578129 AND language=\'en\' AND parent_qid=0");
	console.log("[09:06:43.874][trace][system.db.CDbCommand] Querying SQL: SHOW COLUMNS FROM `lime_defaultvalues`");
	console.log("[09:06:43.881][trace][system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `lime_defaultvalues`");
	console.log("[09:06:43.881][trace][system.db.ar.CActiveRecord] Defaultvalues.findAll()");
	console.log("[09:06:43.883][trace][system.db.CDbCommand] Querying SQL: SHOW COLUMNS FROM `lime_questions`");
	console.log("[09:06:43.890][trace][system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `lime_questions`");
	console.log("[09:06:43.890][trace][system.db.CDbCommand] Querying SQL: SELECT `t`.`qid` AS `t0_c0`, `t`.`scale_id` AS `t0_c1`, `t`.`sqid` AS `t0_c2`, `t`.`language` AS `t0_c3`, `t`.`specialtype` AS `t0_c4`, `t`.`defaultvalue` AS `t0_c5`, `question`.`qid` AS `t1_c0`, `question`.`parent_qid` AS `t1_c1`, `question`.`sid` AS `t1_c2`, `question`.`gid` AS `t1_c3`, `question`.`type` AS `t1_c4`, `question`.`title` AS `t1_c5`, `question`.`question` AS `t1_c6`, `question`.`preg` AS `t1_c7`, `question`.`help` AS `t1_c8`, `question`.`other` AS `t1_c9`, `question`.`mandatory` AS `t1_c10`, `question`.`question_order` AS `t1_c11`, `question`.`language` AS `t1_c12`, `question`.`scale_id` AS `t1_c13`, `question`.`same_default` AS `t1_c14`, `question`.`relevance` AS `t1_c15` FROM `lime_defaultvalues` `t`  LEFT OUTER JOIN `lime_questions` `question` ON (t.qid = question.qid)  WHERE (question.sid=578129)");
	console.log("[09:06:43.891][trace][system.db.CDbCommand] Querying SQL: SELECT a.qid, a.sqid, a.scale_id, a.specialtype, a.defaultvalue FROM lime_defaultvalues as a, lime_questions as b WHERE a.qid = b.qid AND a.language = b.language AND a.language = \'en\' AND b.same_default=0 AND b.sid = 578129");
	console.log("[09:06:43.891][trace][system.db.CDbCommand] Querying SQL: SELECT a.qid, a.sqid, a.scale_id, a.specialtype, a.defaultvalue FROM lime_defaultvalues as a, lime_questions as b WHERE a.qid = b.qid AND a.language = b.language AND a.language = \'en\' AND b.same_default=1 AND b.sid = 578129");
	console.log("[09:06:43.892][trace][system.db.CDbCommand] Querying SQL: SELECT *  FROM lime_questions as questions, lime_groups as groups WHERE questions.gid=groups.gid AND  questions.sid=578129 AND  questions.language=\'en\' AND  questions.parent_qid=0 AND  groups.language=\'en\'  ORDER BY group_order, question_order");
	console.log("[09:06:43.899][trace][system.db.CDbCommand] Querying SQL: SELECT sq.*, q.other FROM lime_questions as sq, lime_questions as q WHERE sq.parent_qid=q.qid AND q.sid=578129 AND sq.language=\'en\'  AND q.language=\'en\'  ORDER BY sq.parent_qid, q.question_order,sq.scale_id , sq.question_order");
	console.log("[09:06:43.906][trace][system.db.CDbCommand] Querying SQL: SHOW COLUMNS FROM `lime_groups`");
	console.log("[09:06:43.913][trace][system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `lime_groups`");
	console.log("[09:06:43.913][trace][system.db.ar.CActiveRecord] Groups.findAll()");
	console.log("[09:06:43.914][trace][system.db.CDbCommand] Querying SQL: SELECT * FROM `lime_groups` `t` WHERE (sid=:ycp0 AND language=:ycp1) AND (randomization_group != \'\'). Bound with :ycp0=\'578129\', :ycp1=\'en\'");
	console.log("[09:06:43.914][trace][system.db.CDbCommand] Querying SQL: SELECT attr.qid, value FROM lime_question_attributes as attr right join lime_questions as quests on attr.qid=quests.qid WHERE attribute=\'random_group\' and value <> \'\' and sid=578129 GROUP BY attr.qid, value");
	console.log("[09:06:43.918][trace][system.db.CDbCommand] Querying SQL: SHOW COLUMNS FROM `lime_survey_url_parameters`");
	console.log("[09:06:43.925][trace][system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `lime_survey_url_parameters`");
	console.log("[09:06:43.926][trace][system.db.CDbCommand] Querying SQL: select \'\' as act, up.*,q.title, sq.title as sqtitle, q.question, sq.question as sqquestion from lime_survey_url_parameters up\n                left join lime_questions q on q.qid=up.targetqid\n                left join lime_questions sq on q.qid=up.targetsqid\n            where up.sid=:surveyid. Bound with :surveyid=\'578129\'");
	console.log("[09:06:43.951][trace][system.db.ar.CActiveRecord] Questions.findByAttributes()");
	console.log("[09:06:43.951][trace][system.db.CDbCommand] Querying SQL: SELECT * FROM `lime_questions` `t` WHERE `t`.`qid`=:yp0 LIMIT 1. Bound with :yp0=\'2377\'");
	console.log("[09:06:43.957][trace][system.db.CDbCommand] Querying SQL: SHOW COLUMNS FROM `lime_question_attributes`");
	console.log("[09:06:43.964][trace][system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `lime_question_attributes`");
	console.log("[09:06:43.964][trace][system.db.ar.CActiveRecord] Question_attributes.findAllByAttributes()");
	console.log("[09:06:43.965][trace][system.db.CDbCommand] Querying SQL: SELECT * FROM `lime_question_attributes` `t` WHERE `t`.`qid`=:yp0. Bound with :yp0=\'2377\'");
	console.log("[09:06:43.966][trace][system.db.CDbCommand] Querying SQL: SELECT * FROM lime_questions WHERE parent_qid=2377  AND language=\'en\' ORDER BY question_order");
	console.groupEnd();
}
/*]]>*/
</script>
PHP notice.htm (32,316 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)130129
I will donate to the project if issue is resolvedNo
BrowserFF
Database type & versionmySQL and SQL Server
Server OS (if known)Windows 7 and 2008r2
Webserver software & version (if known)Apache 2.4.3
PHP Version5.4.8

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2013-02-07 13:17

developer   ~23985

With debug to 0, think it's OK. But right need some test here.

c_schmitz

c_schmitz

2013-02-12 22:52

administrator   ~24049

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=11621

c_schmitz

c_schmitz

2013-02-13 22:11

administrator   ~24058

New build 130213 released.

c_schmitz

c_schmitz

2013-03-02 16:34

administrator   ~24469

Fix committed to 2.1 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=11713

Related Changesets

LimeSurvey: master 23762882

2013-02-12 21:52:18

c_schmitz

Details Diff
Fixed issue 07266: Unable to preview an inactive survey group with multiple numeric slider Affected Issues
07266
mod - application/helpers/SurveyRuntimeHelper.php Diff File

LimeSurvey: 2.1 30048048

2013-02-12 21:52:18

c_schmitz

Details Diff
Fixed issue 07266: Unable to preview an inactive survey group with multiple numeric slider Affected Issues
07266
mod - application/helpers/SurveyRuntimeHelper.php Diff File

Issue History

Date Modified Username Field Change
2013-02-04 15:10 helper New Issue
2013-02-04 15:10 helper File Added: limesurvey_survey_578129(1).lss
2013-02-04 15:11 helper File Added: PHP notice.htm
2013-02-07 13:17 DenisChenu Note Added: 23985
2013-02-07 21:21 c_schmitz Assigned To => c_schmitz
2013-02-07 21:21 c_schmitz Status new => assigned
2013-02-12 22:52 c_schmitz Status assigned => resolved
2013-02-12 22:52 c_schmitz Fixed in Version => 2.00+
2013-02-12 22:52 c_schmitz Resolution open => fixed
2013-02-12 22:52 c_schmitz Changeset attached => LimeSurvey master 23762882
2013-02-12 22:52 c_schmitz Note Added: 24049
2013-02-13 22:11 c_schmitz Note Added: 24058
2013-02-13 22:11 c_schmitz Status resolved => closed
2013-03-02 16:34 c_schmitz Changeset attached => LimeSurvey 2.1 30048048
2013-03-02 16:34 c_schmitz Note Added: 24469