View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
19578Bug reportsPluginspublic2024-10-15 08:55
ReporterDenisChenu Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status assignedResolutionreopened 
Product Version5.6.x 
Summary19578: After upgrade to 5 or 6 with MSSQL : no way to access to plugin configuration.
Description

When upgrading with user plugin : no plugin have configuration

Steps To Reproduce

Steps to reproduce

Have a LS3 with plugin on MS SQL
Example with https://forums.limesurvey.org/forum/plugins/114050-plugin-addscripttoquestion-more-easy-to-javascript-to-question
Upgrade to 5
Test plugin : it work
Try to configure or access to information :

Expected result

See version and plugin configuration access

Actual result

Error : could not get plugin description : unknow tipe NULL

TagsNo tags attached.
Attached Files
image001.png (20,568 bytes)   
image001.png (20,568 bytes)   
Bug heat6
Complete LimeSurvey version number (& build) 5.6.59 or 6.5.9
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionmssql
Server OS (if known)windows
Webserver software & version (if known)IIS
PHP Version8.0

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2024-05-31 14:54

developer   ~80184

It's related to DEFAULT value : https://github.com/LimeSurvey/LimeSurvey/blob/5631f3db2b0fea4cf33ce387c243edd5259ec10f/application/helpers/update/updates/Update_402.php#L11

string(6) default 'user' or string(6) NULL default 'user' didn't work, table didn't have default value.

c_schmitz

c_schmitz

2024-09-03 17:13

administrator   ~80884

NULL & DEFAULT always need to be uppercase to work with all DB types-

c_schmitz

c_schmitz

2024-09-03 17:27

administrator   ~80886

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

c_schmitz

c_schmitz

2024-09-03 18:02

administrator   ~80888

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

LimeBot

LimeBot

2024-09-09 18:36

administrator   ~80939

Fixed in Release 6.6.3+240909

DenisChenu

DenisChenu

2024-09-23 14:59

developer   ~81085

I still have some issue with this method.

DenisChenu

DenisChenu

2024-09-23 15:00

developer   ~81086

PHP warning.htm.txt (53,287 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 warning</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 warning</h1>

	<p class="message">
		Undefined array key &quot;&quot;	</p>

	<div class="source">
		<p class="file">E:\WEB\limesurvey\www\application\models\Plugin.php(360)</p>
		<div class="code"><pre><span class="ln">348</span>     }
