View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
17127Bug reportsTheme editorpublic2021-03-03 10:15
ReporterDenisChenu Assigned Toollehar  
PrioritynormalSeveritypartial_block 
Status assignedResolutionopen 
Product Version4.4.7 
Summary17127: Can't see inherited value of variations in theme options
Description

New issue: Title

Old issue: When extend theme, try to update Theme option : 500 error

Proposed fix:

1) Make a Yii widget out of application/views/themeOptions/options_core.php
2) New data-value object for template options (not stdClass or array); make it load in only one way

Steps To Reproduce

Like i do, unsure it was related

  1. Extend bootswatch to CHECK_bootswatch_16782
  2. Choose this theme to a survey, save
  3. Click on Theme option
  4. Nothing shown
Additional Information

Click right/open link in new tab to get the error

Error with and without debug

TagsNo tags attached.
Attached Files
500 Internal Server Error.html (8,871 bytes)   


<!DOCTYPE html>
<html lang="en" dir="ltr" class="en dir-ltr  no-js " >

    <head>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />

        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/bcb02149/jquery-ui.structure.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/d881932f/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/eb6bc67a/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/eb6bc67a/yiistrap.min.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/b1514cc1/css/bootstrap-switch.min.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/61bfd2fe/css/select2.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/61bfd2fe/css/select2-bootstrap.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/720a828b/css/bootstrap-datetimepicker.min.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/4106a658/roboto.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/4106a658/icomoon.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/ca63d7d9/build/lstutorial.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/8eae9882/build/adminbasics.min.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/3e2268bb/build.min/css/adminsidepanel.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/2b973487/css/lime-admin-colors.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/2b973487/css/statistics.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/e6c5b154/themeoptions-core.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/f922cd07/expressions.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/4106a658/noto.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/9cdb1fb/survey.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/df6d91c4/build/embeddables.min.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/386d394d/template-core.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/386d394d/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/c5377634/css/base.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/c5377634/css/theme.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/c5377634/css/custom.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/c5377634/css/noTablesOnMobile.css" />
<link rel="stylesheet" type="text/css" href="/master/tmp/assets/c5377634/css/errors.css" />
<script type='text/javascript'>window.debugState = {frontend : (0 === 1), backend : (0 === 1)};</script><script type="text/javascript" src="/master/tmp/assets/564f0b1/jquery-3.5.1.min.js" class="headScriptTag"></script>
<script type="text/javascript" src="/master/tmp/assets/564f0b1/jquery-migrate-3.3.0.min.js" class="headScriptTag"></script>
<script type="text/javascript" src="/master/tmp/assets/bcb02149/jquery-ui.min.js" class="headScriptTag"></script>
<script type="text/javascript" src="/master/tmp/assets/3e2268bb/build.min/js/adminsidepanel.js" class="headScriptTag"></script>
<script type="text/javascript" src="/master/tmp/assets/f612dbb3/js.cookie.js" class="headScriptTag"></script>
<script type="text/javascript" src="/master/tmp/assets/eb6bc67a/bootstrap.min.js" class="headScriptTag"></script>
<script type="text/javascript" src="/master/tmp/assets/eb6bc67a/plugins/bootstrapconfirm/bootstrapconfirm.min.js" class="headScriptTag"></script>
<script type="text/javascript" src="/master/tmp/assets/c3317958/moment-with-locales.min.js" class="headScriptTag"></script>
<script type="text/javascript" src="/master/tmp/assets/61bfd2fe/js/select2.full.min.js" class="headScriptTag"></script>
<script type="text/javascript" src="/master/tmp/assets/eb574272/build/lslog.js" class="headScriptTag"></script>
<script type="text/javascript" src="/master/tmp/assets/4a78fc56/min/pjax.combined.min.js" class="headScriptTag"></script>
<script type="text/javascript" src="/master/tmp/assets/d26ab52b/ckeditor.js" class="headScriptTag"></script>
<script type="text/javascript" src="/master/tmp/assets/d26ab52b/config.js" class="headScriptTag"></script>
<script type="text/javascript" src="/master/tmp/assets/31b52e00/ckeditoradditions.js" class="headScriptTag"></script>
<script type="text/javascript" src="/master/tmp/assets/78ec3b3c/em_javascript.js" class="headScriptTag"></script>
<script type="text/javascript" src="/master/tmp/assets/4a78fc56/pjax.js" class="headScriptTag"></script>
<script type="text/javascript" src="/master/tmp/assets/9cdb1fb/survey.js" class="headScriptTag"></script>
<script type="text/javascript" src="/master/tmp/assets/386d394d/template-core.js" class="headScriptTag"></script>
<script type="text/javascript" src="/master/tmp/assets/c5377634/scripts/theme.js" class="headScriptTag"></script>
<script type="text/javascript" src="/master/tmp/assets/c5377634/scripts/custom.js" class="headScriptTag"></script>
<script type="text/javascript">
/*<![CDATA[*/

           window.LS = window.LS || {}; window.LS.globalUserId = "1";
/*]]>*/
</script>
<title>
                            500: Internal Server Error
                    </title>

                <meta name="generator" content="LimeSurvey http://www.limesurvey.org" />
        <link rel="shortcut icon" href="favicon.ico" />
    </head>

    <body  class="vanilla lang-en " marginwidth="0" marginheight="0" ><script type="text/javascript" src="/master/tmp/assets/b1514cc1/js/bootstrap-switch.min.js"></script>
<script type="text/javascript" src="/master/tmp/assets/720a828b/js/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="/master/tmp/assets/8eae9882/build/adminbasics.min.js"></script>
<script type="text/javascript" src="/master/tmp/assets/50db2a66/js/modaleditor.js"></script>
<script type="text/javascript" src="/master/tmp/assets/e98acfb3/decimal.js"></script>
<script type="text/javascript" src="/master/tmp/assets/f975f3ef/decimalcustom.js"></script>
<script type="text/javascript">
/*<![CDATA[*/
var LEMmode='survey';
var LEMgseq='';
ExprMgr_process_relevance_and_tailoring = function(evt_type,sgqa,type){
if (typeof LEM_initialized == 'undefined') {
LEM_initialized=true;
LEMsetTabIndexes();
}
if (evt_type == 'onchange' && (typeof last_sgqa !== 'undefined' && sgqa==last_sgqa) && (typeof last_evt_type !== 'undefined' && last_evt_type == 'TAB' && type != 'checkbox')) {
  last_evt_type='onchange';
  last_sgqa=sgqa;
  return;
}
if (evt_type == 'updated'  && (typeof last_sgqa !== 'undefined' && sgqa==last_sgqa)) {
  last_evt_type='updated';
  last_sgqa=sgqa;
  return;
}
last_evt_type = evt_type;
last_sgqa=sgqa;

}
var LEMalias2varName = {
};
var LEMvarNameAttr = {
};

/*]]>*/
</script>

        <article id="block_error">
            <div>
                                    <h1>500: Internal Server Error</h1>
                                <h2>Object of class stdClass could not be converted to string</h2>
                <p>
                    An internal error occurred while the Web server was processing your request.
                </p>
                <p>
                                            Please contact dqsdqsdsqdq to report this problem.
                                    </p>
            </div>
                        <div>
            </div>
        </article>
                    
            <script type="text/javascript" src="/master/tmp/assets/ca63d7d9/build/lstutorial.min.js"></script>
<script type="text/javascript" src="/master/tmp/assets/e6c5b154/themeoptions-core.js"></script>
<script type="text/javascript" src="/master/tmp/assets/f922cd07/expression.js"></script>
<script type="text/javascript" src="/master/tmp/assets/df6d91c4/build/embeddables.min.js"></script>
<script type="text/javascript">
/*<![CDATA[*/
jQuery('body').popover({'selector':'a\x5Brel\x3Dpopover\x5D'});
jQuery('body').tooltip({'selector':'a\x5Brel\x3Dtooltip\x5D'});

            try{ 
                triggerEmClassChange(); 
            } catch(e) {
                console.ls.warn('triggerEmClassChange could not be run. Is survey.js correctly loaded?');
            }