<span class="ln">349</span> 
<span class="ln">350</span>     /**
<span class="ln">351</span>      * Get installation folder of this plugin.
<span class="ln">352</span>      * Installation folder is different for core and
<span class="ln">353</span>      * user plugins.
<span class="ln">354</span>      * @return string
<span class="ln">355</span>      * @throws Exception
<span class="ln">356</span>      */
<span class="ln">357</span>     protected function getDir()
<span class="ln">358</span>     {
<span class="ln">359</span>         $pluginManager = App()-&gt;getPluginManager();
<span class="error"><span class="ln error-ln">360</span>         $alias = $pluginManager-&gt;pluginDirs[$this-&gt;plugin_type];
</span><span class="ln">361</span> 
<span class="ln">362</span>         if (empty($alias)) {
<span class="ln">363</span>             throw new \Exception(&#039;Unknown plugin type: &#039; . json_encode($this-&gt;plugin_type));
<span class="ln">364</span>         }
<span class="ln">365</span> 
<span class="ln">366</span>         $folder = Yii::getPathOfAlias($alias);
<span class="ln">367</span> 
<span class="ln">368</span>         if (empty($folder)) {
<span class="ln">369</span>             throw new \Exception(&#039;Alias has no folder: &#039; . json_encode($alias));
<span class="ln">370</span>         }
<span class="ln">371</span> 
<span class="ln">372</span>         // NB: Name is same as plugin folder and plugin main class.
</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;E:\WEB\limesurvey\www\application\models\Plugin.php(101): <strong>Plugin</strong>-><strong>getDir</strong>()				</div>

				<div class="code"><pre><span class="ln">096</span>      * @return ExtensionConfig
<span class="ln">097</span>      * @throws Exception if file does not exist.
<span class="ln">098</span>      */
<span class="ln">099</span>     public function getExtensionConfig()
<span class="ln">100</span>     {
<span class="error"><span class="ln error-ln">101</span>         $file = $this-&gt;getDir() . DIRECTORY_SEPARATOR . &#039;config.xml&#039;;
</span><span class="ln">102</span>         if (file_exists($file)) {
<span class="ln">103</span>             if (\PHP_VERSION_ID &lt; 80000) {
<span class="ln">104</span>                 libxml_disable_entity_loader(false);
<span class="ln">105</span>             }
<span class="ln">106</span>             $config = simplexml_load_file(realpath($file));
</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;E:\WEB\limesurvey\www\application\models\Plugin.php(172): <strong>Plugin</strong>-><strong>getExtensionConfig</strong>()				</div>

				<div class="code"><pre><span class="ln">167</span>      * @return string
<span class="ln">168</span>      * @throws Exception
<span class="ln">169</span>      */
<span class="ln">170</span>     public function getDescription()
<span class="ln">171</span>     {
<span class="error"><span class="ln error-ln">172</span>         $config = $this-&gt;getExtensionConfig();
</span><span class="ln">173</span>         // Harden for XSS
<span class="ln">174</span>         $filter = LSYii_HtmlPurifier::getXssPurifier();
<span class="ln">175</span>         return $filter-&gt;purify($config-&gt;getDescription());
<span class="ln">176</span>     }
<span class="ln">177</span> 
</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;E:\WEB\limesurvey\www\application\models\Plugin.php(186): <strong>Plugin</strong>-><strong>getDescription</strong>()				</div>

				<div class="code"><pre><span class="ln">181</span>      * @return string
<span class="ln">182</span>      */
<span class="ln">183</span>     public function getPossibleDescription()
<span class="ln">184</span>     {
<span class="ln">185</span>         try {
<span class="error"><span class="ln error-ln">186</span>             return $this-&gt;getDescription();
</span><span class="ln">187</span>         } catch (\Throwable $ex) {
<span class="ln">188</span>             return sprintf(gT(&#039;Error: Could not get plugin description: %s&#039;), $ex-&gt;getMessage());
<span class="ln">189</span>         }
<span class="ln">190</span>     }
<span class="ln">191</span> 
</pre></div>			</td>
		</tr>
						<tr class="trace app collapsed">
			<td class="number">
				#3			</td>
			<td class="content">
				<div class="trace-file">
										&nbsp;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\base\CComponent.php(614) : eval()&#039;d code(1): <strong>Plugin</strong>-><strong>getPossibleDescription</strong>()				</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;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\base\CComponent.php(614): <strong>eval</strong>()				</div>

				<div class="code"><pre><span class="ln">609</span>         if(is_string($_expression_))
<span class="ln">610</span>         {
<span class="ln">611</span>             extract($_data_);
<span class="ln">612</span>             try
<span class="ln">613</span>             {
<span class="error"><span class="ln error-ln">614</span>                 return eval(&#039;return &#039; . $_expression_ . &#039;;&#039;);
</span><span class="ln">615</span>             }
<span class="ln">616</span>             catch (ParseError $e)
<span class="ln">617</span>             {
<span class="ln">618</span>                 return false;
<span class="ln">619</span>             }
</pre></div>			</td>
		</tr>
						<tr class="trace core collapsed">
			<td class="number">
				#5			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\zii\widgets\grid\CDataColumn.php(148): <strong>CComponent</strong>-><strong>evaluateExpression</strong>(&quot;$data-&gt;getPossibleDescription()&quot;, array(&quot;data&quot; =&gt; Plugin, &quot;row&quot; =&gt; 0))				</div>

				<div class="code"><pre><span class="ln">143</span>      */
<span class="ln">144</span>     public function getDataCellContent($row)
<span class="ln">145</span>     {
<span class="ln">146</span>         $data=$this-&gt;grid-&gt;dataProvider-&gt;data[$row];
<span class="ln">147</span>         if($this-&gt;value!==null)
<span class="error"><span class="ln error-ln">148</span>             $value=$this-&gt;evaluateExpression($this-&gt;value,array(&#039;data&#039;=&gt;$data,&#039;row&#039;=&gt;$row));
</span><span class="ln">149</span>         elseif($this-&gt;name!==null)
<span class="ln">150</span>             $value=CHtml::value($data,$this-&gt;name);
<span class="ln">151</span>         return $value===null ? $this-&gt;grid-&gt;nullDisplay : $this-&gt;grid-&gt;getFormatter()-&gt;format($value,$this-&gt;type);
<span class="ln">152</span>     }
<span class="ln">153</span> }
</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;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\zii\widgets\grid\CGridColumn.php(237): <strong>CDataColumn</strong>-><strong>getDataCellContent</strong>(0)				</div>

				<div class="code"><pre><span class="ln">232</span>      * @param mixed $data the data associated with the row
<span class="ln">233</span>      * @deprecated since 1.1.16. Use {@link getDataCellContent()} instead.
<span class="ln">234</span>      */
<span class="ln">235</span>     protected function renderDataCellContent($row,$data)
<span class="ln">236</span>     {
<span class="error"><span class="ln error-ln">237</span>         echo $this-&gt;getDataCellContent($row);
</span><span class="ln">238</span>     }
<span class="ln">239</span> 
<span class="ln">240</span>     /**
<span class="ln">241</span>      * Returns the filter cell content.
<span class="ln">242</span>      * The default implementation simply returns an empty column.
</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;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\zii\widgets\grid\CGridColumn.php(160): <strong>CGridColumn</strong>-><strong>renderDataCellContent</strong>(0, Plugin)				</div>

				<div class="code"><pre><span class="ln">155</span>                 else
<span class="ln">156</span>                     $options[&#039;class&#039;]=$class;
<span class="ln">157</span>             }
<span class="ln">158</span>         }
<span class="ln">159</span>         echo CHtml::openTag(&#039;td&#039;,$options);
<span class="error"><span class="ln error-ln">160</span>         $this-&gt;renderDataCellContent($row,$data);
</span><span class="ln">161</span>         echo &#039;&lt;/td&gt;&#039;;
<span class="ln">162</span>     }
<span class="ln">163</span> 
<span class="ln">164</span>     /**
<span class="ln">165</span>      * Renders the footer cell.
</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;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\zii\widgets\grid\CGridView.php(655): <strong>CGridColumn</strong>-><strong>renderDataCell</strong>(0)				</div>

				<div class="code"><pre><span class="ln">650</span>      * @param integer $row
<span class="ln">651</span>      * @since 1.1.16
<span class="ln">652</span>      */
<span class="ln">653</span>     protected function renderDataCell($column, $row)
<span class="ln">654</span>     {
<span class="error"><span class="ln error-ln">655</span>         $column-&gt;renderDataCell($row);
</span><span class="ln">656</span>     }
<span class="ln">657</span>     
<span class="ln">658</span>     /**
<span class="ln">659</span>      * @return boolean whether the table should render a footer.
<span class="ln">660</span>      * This is true if any of the {@link columns} has a true {@link CGridColumn::hasFooter} value.
</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;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\zii\widgets\grid\CGridView.php(639): <strong>CGridView</strong>-><strong>renderDataCell</strong>(TbDataColumn, 0)				</div>

				<div class="code"><pre><span class="ln">634</span>                 $htmlOptions[&#039;class&#039;]=$class;
<span class="ln">635</span>         }
<span class="ln">636</span> 
<span class="ln">637</span>         echo CHtml::openTag(&#039;tr&#039;, $htmlOptions).&quot;\n&quot;;
<span class="ln">638</span>         foreach($this-&gt;columns as $column)
<span class="error"><span class="ln error-ln">639</span>             $this-&gt;renderDataCell($column, $row);
</span><span class="ln">640</span>         echo &quot;&lt;/tr&gt;\n&quot;;
<span class="ln">641</span>     }
<span class="ln">642</span> 
<span class="ln">643</span>     /**
<span class="ln">644</span>      * A seam for people extending CGridView to be able to hook onto the data cell rendering process.
</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;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\zii\widgets\grid\CGridView.php(595): <strong>CGridView</strong>-><strong>renderTableRow</strong>(0)				</div>

				<div class="code"><pre><span class="ln">590</span>         echo &quot;&lt;tbody&gt;\n&quot;;
<span class="ln">591</span> 
<span class="ln">592</span>         if($n&gt;0)
<span class="ln">593</span>         {
<span class="ln">594</span>             for($row=0;$row&lt;$n;++$row)
<span class="error"><span class="ln error-ln">595</span>                 $this-&gt;renderTableRow($row);
</span><span class="ln">596</span>         }
<span class="ln">597</span>         else
<span class="ln">598</span>         {
<span class="ln">599</span>             echo &#039;&lt;tr&gt;&lt;td colspan=&quot;&#039;.count($this-&gt;columns).&#039;&quot; class=&quot;empty&quot;&gt;&#039;;
<span class="ln">600</span>             $this-&gt;renderEmptyText();
</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>
										&nbsp;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\zii\widgets\grid\CGridView.php(505): <strong>CGridView</strong>-><strong>renderTableBody</strong>()				</div>

				<div class="code"><pre><span class="ln">500</span>         if($this-&gt;dataProvider-&gt;getItemCount()&gt;0 || $this-&gt;showTableOnEmpty)
<span class="ln">501</span>         {
<span class="ln">502</span>             echo &quot;&lt;table class=\&quot;{$this-&gt;itemsCssClass}\&quot;&gt;\n&quot;;
<span class="ln">503</span>             $this-&gt;renderTableHeader();
<span class="ln">504</span>             ob_start();
<span class="error"><span class="ln error-ln">505</span>             $this-&gt;renderTableBody();
</span><span class="ln">506</span>             $body=ob_get_clean();
<span class="ln">507</span>             $this-&gt;renderTableFooter();
<span class="ln">508</span>             echo $body; // TFOOT must appear before TBODY according to the standard.
<span class="ln">509</span>             echo &quot;&lt;/table&gt;&quot;;
<span class="ln">510</span>         }
</pre></div>			</td>
		</tr>
						<tr class="trace core collapsed">
			<td class="number">
				#12			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\zii\widgets\CBaseListView.php(181): <strong>CGridView</strong>-><strong>renderItems</strong>()				</div>

				<div class="code"><pre><span class="ln">176</span>     protected function renderSection($matches)
<span class="ln">177</span>     {
<span class="ln">178</span>         $method=&#039;render&#039;.$matches[1];
<span class="ln">179</span>         if(method_exists($this,$method))
<span class="ln">180</span>         {
<span class="error"><span class="ln error-ln">181</span>             $this-&gt;$method();
</span><span class="ln">182</span>             $html=ob_get_contents();
<span class="ln">183</span>             ob_clean();
<span class="ln">184</span>             return $html;
<span class="ln">185</span>         }
<span class="ln">186</span>         else
</pre></div>			</td>
		</tr>
						<tr class="trace core collapsed">
			<td class="number">
				#13			</td>
			<td class="content">
				<div class="trace-file">
										&nbsp;unknown(0): <strong>CBaseListView</strong>-><strong>renderSection</strong>(array(&quot;{items}&quot;, &quot;items&quot;))				</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>
										&nbsp;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\zii\widgets\CBaseListView.php(164): <strong>preg_replace_callback</strong>(&quot;/{(\w+)}/&quot;, array(TbGridView, &quot;renderSection&quot;), &quot;{items}
&lt;div id=&#039;pluginsListPager&#039;&gt;&lt;div class=&quot;col-sm-4&quot; id=&quot;mas...&quot;)				</div>

				<div class="code"><pre><span class="ln">159</span>      * The rendering results will replace the corresponding placeholders in {@link template}.
<span class="ln">160</span>      */
<span class="ln">161</span>     public function renderContent()
<span class="ln">162</span>     {
<span class="ln">163</span>         ob_start();
<span class="error"><span class="ln error-ln">164</span>         echo preg_replace_callback(&quot;/{(\w+)}/&quot;,array($this,&#039;renderSection&#039;),$this-&gt;template);
</span><span class="ln">165</span>         ob_end_flush();
<span class="ln">166</span>     }
<span class="ln">167</span> 
<span class="ln">168</span>     /**
<span class="ln">169</span>      * Renders a section.
</pre></div>			</td>
		</tr>
						<tr class="trace core collapsed">
			<td class="number">
				#15			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\zii\widgets\CBaseListView.php(149): <strong>CBaseListView</strong>-><strong>renderContent</strong>()				</div>

				<div class="code"><pre><span class="ln">144</span>     {
<span class="ln">145</span>         $this-&gt;registerClientScript();
<span class="ln">146</span> 
<span class="ln">147</span>         echo CHtml::openTag($this-&gt;tagName,$this-&gt;htmlOptions).&quot;\n&quot;;
<span class="ln">148</span> 
<span class="error"><span class="ln error-ln">149</span>         $this-&gt;renderContent();
</span><span class="ln">150</span>         $this-&gt;renderKeys();
<span class="ln">151</span> 
<span class="ln">152</span>         echo CHtml::closeTag($this-&gt;tagName);
<span class="ln">153</span>     }
<span class="ln">154</span> 
</pre></div>			</td>
		</tr>
						<tr class="trace core collapsed">
			<td class="number">
				#16			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\web\CBaseController.php(182): <strong>CBaseListView</strong>-><strong>run</strong>()				</div>

				<div class="code"><pre><span class="ln">177</span>             return ob_get_clean();
<span class="ln">178</span>         }
<span class="ln">179</span>         else
<span class="ln">180</span>         {
<span class="ln">181</span>             $widget=$this-&gt;createWidget($className,$properties);
<span class="error"><span class="ln error-ln">182</span>             $widget-&gt;run();
</span><span class="ln">183</span>             return $widget;
<span class="ln">184</span>         }
<span class="ln">185</span>     }
<span class="ln">186</span> 
<span class="ln">187</span>     /**
</pre></div>			</td>
		</tr>
						<tr class="trace app collapsed">
			<td class="number">
				#17			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\application\views\admin\pluginmanager\index.php(133): <strong>CBaseController</strong>-><strong>widget</strong>(&quot;bootstrap.widgets.TbGridView&quot;, array(&quot;id&quot; =&gt; &quot;plugins-grid&quot;, &quot;dataProvider&quot; =&gt; CArrayDataProvider, &quot;htmlOptions&quot; =&gt; array(&quot;class&quot; =&gt; &quot;table-responsive grid-view-ls&quot;), &quot;template&quot; =&gt; &quot;{items}
&lt;div id=&#039;pluginsListPager&#039;&gt;&lt;div class=&quot;col-sm-4&quot; id=&quot;mas...&quot;, ...))				</div>

				<div class="code"><pre><span class="ln">128</span>                         ]
<span class="ln">129</span>                     )
<span class="ln">130</span>                 ),
<span class="ln">131</span>             &#039;columns&#039;                  =&gt; $gridColumns,
<span class="ln">132</span>             &#039;rowHtmlOptionsExpression&#039; =&gt; &#039;array(&quot;data-id&quot; =&gt; $data[&quot;id&quot;])&#039;,
<span class="error"><span class="ln error-ln">133</span>             &#039;ajaxUpdate&#039;               =&gt; &#039;plugins-grid&#039;
</span><span class="ln">134</span>         ]
<span class="ln">135</span>     );
<span class="ln">136</span> 
<span class="ln">137</span>     $this-&gt;renderPartial(&#039;./pluginmanager/uploadModal&#039;, []);
<span class="ln">138</span>     ?&gt;
</pre></div>			</td>
		</tr>
						<tr class="trace core collapsed">
			<td class="number">
				#18			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\web\CBaseController.php(126): <strong>require</strong>(&quot;E:\WEB\limesurvey\www\application\views\admin\pluginmanager\inde...&quot;)				</div>

				<div class="code"><pre><span class="ln">121</span>             $data=$_data_;
<span class="ln">122</span>         if($_return_)
<span class="ln">123</span>         {
<span class="ln">124</span>             ob_start();
<span class="ln">125</span>             ob_implicit_flush(false);
<span class="error"><span class="ln error-ln">126</span>             require($_viewFile_);
</span><span class="ln">127</span>             return ob_get_clean();
<span class="ln">128</span>         }
<span class="ln">129</span>         else
<span class="ln">130</span>             require($_viewFile_);
<span class="ln">131</span>     }
</pre></div>			</td>
		</tr>
						<tr class="trace core collapsed">
			<td class="number">
				#19			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\web\CBaseController.php(95): <strong>CBaseController</strong>-><strong>renderInternal</strong>(&quot;E:\WEB\limesurvey\www\application\views/admin/pluginmanager/inde...&quot;, array(&quot;data&quot; =&gt; array(array(&quot;id&quot; =&gt; &quot;29&quot;, &quot;name&quot; =&gt; &quot;addScriptToQuestion&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), array(&quot;id&quot; =&gt; &quot;30&quot;, &quot;name&quot; =&gt; &quot;answersAsReadonly&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), array(&quot;id&quot; =&gt; &quot;40&quot;, &quot;name&quot; =&gt; &quot;arrayTextAdapt&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), array(&quot;id&quot; =&gt; &quot;61&quot;, &quot;name&quot; =&gt; &quot;ArrayWithOtherFreeText&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), ...), &quot;plugins&quot; =&gt; array(Plugin, Plugin, Plugin, Plugin, ...), &quot;extraMenus&quot; =&gt; array(), &quot;pageTitle&quot; =&gt; &quot;Plugins&quot;, ...), true)				</div>

				<div class="code"><pre><span class="ln">090</span>     {
<span class="ln">091</span>         $widgetCount=count($this-&gt;_widgetStack);
<span class="ln">092</span>         if(($renderer=Yii::app()-&gt;getViewRenderer())!==null &amp;&amp; $renderer-&gt;fileExtension===&#039;.&#039;.CFileHelper::getExtension($viewFile))
<span class="ln">093</span>             $content=$renderer-&gt;renderFile($this,$viewFile,$data,$return);
<span class="ln">094</span>         else
<span class="error"><span class="ln error-ln">095</span>             $content=$this-&gt;renderInternal($viewFile,$data,$return);
</span><span class="ln">096</span>         if(count($this-&gt;_widgetStack)===$widgetCount)
<span class="ln">097</span>             return $content;
<span class="ln">098</span>         else
<span class="ln">099</span>         {
<span class="ln">100</span>             $widget=end($this-&gt;_widgetStack);
</pre></div>			</td>
		</tr>
						<tr class="trace core collapsed">
			<td class="number">
				#20			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\web\CController.php(872): <strong>CBaseController</strong>-><strong>renderFile</strong>(&quot;E:\WEB\limesurvey\www\application\views/admin/pluginmanager/inde...&quot;, array(&quot;data&quot; =&gt; array(array(&quot;id&quot; =&gt; &quot;29&quot;, &quot;name&quot; =&gt; &quot;addScriptToQuestion&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), array(&quot;id&quot; =&gt; &quot;30&quot;, &quot;name&quot; =&gt; &quot;answersAsReadonly&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), array(&quot;id&quot; =&gt; &quot;40&quot;, &quot;name&quot; =&gt; &quot;arrayTextAdapt&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), array(&quot;id&quot; =&gt; &quot;61&quot;, &quot;name&quot; =&gt; &quot;ArrayWithOtherFreeText&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), ...), &quot;plugins&quot; =&gt; array(Plugin, Plugin, Plugin, Plugin, ...), &quot;extraMenus&quot; =&gt; array(), &quot;pageTitle&quot; =&gt; &quot;Plugins&quot;, ...), true)				</div>

				<div class="code"><pre><span class="ln">867</span>      */
<span class="ln">868</span>     public function renderPartial($view,$data=null,$return=false,$processOutput=false)
<span class="ln">869</span>     {
<span class="ln">870</span>         if(($viewFile=$this-&gt;getViewFile($view))!==false)
<span class="ln">871</span>         {
<span class="error"><span class="ln error-ln">872</span>             $output=$this-&gt;renderFile($viewFile,$data,true);
</span><span class="ln">873</span>             if($processOutput)
<span class="ln">874</span>                 $output=$this-&gt;processOutput($output);
<span class="ln">875</span>             if($return)
<span class="ln">876</span>                 return $output;
<span class="ln">877</span>             else
</pre></div>			</td>
		</tr>
						<tr class="trace app collapsed">
			<td class="number">
				#21			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\application\controllers\AdminController.php(261): <strong>CController</strong>-><strong>renderPartial</strong>(&quot;/admin/pluginmanager/index&quot;, array(&quot;data&quot; =&gt; array(array(&quot;id&quot; =&gt; &quot;29&quot;, &quot;name&quot; =&gt; &quot;addScriptToQuestion&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), array(&quot;id&quot; =&gt; &quot;30&quot;, &quot;name&quot; =&gt; &quot;answersAsReadonly&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), array(&quot;id&quot; =&gt; &quot;40&quot;, &quot;name&quot; =&gt; &quot;arrayTextAdapt&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), array(&quot;id&quot; =&gt; &quot;61&quot;, &quot;name&quot; =&gt; &quot;ArrayWithOtherFreeText&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), ...), &quot;plugins&quot; =&gt; array(Plugin, Plugin, Plugin, Plugin, ...), &quot;extraMenus&quot; =&gt; array(), &quot;pageTitle&quot; =&gt; &quot;Plugins&quot;, ...), true, false)				</div>

				<div class="code"><pre><span class="ln">256</span>                     $view = $sModulePath;
<span class="ln">257</span>                 }
<span class="ln">258</span>             }
<span class="ln">259</span>         }
<span class="ln">260</span> 
<span class="error"><span class="ln error-ln">261</span>         return parent::renderPartial($view, $data, $return, $processOutput);
</span><span class="ln">262</span>     }
<span class="ln">263</span> 
<span class="ln">264</span>     /**
<span class="ln">265</span>      * Routes all the actions to their respective places
<span class="ln">266</span>      *
</pre></div>			</td>
		</tr>
						<tr class="trace app collapsed">
			<td class="number">
				#22			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\application\core\SurveyCommonAction.php(273): <strong>AdminController</strong>-><strong>renderPartial</strong>(&quot;/admin/pluginmanager/index&quot;, array(&quot;data&quot; =&gt; array(array(&quot;id&quot; =&gt; &quot;29&quot;, &quot;name&quot; =&gt; &quot;addScriptToQuestion&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), array(&quot;id&quot; =&gt; &quot;30&quot;, &quot;name&quot; =&gt; &quot;answersAsReadonly&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), array(&quot;id&quot; =&gt; &quot;40&quot;, &quot;name&quot; =&gt; &quot;arrayTextAdapt&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), array(&quot;id&quot; =&gt; &quot;61&quot;, &quot;name&quot; =&gt; &quot;ArrayWithOtherFreeText&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), ...), &quot;plugins&quot; =&gt; array(Plugin, Plugin, Plugin, Plugin, ...), &quot;extraMenus&quot; =&gt; array(), &quot;pageTitle&quot; =&gt; &quot;Plugins&quot;, ...), true)				</div>

				<div class="code"><pre><span class="ln">268</span>         $content = &quot;&quot;;
<span class="ln">269</span> 
<span class="ln">270</span>         foreach ($aViewUrls as $sViewKey =&gt; $viewUrl) {
<span class="ln">271</span>             if (empty($sViewKey) || !in_array($sViewKey, array(&#039;message&#039;, &#039;output&#039;))) {
<span class="ln">272</span>                 if (is_numeric($sViewKey)) {
<span class="error"><span class="ln error-ln">273</span>                     $content .= Yii::app()-&gt;getController()-&gt;renderPartial($sViewPath . $viewUrl, $aData, true);
</span><span class="ln">274</span>                 } elseif (is_array($viewUrl)) {
<span class="ln">275</span>                     foreach ($viewUrl as $aSubData) {
<span class="ln">276</span>                         $aSubData = array_merge($aData, $aSubData);
<span class="ln">277</span>                         $content .= Yii::app()-&gt;getController()-&gt;renderPartial($sViewPath . $sViewKey, $aSubData, true);
<span class="ln">278</span>                     }
</pre></div>			</td>
		</tr>
						<tr class="trace app collapsed">
			<td class="number">
				#23			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\application\core\SurveyCommonAction.php(358): <strong>SurveyCommonAction</strong>-><strong>renderCentralContents</strong>(&quot;pluginmanager&quot;, array(&quot;index&quot;), array(&quot;data&quot; =&gt; array(array(&quot;id&quot; =&gt; &quot;29&quot;, &quot;name&quot; =&gt; &quot;addScriptToQuestion&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), array(&quot;id&quot; =&gt; &quot;30&quot;, &quot;name&quot; =&gt; &quot;answersAsReadonly&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), array(&quot;id&quot; =&gt; &quot;40&quot;, &quot;name&quot; =&gt; &quot;arrayTextAdapt&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), array(&quot;id&quot; =&gt; &quot;61&quot;, &quot;name&quot; =&gt; &quot;ArrayWithOtherFreeText&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), ...), &quot;plugins&quot; =&gt; array(Plugin, Plugin, Plugin, Plugin, ...), &quot;extraMenus&quot; =&gt; array(), &quot;pageTitle&quot; =&gt; &quot;Plugins&quot;, ...))				</div>

				<div class="code"><pre><span class="ln">353</span>                 $renderFile = $basePath . &#039;/layout_main.php&#039;;
<span class="ln">354</span>             }
<span class="ln">355</span>         } else {
<span class="ln">356</span>             $renderFile = $basePath . &#039;/&#039; . $sRenderFile;
<span class="ln">357</span>         }
<span class="error"><span class="ln error-ln">358</span>         $content = $this-&gt;renderCentralContents($sAction, $aViewUrls, $aData);
</span><span class="ln">359</span>         $out = $this-&gt;renderInternal($renderFile, [&#039;content&#039; =&gt; $content, &#039;aData&#039; =&gt; $aData], true);
<span class="ln">360</span> 
<span class="ln">361</span>         App()-&gt;getClientScript()-&gt;render($out);
<span class="ln">362</span>         echo $out;
<span class="ln">363</span>     }
</pre></div>			</td>
		</tr>
						<tr class="trace app collapsed">
			<td class="number">
				#24			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\application\controllers\admin\PluginManagerController.php(785): <strong>SurveyCommonAction</strong>-><strong>renderWrappedTemplate</strong>(&quot;pluginmanager&quot;, &quot;index&quot;, array(&quot;data&quot; =&gt; array(array(&quot;id&quot; =&gt; &quot;29&quot;, &quot;name&quot; =&gt; &quot;addScriptToQuestion&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), array(&quot;id&quot; =&gt; &quot;30&quot;, &quot;name&quot; =&gt; &quot;answersAsReadonly&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), array(&quot;id&quot; =&gt; &quot;40&quot;, &quot;name&quot; =&gt; &quot;arrayTextAdapt&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), array(&quot;id&quot; =&gt; &quot;61&quot;, &quot;name&quot; =&gt; &quot;ArrayWithOtherFreeText&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), ...), &quot;plugins&quot; =&gt; array(Plugin, Plugin, Plugin, Plugin, ...), &quot;extraMenus&quot; =&gt; array(), &quot;pageTitle&quot; =&gt; &quot;Plugins&quot;, ...), false)				</div>

				<div class="code"><pre><span class="ln">780</span>      * @param string $aViewUrls View url(s)
<span class="ln">781</span>      * @param array $aData Data to be passed on. Optional.
<span class="ln">782</span>      */
<span class="ln">783</span>     protected function renderWrappedTemplate($sAction = &#039;pluginmanager&#039;, $aViewUrls = [], $aData = [], $sRenderFile = false)
<span class="ln">784</span>     {
<span class="error"><span class="ln error-ln">785</span>         parent::renderWrappedTemplate($sAction, $aViewUrls, $aData, $sRenderFile);
</span><span class="ln">786</span>     }
<span class="ln">787</span> }
<span class="ln">788</span> 
<span class="ln">789</span> /**
<span class="ln">790</span>  * PCLZip callback for plugin ZIP install.
</pre></div>			</td>
		</tr>
						<tr class="trace app collapsed">
			<td class="number">
				#25			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\application\controllers\admin\PluginManagerController.php(91): <strong>PluginManagerController</strong>-><strong>renderWrappedTemplate</strong>(&quot;pluginmanager&quot;, &quot;index&quot;, array(&quot;data&quot; =&gt; array(array(&quot;id&quot; =&gt; &quot;29&quot;, &quot;name&quot; =&gt; &quot;addScriptToQuestion&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), array(&quot;id&quot; =&gt; &quot;30&quot;, &quot;name&quot; =&gt; &quot;answersAsReadonly&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), array(&quot;id&quot; =&gt; &quot;40&quot;, &quot;name&quot; =&gt; &quot;arrayTextAdapt&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), array(&quot;id&quot; =&gt; &quot;61&quot;, &quot;name&quot; =&gt; &quot;ArrayWithOtherFreeText&quot;, &quot;load_error&quot; =&gt; false, &quot;description&quot; =&gt; &quot;&quot;, ...), ...), &quot;plugins&quot; =&gt; array(Plugin, Plugin, Plugin, Plugin, ...), &quot;extraMenus&quot; =&gt; array(), &quot;pageTitle&quot; =&gt; &quot;Plugins&quot;, ...))				</div>

				<div class="code"><pre><span class="ln">86</span>                 &#039;url&#039; =&gt; $scanFilesUrl,
<span class="ln">87</span>             ],
<span class="ln">88</span>             &#039;showUpload&#039; =&gt; !Yii::app()-&gt;getConfig(&#039;demoMode&#039;) &amp;&amp; !Yii::app()-&gt;getConfig(&#039;disablePluginUpload&#039;),
<span class="ln">89</span>         ];
<span class="ln">90</span> 
<span class="error"><span class="ln error-ln">91</span>         $this-&gt;renderWrappedTemplate(&#039;pluginmanager&#039;, &#039;index&#039;, $aData);
</span><span class="ln">92</span>     }
<span class="ln">93</span> 
<span class="ln">94</span>     /**
<span class="ln">95</span>      * @return Menu[]
<span class="ln">96</span>      */
</pre></div>			</td>
		</tr>
						<tr class="trace core collapsed">
			<td class="number">
				#26			</td>
			<td class="content">
				<div class="trace-file">
										&nbsp;unknown(0): <strong>PluginManagerController</strong>-><strong>index</strong>()				</div>

							</td>
		</tr>
						<tr class="trace core collapsed">
			<td class="number">
				#27			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\web\actions\CAction.php(115): <strong>ReflectionMethod</strong>-><strong>invokeArgs</strong>(PluginManagerController, array())				</div>

				<div class="code"><pre><span class="ln">110</span>             elseif($param-&gt;isDefaultValueAvailable())
<span class="ln">111</span>                 $ps[]=$param-&gt;getDefaultValue();
<span class="ln">112</span>             else
<span class="ln">113</span>                 return false;
<span class="ln">114</span>         }
<span class="error"><span class="ln error-ln">115</span>         $method-&gt;invokeArgs($object,$ps);
</span><span class="ln">116</span>         return true;
<span class="ln">117</span>     }
<span class="ln">118</span> }
</pre></div>			</td>
		</tr>
						<tr class="trace app collapsed">
			<td class="number">
				#28			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\application\core\SurveyCommonAction.php(83): <strong>CAction</strong>-><strong>runWithParamsInternal</strong>(PluginManagerController, ReflectionMethod, array(&quot;r&quot; =&gt; &quot;admin/pluginmanager/sa/index&quot;, &quot;sa&quot; =&gt; &quot;index&quot;))				</div>

				<div class="code"><pre><span class="ln">78</span>             $oMethod = new ReflectionMethod($this, $sDefault);
<span class="ln">79</span>         }
<span class="ln">80</span> 
<span class="ln">81</span>         // We&#039;re all good to go, let&#039;s execute it
<span class="ln">82</span>         // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
<span class="error"><span class="ln error-ln">83</span>         return parent::runWithParamsInternal($this, $oMethod, $params);
</span><span class="ln">84</span>     }
<span class="ln">85</span> 
<span class="ln">86</span>     /**
<span class="ln">87</span>      * Some functions have different parameters, which are just an alias of the
<span class="ln">88</span>      * usual parameters we&#039;re getting in the url. This function just populates
</pre></div>			</td>
		</tr>
						<tr class="trace core collapsed">
			<td class="number">
				#29			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\web\CController.php(308): <strong>SurveyCommonAction</strong>-><strong>runWithParams</strong>(array(&quot;r&quot; =&gt; &quot;admin/pluginmanager/sa/index&quot;, &quot;sa&quot; =&gt; &quot;index&quot;))				</div>

				<div class="code"><pre><span class="ln">303</span>     {
<span class="ln">304</span>         $priorAction=$this-&gt;_action;
<span class="ln">305</span>         $this-&gt;_action=$action;
<span class="ln">306</span>         if($this-&gt;beforeAction($action))
<span class="ln">307</span>         {
<span class="error"><span class="ln error-ln">308</span>             if($action-&gt;runWithParams($this-&gt;getActionParams())===false)
</span><span class="ln">309</span>                 $this-&gt;invalidActionParams($action);
<span class="ln">310</span>             else
<span class="ln">311</span>                 $this-&gt;afterAction($action);
<span class="ln">312</span>         }
<span class="ln">313</span>         $this-&gt;_action=$priorAction;
</pre></div>			</td>
		</tr>
						<tr class="trace core collapsed">
			<td class="number">
				#30			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\web\CController.php(286): <strong>CController</strong>-><strong>runAction</strong>(PluginManagerController)				</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-&gt;runAction($action);
</span><span class="ln">287</span>         else
<span class="ln">288</span>         {
<span class="ln">289</span>             $priorAction=$this-&gt;_action;
<span class="ln">290</span>             $this-&gt;_action=$action;
<span class="ln">291</span>             CFilterChain::create($this,$action,$filters)-&gt;run();
</pre></div>			</td>
		</tr>
						<tr class="trace core collapsed">
			<td class="number">
				#31			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\web\CController.php(265): <strong>CController</strong>-><strong>runActionWithFilters</strong>(PluginManagerController, array())				</div>

				<div class="code"><pre><span class="ln">260</span>         {
<span class="ln">261</span>             if(($parent=$this-&gt;getModule())===null)
<span class="ln">262</span>                 $parent=Yii::app();
<span class="ln">263</span>             if($parent-&gt;beforeControllerAction($this,$action))
<span class="ln">264</span>             {
<span class="error"><span class="ln error-ln">265</span>                 $this-&gt;runActionWithFilters($action,$this-&gt;filters());
</span><span class="ln">266</span>                 $parent-&gt;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-&gt;missingAction($actionID);
</pre></div>			</td>
		</tr>
						<tr class="trace app collapsed">
			<td class="number">
				#32			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\application\controllers\AdminController.php(202): <strong>CController</strong>-><strong>run</strong>(&quot;pluginmanager&quot;)				</div>

				<div class="code"><pre><span class="ln">197</span>         }
<span class="ln">198</span> 
<span class="ln">199</span>         $this-&gt;runModuleController($action);
<span class="ln">200</span> 
<span class="ln">201</span> 
<span class="error"><span class="ln error-ln">202</span>         return parent::run($action);
</span><span class="ln">203</span>     }
<span class="ln">204</span> 
<span class="ln">205</span>     /**
<span class="ln">206</span>      * Starting with LS4, 3rd party developer can extends any of the LimeSurve controllers.
<span class="ln">207</span>      *
</pre></div>			</td>
		</tr>
						<tr class="trace core collapsed">
			<td class="number">
				#33			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\web\CWebApplication.php(282): <strong>AdminController</strong>-><strong>run</strong>(&quot;pluginmanager&quot;)				</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-&gt;_controller;
<span class="ln">280</span>             $this-&gt;_controller=$controller;
<span class="ln">281</span>             $controller-&gt;init();
<span class="error"><span class="ln error-ln">282</span>             $controller-&gt;run($actionID);
</span><span class="ln">283</span>             $this-&gt;_controller=$oldController;
<span class="ln">284</span>         }
<span class="ln">285</span>         else
<span class="ln">286</span>             throw new CHttpException(404,Yii::t(&#039;yii&#039;,&#039;Unable to resolve the request &quot;{route}&quot;.&#039;,
<span class="ln">287</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">
				#34			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\web\CWebApplication.php(141): <strong>CWebApplication</strong>-><strong>runController</strong>(&quot;admin/pluginmanager/sa/index&quot;)				</div>

				<div class="code"><pre><span class="ln">136</span>             foreach(array_splice($this-&gt;catchAllRequest,1) as $name=&gt;$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-&gt;getUrlManager()-&gt;parseUrl($this-&gt;getRequest());
<span class="error"><span class="ln error-ln">141</span>         $this-&gt;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">
				#35			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\vendor\yiisoft\yii\framework\base\CApplication.php(185): <strong>CWebApplication</strong>-><strong>processRequest</strong>()				</div>

				<div class="code"><pre><span class="ln">180</span>     public function run()
<span class="ln">181</span>     {
<span class="ln">182</span>         if($this-&gt;hasEventHandler(&#039;onBeginRequest&#039;))
<span class="ln">183</span>             $this-&gt;onBeginRequest(new CEvent($this));
<span class="ln">184</span>         register_shutdown_function(array($this,&#039;end&#039;),0,false);
<span class="error"><span class="ln error-ln">185</span>         $this-&gt;processRequest();
</span><span class="ln">186</span>         if($this-&gt;hasEventHandler(&#039;onEndRequest&#039;))
<span class="ln">187</span>             $this-&gt;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">
				#36			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;E:\WEB\limesurvey\www\index.php(161): <strong>CApplication</strong>-><strong>run</strong>()				</div>

				<div class="code"><pre><span class="ln">156</span> require_once APPPATH . &#039;core/LSYii_Application&#039; . EXT;
<span class="ln">157</span> 
<span class="ln">158</span> $config = require_once(APPPATH . &#039;config/internal&#039; . 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(&#039;LSYii_Application&#039;, $config)-&gt;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>
				</table>
	</div>

	<div class="version">
		2024-09-23 08:25:24 Microsoft-IIS/10.0 <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>

</body>
</html>
PHP warning.htm.txt (53,287 bytes)   
DenisChenu

DenisChenu

2024-09-23 15:00

developer   ~81087

PS : i hate SQL manager … do you know how check the curent default value ?

DenisChenu

DenisChenu

2024-09-23 15:05

developer   ~81089

DenisChenu

DenisChenu

2024-10-15 08:55

developer   ~81239

@c_schmitz : checked again : still an issue on MSSQL

Related Changesets

LimeSurvey: master 82b705ef

2024-09-03 17:07:58

c_schmitz

Details Diff
Fixed issue 19578: After upgrading to 5 or 6 with MSSQL no way to access to plugin configuration Affected Issues
19578
mod - application/helpers/update/updates/Update_401.php Diff File
mod - application/helpers/update/updates/Update_402.php Diff File
mod - application/helpers/update/updates/Update_406.php Diff File
mod - application/helpers/update/updates/Update_410.php Diff File
mod - application/helpers/update/updates/Update_411.php Diff File
mod - application/helpers/update/updates/Update_426.php Diff File
mod - application/helpers/update/updates/Update_488.php Diff File

LimeSurvey: master 716f870b

2024-09-03 17:27:07

c_schmitz

Details Diff
Fixed issue 19578: After upgrading to 5 or 6 with MSSQL no way to access to plugin configuration
Dev DEFAULT & NULL field definition keywords need to be uppercase for MSSQL driver compatibility
Affected Issues
19578
mod - installer/create-database.php Diff File

LimeSurvey: master 1f7450e3

2024-09-03 17:48:07

c_schmitz

Details Diff
Fixed issue 19578: After upgrading to 5 or 6 with MSSQL no way to access to plugin configuration
Dev DEFAULT & NULL field definition keywords need to be uppercase for MSSQL driver compatibility
Affected Issues
19578
mod - application/helpers/update/updatedb_helper.php Diff File
mod - application/helpers/update/updates/Update_133.php Diff File
mod - application/helpers/update/updates/Update_134.php Diff File
mod - application/helpers/update/updates/Update_136.php Diff File
mod - application/helpers/update/updates/Update_137.php Diff File
mod - application/helpers/update/updates/Update_141.php Diff File
mod - application/helpers/update/updates/Update_143.php Diff File
mod - application/helpers/update/updates/Update_145.php Diff File
mod - application/helpers/update/updates/Update_147.php Diff File
mod - application/helpers/update/updates/Update_148.php Diff File
mod - application/helpers/update/updates/Update_151.php Diff File
mod - application/helpers/update/updates/Update_156.php Diff File
mod - application/helpers/update/updates/Update_161.php Diff File
mod - application/helpers/update/updates/Update_169.php Diff File
mod - application/helpers/update/updates/Update_259.php Diff File
mod - application/helpers/update/updates/Update_307.php Diff File
mod - application/helpers/update/updates/Update_400.php Diff File
mod - application/helpers/update/updates/Update_407.php Diff File
mod - application/helpers/update/updates/Update_426.php Diff File
mod - application/helpers/update/updates/Update_480.php Diff File

Issue History

Date Modified Username Field Change
2024-05-31 14:52 DenisChenu New Issue
2024-05-31 14:52 DenisChenu File Added: image001.png
2024-05-31 14:54 DenisChenu Note Added: 80184
2024-05-31 14:54 DenisChenu Bug heat 0 => 2
2024-09-03 17:09 c_schmitz Assigned To => c_schmitz
2024-09-03 17:09 c_schmitz Status new => resolved
2024-09-03 17:09 c_schmitz Resolution open => fixed
2024-09-03 17:12 c_schmitz Changeset attached => LimeSurvey master 82b705ef
2024-09-03 17:13 c_schmitz Note Added: 80884
2024-09-03 17:13 c_schmitz Bug heat 2 => 4
2024-09-03 17:27 c_schmitz Changeset attached => LimeSurvey master 716f870b
2024-09-03 17:27 c_schmitz Note Added: 80886
2024-09-03 18:02 c_schmitz Changeset attached => LimeSurvey master 1f7450e3
2024-09-03 18:02 c_schmitz Note Added: 80888
2024-09-09 18:36 LimeBot Note Added: 80939
2024-09-09 18:36 LimeBot Status resolved => closed
2024-09-09 18:36 LimeBot Bug heat 4 => 6
2024-09-23 14:59 DenisChenu Status closed => feedback
2024-09-23 14:59 DenisChenu Resolution fixed => reopened
2024-09-23 14:59 DenisChenu Note Added: 81085
2024-09-23 15:00 DenisChenu Note Added: 81086
2024-09-23 15:00 DenisChenu File Added: Capture d’écran 2024-09-23 113256.png
2024-09-23 15:00 DenisChenu File Added: PHP warning.htm.txt
2024-09-23 15:00 DenisChenu File Added: Capture d’écran du 2024-09-23 15-00-00.png
2024-09-23 15:00 DenisChenu Status feedback => assigned
2024-09-23 15:00 DenisChenu Status assigned => feedback
2024-09-23 15:00 DenisChenu Note Added: 81087
2024-09-23 15:00 DenisChenu Status feedback => assigned
2024-09-23 15:01 DenisChenu File Deleted: Capture d’écran 2024-09-23 113256.png
2024-09-23 15:05 DenisChenu Note Added: 81089
2024-09-23 15:05 DenisChenu File Added: Capture d’écran 2024-09-23 113256.png
2024-09-23 15:05 DenisChenu Status assigned => feedback
2024-10-15 08:55 DenisChenu Note Added: 81239
2024-10-15 08:55 DenisChenu Status feedback => assigned