triggerEmRelevance();
jQuery(document).off('pjax:scriptcomplete.mainBottom').on('ready pjax:scriptcomplete.mainBottom', function() {
updateMandatoryErrorClass();
});
/*]]>*/
</script>
</body>
</html>
500 Internal Server Error.html (8,871 bytes)   
Error.html (37,289 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>Error</title>

<style type="text/css">
/*<![CDATA[*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;}
body{line-height:1;}
ol,ul{list-style:none;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content:none;}
:focus{outline:0;}
ins{text-decoration:none;}
del{text-decoration:line-through;}
table{border-collapse:collapse;border-spacing:0;}

body {
	font: normal 9pt "Verdana";
	color: #000;
	background: #fff;
}

h1 {
	font: normal 18pt "Verdana";
	color: #f00;
	margin-bottom: .5em;
}

h2 {
	font: normal 14pt "Verdana";
	color: #800000;
	margin-bottom: .5em;
}

h3 {
	font: bold 11pt "Verdana";
}

pre {
	font: normal 11pt Menlo, Consolas, "Lucida Console", Monospace;
}

pre span.error {
	display: block;
	background: #fce3e3;
}

pre span.ln {
	color: #999;
	padding-right: 0.5em;
	border-right: 1px solid #ccc;
}

pre span.error-ln {
	font-weight: bold;
}

.container {
	margin: 1em 4em;
}

.version {
	color: gray;
	font-size: 8pt;
	border-top: 1px solid #aaa;
	padding-top: 1em;
	margin-bottom: 1em;
}

.message {
	color: #000;
	padding: 1em;
	font-size: 11pt;
	background: #f3f3f3;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	margin-bottom: 1em;
	line-height: 160%;
}

.source {
	margin-bottom: 1em;
}

.code pre {
	background-color: #ffe;
	margin: 0.5em 0;
	padding: 0.5em;
	line-height: 125%;
	border: 1px solid #eee;
}

.source .file {
	margin-bottom: 1em;
	font-weight: bold;
}

.traces {
	margin: 2em 0;
}

.trace {
	margin: 0.5em 0;
	padding: 0.5em;
}

.trace.app {
	border: 1px dashed #c00;
}

.trace .number {
	text-align: right;
	width: 2em;
	padding: 0.5em;
}

.trace .content {
	padding: 0.5em;
}

.trace .plus,
.trace .minus {
	display:inline;
	vertical-align:middle;
	text-align:center;
	border:1px solid #000;
	color:#000;
	font-size:10px;
	line-height:10px;
	margin:0;
	padding:0 1px;
	width:10px;
	height:10px;
}

.trace.collapsed .minus,
.trace.expanded .plus,
.trace.collapsed pre {
	display: none;
}

.trace-file {
	cursor: pointer;
	padding: 0.2em;
}

.trace-file:hover {
	background: #f0ffff;
}
/*]]>*/
</style>
</head>

<body>
<div class="container">
	<h1>Error</h1>

	<p class="message">
		Object of class stdClass could not be converted to string	</p>

	<div class="source">
		<p class="file">/mnt/data/shnoulle/nginx/www/master/application/views/themeOptions/options_core.php(152)</p>
		<div class="code"><pre><span class="ln">140</span>                                     &lt;div class=&quot;input-group-addon style__colorpicker&quot;&gt;
<span class="ln">141</span>                                         &lt;input type=&quot;color&quot; name=&quot;&#039; . $attributeKey . &#039;_picker&quot; data-value=&quot;&#039; . $sParentOption . &#039;&quot; class=&quot;selector__colorpicker-inherit-value&quot;/&gt;
<span class="ln">142</span>                                     &lt;/div&gt;
<span class="ln">143</span>                                     &lt;input type=&quot;text&quot; name=&quot;&#039; . $attributeKey . &#039;&quot; data-inheritvalue=&quot;&#039; . $sParentOption . &#039;&quot; value=&quot;inherit&quot; class=&quot;selector_option_value_field selector__color-picker form-control simple_edit_options_&#039; . $attributeKey . &#039;&quot; id=&quot;&#039; . $attributeKey . &#039;&quot; /&gt;&#039;;
<span class="ln">144</span>                                     if ($bInherit &amp;&amp; isset($sParentOption)){
<span class="ln">145</span>                                         echo &#039;&lt;div class=&quot;input-group-addon&quot;&gt;
<span class="ln">146</span>                                             &lt;button class=&quot;btn btn-default btn-xs selector__reset-colorfield-to-inherit&quot;&gt;&lt;i class=&quot;fa fa-refresh&quot;&gt;&lt;/i&gt;&lt;/button&gt;
<span class="ln">147</span>                                         &lt;/div&gt;&#039;;
<span class="ln">148</span>                                     }
<span class="ln">149</span>                                 echo &#039;&lt;/div&gt;&#039;;
<span class="ln">150</span>                             } elseif ($attribute[&#039;type&#039;] == &#039;dropdown&#039;){
<span class="ln">151</span>                                 echo &#039; &lt;div class=&quot;col-sm-12&quot;&gt;
<span class="error"><span class="ln error-ln">152</span>                                 &lt;select class=&quot;form-control selector_option_value_field selector_radio_childfield selector_image_selector&quot; data-parent=&quot;&#039; . $attribute[&#039;parent&#039;] . &#039;&quot; data-inheritvalue=\&#039;&#039; . ($attributeKey == &#039;font&#039; &amp;&amp; isset($sPackagesToLoad) ? $sPackagesToLoad : $sParentOption) . &#039;\&#039; id=&quot;simple_edit_options_&#039; . $attributeKey . &#039;&quot; name=&quot;&#039; . $attributeKey . &#039;&quot;  &gt;&#039;;
</span><span class="ln">153</span>                                 if ($bInherit){
<span class="ln">154</span>                                     if ($attributeKey == &#039;backgroundimagefile&#039;){
<span class="ln">155</span>                                         $inheritedValue = isset($backgroundfileInheritPreview) ? $backgroundfileInheritPreview : &#039;&#039;;
<span class="ln">156</span>                                     } elseif ($attributeKey == &#039;backgroundimagefile&#039;){
<span class="ln">157</span>                                         $inheritedValue = isset($logofileInheritPreview) ? $logofileInheritPreview : &#039;&#039;;
<span class="ln">158</span>                                     } else {
<span class="ln">159</span>                                         $inheritedValue = isset($sParentOption) ? $sParentOption : &#039;&#039;;
<span class="ln">160</span>                                     }
<span class="ln">161</span>                                     echo &#039;&lt;option value=&quot;inherit&quot;&gt;&#039; . gT(&quot;Inherit&quot;) . &#039; [&#039; . gT(&quot;inherited value:&quot;) . &#039; &#039; . $inheritedValue . &#039;]&lt;/option&gt;&#039;;
<span class="ln">162</span>                                 }
<span class="ln">163</span>                                 // dropdown options from config.xml file
<span class="ln">164</span>                                 echo $aOptionAttributes[&#039;optionAttributes&#039;][$attributeKey][&#039;dropdownoptions&#039;];
</pre></div>	</div>

	<div class="traces">
		<h2>Stack Trace</h2>
				<table style="width:100%;">
						<tr class="trace core collapsed">
			<td class="number">
				#0			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;/mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(126): <strong>require</strong>()				</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">
				#1			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;/mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(95): <strong>CBaseController</strong>-><strong>renderInternal</strong>(&quot;/mnt/data/shnoulle/nginx/www/master/application/views/themeOptio...&quot;, array(&quot;aOptionAttributes&quot; =&gt; array(&quot;categories&quot; =&gt; array(&quot;Simple options&quot;, &quot;Images&quot;), &quot;optionAttributes&quot; =&gt; array(&quot;container&quot; =&gt; array(&quot;type&quot; =&gt; &quot;buttons&quot;, &quot;title&quot; =&gt; &quot;Survey container&quot;, &quot;category&quot; =&gt; &quot;Simple options&quot;, &quot;width&quot; =&gt; &quot;4&quot;, ...), &quot;showpopups&quot; =&gt; array(&quot;type&quot; =&gt; &quot;buttons&quot;, &quot;title&quot; =&gt; &quot;Show popups&quot;, &quot;category&quot; =&gt; &quot;Simple options&quot;, &quot;width&quot; =&gt; &quot;4&quot;, ...), &quot;showclearall&quot; =&gt; array(&quot;type&quot; =&gt; &quot;buttons&quot;, &quot;title&quot; =&gt; &quot;Show Clear All button&quot;, &quot;category&quot; =&gt; &quot;Simple options&quot;, &quot;width&quot; =&gt; &quot;4&quot;, ...), &quot;questionhelptextposition&quot; =&gt; array(&quot;type&quot; =&gt; &quot;buttons&quot;, &quot;title&quot; =&gt; &quot;Question help text position&quot;, &quot;category&quot; =&gt; &quot;Simple options&quot;, &quot;width&quot; =&gt; &quot;4&quot;, ...), ...), &quot;optionsPage&quot; =&gt; &quot;core&quot;), &quot;aTemplateConfiguration&quot; =&gt; array(&quot;id&quot; =&gt; &quot;873&quot;, &quot;template_name&quot; =&gt; &quot;CHECK_bootswatch_16782&quot;, &quot;sid&quot; =&gt; &quot;587692&quot;, &quot;gsid&quot; =&gt; null, ...), &quot;oParentOptions&quot; =&gt; array(&quot;container&quot; =&gt; &quot;on&quot;, &quot;showpopups&quot; =&gt; &quot;1&quot;, &quot;showclearall&quot; =&gt; &quot;off&quot;, &quot;questionhelptextposition&quot; =&gt; &quot;top&quot;, ...), &quot;sPackagesToLoad&quot; =&gt; &quot;{&quot;add&quot;:[&quot;pjax&quot;,&quot;moment&quot;]}&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">
				#2			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(872): <strong>CBaseController</strong>-><strong>renderFile</strong>(&quot;/mnt/data/shnoulle/nginx/www/master/application/views/themeOptio...&quot;, array(&quot;aOptionAttributes&quot; =&gt; array(&quot;categories&quot; =&gt; array(&quot;Simple options&quot;, &quot;Images&quot;), &quot;optionAttributes&quot; =&gt; array(&quot;container&quot; =&gt; array(&quot;type&quot; =&gt; &quot;buttons&quot;, &quot;title&quot; =&gt; &quot;Survey container&quot;, &quot;category&quot; =&gt; &quot;Simple options&quot;, &quot;width&quot; =&gt; &quot;4&quot;, ...), &quot;showpopups&quot; =&gt; array(&quot;type&quot; =&gt; &quot;buttons&quot;, &quot;title&quot; =&gt; &quot;Show popups&quot;, &quot;category&quot; =&gt; &quot;Simple options&quot;, &quot;width&quot; =&gt; &quot;4&quot;, ...), &quot;showclearall&quot; =&gt; array(&quot;type&quot; =&gt; &quot;buttons&quot;, &quot;title&quot; =&gt; &quot;Show Clear All button&quot;, &quot;category&quot; =&gt; &quot;Simple options&quot;, &quot;width&quot; =&gt; &quot;4&quot;, ...), &quot;questionhelptextposition&quot; =&gt; array(&quot;type&quot; =&gt; &quot;buttons&quot;, &quot;title&quot; =&gt; &quot;Question help text position&quot;, &quot;category&quot; =&gt; &quot;Simple options&quot;, &quot;width&quot; =&gt; &quot;4&quot;, ...), ...), &quot;optionsPage&quot; =&gt; &quot;core&quot;), &quot;aTemplateConfiguration&quot; =&gt; array(&quot;id&quot; =&gt; &quot;873&quot;, &quot;template_name&quot; =&gt; &quot;CHECK_bootswatch_16782&quot;, &quot;sid&quot; =&gt; &quot;587692&quot;, &quot;gsid&quot; =&gt; null, ...), &quot;oParentOptions&quot; =&gt; array(&quot;container&quot; =&gt; &quot;on&quot;, &quot;showpopups&quot; =&gt; &quot;1&quot;, &quot;showclearall&quot; =&gt; &quot;off&quot;, &quot;questionhelptextposition&quot; =&gt; &quot;top&quot;, ...), &quot;sPackagesToLoad&quot; =&gt; &quot;{&quot;add&quot;:[&quot;pjax&quot;,&quot;moment&quot;]}&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 expanded">
			<td class="number">
				#3			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;/mnt/data/shnoulle/nginx/www/master/application/views/themeOptions/update.php(111): <strong>CController</strong>-><strong>renderPartial</strong>(&quot;./options_core&quot;, array(&quot;aOptionAttributes&quot; =&gt; array(&quot;categories&quot; =&gt; array(&quot;Simple options&quot;, &quot;Images&quot;), &quot;optionAttributes&quot; =&gt; array(&quot;container&quot; =&gt; array(&quot;type&quot; =&gt; &quot;buttons&quot;, &quot;title&quot; =&gt; &quot;Survey container&quot;, &quot;category&quot; =&gt; &quot;Simple options&quot;, &quot;width&quot; =&gt; &quot;4&quot;, ...), &quot;showpopups&quot; =&gt; array(&quot;type&quot; =&gt; &quot;buttons&quot;, &quot;title&quot; =&gt; &quot;Show popups&quot;, &quot;category&quot; =&gt; &quot;Simple options&quot;, &quot;width&quot; =&gt; &quot;4&quot;, ...), &quot;showclearall&quot; =&gt; array(&quot;type&quot; =&gt; &quot;buttons&quot;, &quot;title&quot; =&gt; &quot;Show Clear All button&quot;, &quot;category&quot; =&gt; &quot;Simple options&quot;, &quot;width&quot; =&gt; &quot;4&quot;, ...), &quot;questionhelptextposition&quot; =&gt; array(&quot;type&quot; =&gt; &quot;buttons&quot;, &quot;title&quot; =&gt; &quot;Question help text position&quot;, &quot;category&quot; =&gt; &quot;Simple options&quot;, &quot;width&quot; =&gt; &quot;4&quot;, ...), ...), &quot;optionsPage&quot; =&gt; &quot;core&quot;), &quot;aTemplateConfiguration&quot; =&gt; array(&quot;id&quot; =&gt; &quot;873&quot;, &quot;template_name&quot; =&gt; &quot;CHECK_bootswatch_16782&quot;, &quot;sid&quot; =&gt; &quot;587692&quot;, &quot;gsid&quot; =&gt; null, ...), &quot;oParentOptions&quot; =&gt; array(&quot;container&quot; =&gt; &quot;on&quot;, &quot;showpopups&quot; =&gt; &quot;1&quot;, &quot;showclearall&quot; =&gt; &quot;off&quot;, &quot;questionhelptextposition&quot; =&gt; &quot;top&quot;, ...), &quot;sPackagesToLoad&quot; =&gt; &quot;{&quot;add&quot;:[&quot;pjax&quot;,&quot;moment&quot;]}&quot;))				</div>

				<div class="code"><pre><span class="ln">106</span>                             if ($aOptionAttributes[&#039;optionsPage&#039;] == &#039;core&#039;){
<span class="ln">107</span>                                 $this-&gt;renderPartial(&#039;./options_core&#039;, array(
<span class="ln">108</span>                                     &#039;aOptionAttributes&#039; =&gt; $aOptionAttributes,
<span class="ln">109</span>                                     &#039;aTemplateConfiguration&#039; =&gt; $aTemplateConfiguration,
<span class="ln">110</span>                                     &#039;oParentOptions&#039; =&gt; $oParentOptions,
<span class="error"><span class="ln error-ln">111</span>                                     &#039;sPackagesToLoad&#039; =&gt; $sPackagesToLoad
</span><span class="ln">112</span>                                     )
<span class="ln">113</span>                                 );
<span class="ln">114</span>                             } else {
<span class="ln">115</span>                                 echo &#039;&lt;div role=&quot;tabpanel&quot; class=&quot;tab-pane active&quot; id=&quot;simple&quot;&gt;&#039;;
<span class="ln">116</span>                                 echo $templateOptionPage;
</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;/mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(126): <strong>require</strong>(&quot;/mnt/data/shnoulle/nginx/www/master/application/views/themeOptio...&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">
				#5			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;/mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(95): <strong>CBaseController</strong>-><strong>renderInternal</strong>(&quot;/mnt/data/shnoulle/nginx/www/master/application/views/themeOptio...&quot;, array(&quot;model&quot; =&gt; TemplateConfiguration, &quot;templateOptionPage&quot; =&gt; &quot;&quot;, &quot;optionInheritedValues&quot; =&gt; stdClass, &quot;optionCssFiles&quot; =&gt; &quot;{&quot;replace&quot;:[&quot;css\/theme.css&quot;,&quot;css\/custom.css&quot;]}&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">
				#6			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(872): <strong>CBaseController</strong>-><strong>renderFile</strong>(&quot;/mnt/data/shnoulle/nginx/www/master/application/views/themeOptio...&quot;, array(&quot;model&quot; =&gt; TemplateConfiguration, &quot;templateOptionPage&quot; =&gt; &quot;&quot;, &quot;optionInheritedValues&quot; =&gt; stdClass, &quot;optionCssFiles&quot; =&gt; &quot;{&quot;replace&quot;:[&quot;css\/theme.css&quot;,&quot;css\/custom.css&quot;]}&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 core collapsed">
			<td class="number">
				#7			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(785): <strong>CController</strong>-><strong>renderPartial</strong>(&quot;update&quot;, array(&quot;model&quot; =&gt; TemplateConfiguration, &quot;templateOptionPage&quot; =&gt; &quot;&quot;, &quot;optionInheritedValues&quot; =&gt; stdClass, &quot;optionCssFiles&quot; =&gt; &quot;{&quot;replace&quot;:[&quot;css\/theme.css&quot;,&quot;css\/custom.css&quot;]}&quot;, ...), true)				</div>

				<div class="code"><pre><span class="ln">780</span>      */
<span class="ln">781</span>     public function render($view,$data=null,$return=false)
<span class="ln">782</span>     {
<span class="ln">783</span>         if($this-&gt;beforeRender($view))
<span class="ln">784</span>         {
<span class="error"><span class="ln error-ln">785</span>             $output=$this-&gt;renderPartial($view,$data,true);
</span><span class="ln">786</span>             if(($layoutFile=$this-&gt;getLayoutFile($this-&gt;layout))!==false)
<span class="ln">787</span>                 $output=$this-&gt;renderFile($layoutFile,array(&#039;content&#039;=&gt;$output),true);
<span class="ln">788</span> 
<span class="ln">789</span>             $this-&gt;afterRender($view,$output);
<span class="ln">790</span> 
</pre></div>			</td>
		</tr>
						<tr class="trace app expanded">
			<td class="number">
				#8			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;/mnt/data/shnoulle/nginx/www/master/application/controllers/ThemeOptionsController.php(729): <strong>CController</strong>-><strong>render</strong>(&quot;update&quot;, array(&quot;model&quot; =&gt; TemplateConfiguration, &quot;templateOptionPage&quot; =&gt; &quot;&quot;, &quot;optionInheritedValues&quot; =&gt; stdClass, &quot;optionCssFiles&quot; =&gt; &quot;{&quot;replace&quot;:[&quot;css\/theme.css&quot;,&quot;css\/custom.css&quot;]}&quot;, ...))				</div>

				<div class="code"><pre><span class="ln">724</span>             $aData[&#039;subaction&#039;] = gT(&quot;Survey theme options&quot;);
<span class="ln">725</span>             $aData[&#039;sidemenu&#039;][&#039;landOnSideMenuTab&#039;] = &#039;settings&#039;;
<span class="ln">726</span>         }
<span class="ln">727</span> 
<span class="ln">728</span>         $this-&gt;aData = $aData;
<span class="error"><span class="ln error-ln">729</span>         $this-&gt;render(&#039;update&#039;, $aData);
</span><span class="ln">730</span>     }
<span class="ln">731</span> 
<span class="ln">732</span>     /**
<span class="ln">733</span>      * Try to get the get-parameter from request.
<span class="ln">734</span>      * At the moment there are three namings for a survey id:
</pre></div>			</td>
		</tr>
						<tr class="trace app expanded">
			<td class="number">
				#9			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;/mnt/data/shnoulle/nginx/www/master/application/controllers/ThemeOptionsController.php(346): <strong>ThemeOptionsController</strong>-><strong>updateCommon</strong>(TemplateConfiguration, 587692)				</div>

				<div class="code"><pre><span class="ln">341</span>             if ($model-&gt;save()) {
<span class="ln">342</span>                 App()-&gt;user-&gt;setFlash(&#039;success&#039;, gT(&#039;Theme options saved.&#039;));
<span class="ln">343</span>                 $this-&gt;redirect(array(&quot;themeOptions/updateSurvey&quot;, &#039;surveyid&#039; =&gt; $sid));
<span class="ln">344</span>             }
<span class="ln">345</span>         }
<span class="error"><span class="ln error-ln">346</span>         $this-&gt;updateCommon($model, $sid);
</span><span class="ln">347</span>     }
<span class="ln">348</span> 
<span class="ln">349</span>     /**
<span class="ln">350</span>      * Updates particular model.
<span class="ln">351</span>      * If update is successful, the browser will be redirected to the &#039;view&#039; page.
</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;/mnt/data/shnoulle/nginx/www/master/framework/web/actions/CInlineAction.php(49): <strong>ThemeOptionsController</strong>-><strong>actionUpdateSurvey</strong>()				</div>

				<div class="code"><pre><span class="ln">44</span>         $controller=$this-&gt;getController();
<span class="ln">45</span>         $method=new ReflectionMethod($controller, $methodName);
<span class="ln">46</span>         if($method-&gt;getNumberOfParameters()&gt;0)
<span class="ln">47</span>             return $this-&gt;runWithParamsInternal($controller, $method, $params);
<span class="ln">48</span> 
<span class="error"><span class="ln error-ln">49</span>         $controller-&gt;$methodName();
</span><span class="ln">50</span>         return true;
<span class="ln">51</span>     }
<span class="ln">52</span> }
</pre></div>			</td>
		</tr>
						<tr class="trace core collapsed">
			<td class="number">
				#11			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(308): <strong>CInlineAction</strong>-><strong>runWithParams</strong>(array(&quot;surveyid&quot; =&gt; &quot;587692&quot;, &quot;gsid&quot; =&gt; &quot;12&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">
				#12			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(286): <strong>CController</strong>-><strong>runAction</strong>(CInlineAction)				</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">
				#13			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(265): <strong>CController</strong>-><strong>runActionWithFilters</strong>(CInlineAction, 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">
				#14			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;/mnt/data/shnoulle/nginx/www/master/application/controllers/LSBaseController.php(160): <strong>CController</strong>-><strong>run</strong>(&quot;updateSurvey&quot;)				</div>

				<div class="code"><pre><span class="ln">155</span>                     $this-&gt;redirect(array(&#039;/admin/authentication/sa/login&#039;));
<span class="ln">156</span>                 }
<span class="ln">157</span>             }
<span class="ln">158</span>         }
<span class="ln">159</span> 
<span class="error"><span class="ln error-ln">160</span>         parent::run($action);
</span><span class="ln">161</span>     }
<span class="ln">162</span> 
<span class="ln">163</span>     /**
<span class="ln">164</span>      * Load and set session vars
<span class="ln">165</span>      *
</pre></div>			</td>
		</tr>
						<tr class="trace core collapsed">
			<td class="number">
				#15			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;/mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(282): <strong>LSBaseController</strong>-><strong>run</strong>(&quot;updateSurvey&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">
				#16			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;/mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(141): <strong>CWebApplication</strong>-><strong>runController</strong>(&quot;themeOptions/updateSurvey&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">
				#17			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;/mnt/data/shnoulle/nginx/www/master/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">
				#18			</td>
			<td class="content">
				<div class="trace-file">
											<div class="plus">+</div>
						<div class="minus">–</div>
										&nbsp;/mnt/data/shnoulle/nginx/www/master/index.php(182): <strong>CApplication</strong>-><strong>run</strong>()				</div>

				<div class="code"><pre><span class="ln">177</span> require_once APPPATH . &#039;core/LSYii_Application&#039; . EXT;
<span class="ln">178</span> 
<span class="ln">179</span> $config = require_once(APPPATH . &#039;config/internal&#039; . EXT);
<span class="ln">180</span> 
<span class="ln">181</span> Yii::$enableIncludePath = false;
<span class="error"><span class="ln error-ln">182</span> Yii::createApplication(&#039;LSYii_Application&#039;, $config)-&gt;run();
</span><span class="ln">183</span> 
<span class="ln">184</span> /* End of file index.php */
<span class="ln">185</span> /* Location: ./index.php */
</pre></div>			</td>
		</tr>
				</table>
	</div>

	<div class="version">
		2021-02-24 12:55:50 nginx/1.18.0 <a href="http://www.yiiframework.com/">Yii Framework</a>/1.1.22-dev	</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>
Error.html (37,289 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)4.4.9
I will donate to the project if issue is resolvedNo
Browsernot relevantn
Database type & versionmariadb
Server OS (if known)fedora/linux
Webserver software & version (if known)nginx
PHP Versionphp7.4

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2021-02-24 14:05

administrator   ~62487

debug = 2?

ollehar

ollehar

2021-02-24 14:05

administrator   ~62488

oh, you did already. sorry!

DenisChenu

DenisChenu

2021-02-24 15:10

developer   ~62495

DB state for this survey

ollehar

ollehar

2021-03-01 16:01

administrator   ~62577

Urgh. Spaghetti monster. D:

ollehar

ollehar

2021-03-01 16:05

administrator   ~62579

cssFramework property is used both as object and string in different parts of the code. #death

DenisChenu

DenisChenu

2021-03-01 16:23

developer   ~62580

Urgh. Spaghetti monster. D:

Yes, yes and 10 thousand yes

https://bugs.limesurvey.org/view.php?id=14980

ollehar

ollehar

2021-03-01 17:47

administrator   ~62590

Branch bug/17127-extended-theme-500-error

ollehar

ollehar

2021-03-01 21:37

administrator   ~62593

It looks like

"class TemplateConfig extends CActiveRecord"

has no corresponding database table, despite inheriting from active record??? Not good!!!

ollehar

ollehar

2021-03-01 21:40

administrator   ~62594

Maybe TemplateConfig should be a trait rather. :d

ollehar

ollehar

2021-03-01 22:22

administrator   ~62595

Almost all code in "application/views/themeOptions/options_core.php" should be a widget.

DenisChenu

DenisChenu

2021-03-02 09:07

developer   ~62599

Branch bug/17127-extended-theme-500-error

Can you give the direct link to the branch ?

ollehar

ollehar

2021-03-02 10:24

administrator   ~62602

Sure. https://github.com/LimeSurvey/LimeSurvey/tree/bug/17127-extended-theme-500-error

Also added a new field "Working Git branch" to all bugs (not shown to non-devs).

ollehar

ollehar

2021-03-02 16:44

administrator   ~62609

Last edited: 2021-03-02 16:47

Very fake fix: https://github.com/LimeSurvey/LimeSurvey/commit/2972aea41c51c74db95bfe40c337ae839471152c

But it reduces severity from crash to block for fonts.

Issue History

Date Modified Username Field Change
2021-02-24 14:03 DenisChenu New Issue
2021-02-24 14:03 DenisChenu File Added: 500 Internal Server Error.html
2021-02-24 14:03 DenisChenu File Added: Error.html
2021-02-24 14:05 ollehar Note Added: 62487
2021-02-24 14:05 ollehar Note Added: 62488
2021-02-24 14:06 ollehar Priority none => high
2021-02-24 14:06 ollehar Severity minor => crash
2021-02-24 15:10 DenisChenu Note Added: 62495
2021-02-24 15:10 DenisChenu File Added: Capture d’écran du 2021-02-24 15-10-16.png
2021-03-01 15:30 ollehar Assigned To => ollehar
2021-03-01 15:30 ollehar Status new => assigned
2021-03-01 16:01 ollehar Note Added: 62577
2021-03-01 16:05 ollehar Note Added: 62579
2021-03-01 16:23 DenisChenu Note Added: 62580
2021-03-01 17:47 ollehar Note Added: 62590
2021-03-01 21:37 ollehar Note Added: 62593
2021-03-01 21:40 ollehar Note Added: 62594
2021-03-01 22:22 ollehar Note Added: 62595
2021-03-02 09:07 DenisChenu Note Added: 62599
2021-03-02 10:23 ollehar Working Git branch (developer only) => bug/17127-extended-theme-500-error
2021-03-02 10:24 ollehar Note Added: 62602
2021-03-02 16:44 ollehar Note Added: 62609
2021-03-02 16:45 ollehar Severity crash => partial_block
2021-03-02 16:47 ollehar Note Edited: 62609
2021-03-02 16:56 ollehar Priority high => normal
2021-03-02 17:49 ollehar Summary Extended theme : 500 error on option => Can't see inherited value of variations in theme options
2021-03-02 17:49 ollehar Description Updated
2021-03-03 10:15 ollehar Description Updated