View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
17306 | Bug reports | Survey taking | public | 2021-05-17 18:51 | 2021-07-12 11:53 |
Reporter | DenisChenu | Assigned To | gabrieljenik | ||
Priority | high | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 3.25.20 | ||||
Summary | 17306: Some update theme can broke page in 3.26.4 | ||||
Description | Sopme theme broken totally after last upgrade. | ||||
Steps To Reproduce |
| ||||
Additional Information | Here usage of
But real usage of | ||||
Tags | No tags attached. | ||||
Attached Files | Twig_Sandbox_SecurityNotAllowedMethodError.html (65,694 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>Twig\Sandbox\SecurityNotAllowedMethodError</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>Twig\Sandbox\SecurityNotAllowedMethodError</h1> <p class="message"> Calling "tag" method on a "ETwigViewRendererStaticClassProxy" object is not allowed. </p> <div class="source"> <p class="file">/mnt/data/shnoulle/nginx/www/3LTS/upload/themes/survey/testDiv_vanilla/views/subviews/messages/welcome.twig(30)</p> <div class="code"><pre><span class="ln">18</span> In this file, you have access to the array aSurveyInfo that contains the datas of the current survey <span class="ln">19</span> To see what's inside aSurveyInfo, turn debug mode on and copy the following line to the end of this file: <span class="ln">20</span> {{ dump(aSurveyInfo) }} <span class="ln">21</span> <span class="ln">22</span> #} <span class="ln">23</span> <span class="ln">24</span> <!-- Welcome Message --> <span class="ln">25</span> <div id="{{ aSurveyInfo.id.welcomecontainer }}" class="{{ aSurveyInfo.class.welcomecontainer }}" {{ aSurveyInfo.attr.welcomecontainer }}> <span class="ln">26</span> <span class="ln">27</span> <!-- Survey Name --> <span class="ln">28</span> {{ C.Html.tag('h1', ({ <span class="ln">29</span> 'class':aSurveyInfo.class.surveyname ~ " text-center", <span class="error"><span class="ln error-ln">30</span> }), processString(aSurveyInfo.name,1) ) </span><span class="ln">31</span> }} <span class="ln">32</span> <!-- Survey description --> <span class="ln">33</span> <div class="{{ aSurveyInfo.class.description }} text-info text-center" {{ aSurveyInfo.attr.description }}> <span class="ln">34</span> {{ processString(aSurveyInfo.description,1) }} <span class="ln">35</span> </div> <span class="ln">36</span> <span class="ln">37</span> <!-- Welcome text --> <span class="ln">38</span> <div class="{{ aSurveyInfo.class.welcome }} h4 text-primary" {{ aSurveyInfo.attr.welcome }}> <span class="ln">39</span> {{ processString(aSurveyInfo.welcome,1) }} <span class="ln">40</span> </div> <span class="ln">41</span> <span class="ln">42</span> <!-- Question count --> </pre></div> </div> <div class="traces"> <h2>Stack Trace</h2> <table style="width:100%;"> <tbody><tr class="trace app expanded"> <td class="number"> #0 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Extension/SandboxExtension.php(83): <strong>Twig\Sandbox\SecurityPolicy</strong>-><strong>checkMethodAllowed</strong>(ETwigViewRendererStaticClassProxy, "tag") </div> <div class="code"><pre><span class="ln">78</span> } <span class="ln">79</span> <span class="ln">80</span> public function checkMethodAllowed($obj, $method) <span class="ln">81</span> { <span class="ln">82</span> if ($this->isSandboxed()) { <span class="error"><span class="ln error-ln">83</span> $this->policy->checkMethodAllowed($obj, $method); </span><span class="ln">84</span> } <span class="ln">85</span> } <span class="ln">86</span> <span class="ln">87</span> public function checkPropertyAllowed($obj, $method) <span class="ln">88</span> { </pre></div> </td> </tr> <tr class="trace app expanded"> <td class="number"> #1 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(695): <strong>Twig\Extension\SandboxExtension</strong>-><strong>checkMethodAllowed</strong>(ETwigViewRendererStaticClassProxy, "tag") </div> <div class="code"><pre><span class="ln">690</span> if ($isDefinedTest) { <span class="ln">691</span> return true; <span class="ln">692</span> } <span class="ln">693</span> <span class="ln">694</span> if ($this->env->hasExtension('\Twig\Extension\SandboxExtension')) { <span class="error"><span class="ln error-ln">695</span> $this->env->getExtension('\Twig\Extension\SandboxExtension')->checkMethodAllowed($object, $method); </span><span class="ln">696</span> } <span class="ln">697</span> <span class="ln">698</span> // Some objects throw exceptions when they have __call, and the method we try <span class="ln">699</span> // to call is not supported. If ignoreStrictCheck is true, we should return null. <span class="ln">700</span> try { </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> /mnt/data/shnoulle/nginx/www/3LTS/tmp/runtime/twig_cache/7e/7e22825108908072a48c48e6b779ed7cab587ba9d231aa54af3481c3333493e3.php(71): <strong>Twig\Template</strong>-><strong>getAttribute</strong>(ETwigViewRendererStaticClassProxy, "tag", array("h1", array("class" => " survey-name text-center"), "Test broken theme"), "method") </div> <div class="code"><pre><span class="ln">66</span> <!-- Survey Name --> <span class="ln">67</span> "; <span class="ln">68</span> // line 28 <span class="ln">69</span> echo $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["C"] ?? null), "Html", []), "tag", [0 => "h1", 1 => ["class" => ($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute( // line 29 <span class="ln">70</span> ($context["aSurveyInfo"] ?? null), "class", []), "surveyname", [])) . " text-center")], 2 => LS_Twig_Extension::processString($this->sandbox->ensureToStringAllowed($this->getAttribute( // line 30 <span class="error"><span class="ln error-ln">71</span> ($context["aSurveyInfo"] ?? null), "name", [])), 1)], "method")); </span><span class="ln">72</span> // line 31 <span class="ln">73</span> echo " <span class="ln">74</span> <!-- Survey description --> <span class="ln">75</span> <div class=\""; <span class="ln">76</span> // line 33 </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #3 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(455): <strong>__TwigTemplate_dc1e4d5098abc0087cc01c823d523fe1922f760e23cb58e84425fc46c6300941</strong>-><strong>doDisplay</strong>(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) </div> <div class="code"><pre><span class="ln">450</span> } <span class="ln">451</span> <span class="ln">452</span> protected function displayWithErrorHandling(array $context, array $blocks = []) <span class="ln">453</span> { <span class="ln">454</span> try { <span class="error"><span class="ln error-ln">455</span> $this->doDisplay($context, $blocks); </span><span class="ln">456</span> } catch (Error $e) { <span class="ln">457</span> if (!$e->getSourceContext()) { <span class="ln">458</span> $e->setSourceContext($this->getSourceContext()); <span class="ln">459</span> } <span class="ln">460</span> </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #4 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(422): <strong>Twig\Template</strong>-><strong>displayWithErrorHandling</strong>(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) </div> <div class="code"><pre><span class="ln">417</span> return $this->blocks; <span class="ln">418</span> } <span class="ln">419</span> <span class="ln">420</span> public function display(array $context, array $blocks = []) <span class="ln">421</span> { <span class="error"><span class="ln error-ln">422</span> $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks)); </span><span class="ln">423</span> } <span class="ln">424</span> <span class="ln">425</span> public function render(array $context) <span class="ln">426</span> { <span class="ln">427</span> $level = ob_get_level(); </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #5 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(434): <strong>Twig\Template</strong>-><strong>display</strong>(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...)) </div> <div class="code"><pre><span class="ln">429</span> ob_start(); <span class="ln">430</span> } else { <span class="ln">431</span> ob_start(function () { return ''; }); <span class="ln">432</span> } <span class="ln">433</span> try { <span class="error"><span class="ln error-ln">434</span> $this->display($context); </span><span class="ln">435</span> } catch (\Exception $e) { <span class="ln">436</span> while (ob_get_level() > $level) { <span class="ln">437</span> ob_end_clean(); <span class="ln">438</span> } <span class="ln">439</span> </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #6 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Extension/CoreExtension.php(1591): <strong>Twig\Template</strong>-><strong>render</strong>(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...)) </div> <div class="code"><pre><span class="ln">1586</span> <span class="ln">1587</span> throw $e; <span class="ln">1588</span> } <span class="ln">1589</span> <span class="ln">1590</span> try { <span class="error"><span class="ln error-ln">1591</span> $ret = $loaded ? $loaded->render($variables) : ''; </span><span class="ln">1592</span> } catch (\Exception $e) { <span class="ln">1593</span> if ($isSandboxed && !$alreadySandboxed) { <span class="ln">1594</span> $sandbox->disableSandbox(); <span class="ln">1595</span> } <span class="ln">1596</span> </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #7 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/tmp/runtime/twig_cache/a0/a0f947abc78ede267d4f87b75f1e0be37a2ffb5adfd90a84a6769f21ebf69f91.php(83): <strong>twig_include</strong>(Twig\Environment, array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...), "./subviews/messages/welcome.twig") </div> <div class="code"><pre><span class="ln">78</span> echo " <span class="ln">79</span> <span class="ln">80</span> "; <span class="ln">81</span> // line 33 <span class="ln">82</span> echo " "; <span class="error"><span class="ln error-ln">83</span> echo twig_include($this->env, $context, "./subviews/messages/welcome.twig"); </span><span class="ln">84</span> echo " <span class="ln">85</span> <span class="ln">86</span> <span class="ln">87</span> "; <span class="ln">88</span> // line 36 </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #8 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(455): <strong>__TwigTemplate_d60686807098baeb450abd4f239e9766f42d251569857deea587b27353aee3c5</strong>-><strong>doDisplay</strong>(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) </div> <div class="code"><pre><span class="ln">450</span> } <span class="ln">451</span> <span class="ln">452</span> protected function displayWithErrorHandling(array $context, array $blocks = []) <span class="ln">453</span> { <span class="ln">454</span> try { <span class="error"><span class="ln error-ln">455</span> $this->doDisplay($context, $blocks); </span><span class="ln">456</span> } catch (Error $e) { <span class="ln">457</span> if (!$e->getSourceContext()) { <span class="ln">458</span> $e->setSourceContext($this->getSourceContext()); <span class="ln">459</span> } <span class="ln">460</span> </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #9 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(422): <strong>Twig\Template</strong>-><strong>displayWithErrorHandling</strong>(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) </div> <div class="code"><pre><span class="ln">417</span> return $this->blocks; <span class="ln">418</span> } <span class="ln">419</span> <span class="ln">420</span> public function display(array $context, array $blocks = []) <span class="ln">421</span> { <span class="error"><span class="ln error-ln">422</span> $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks)); </span><span class="ln">423</span> } <span class="ln">424</span> <span class="ln">425</span> public function render(array $context) <span class="ln">426</span> { <span class="ln">427</span> $level = ob_get_level(); </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #10 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(434): <strong>Twig\Template</strong>-><strong>display</strong>(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...)) </div> <div class="code"><pre><span class="ln">429</span> ob_start(); <span class="ln">430</span> } else { <span class="ln">431</span> ob_start(function () { return ''; }); <span class="ln">432</span> } <span class="ln">433</span> try { <span class="error"><span class="ln error-ln">434</span> $this->display($context); </span><span class="ln">435</span> } catch (\Exception $e) { <span class="ln">436</span> while (ob_get_level() > $level) { <span class="ln">437</span> ob_end_clean(); <span class="ln">438</span> } <span class="ln">439</span> </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #11 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Extension/CoreExtension.php(1591): <strong>Twig\Template</strong>-><strong>render</strong>(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...)) </div> <div class="code"><pre><span class="ln">1586</span> <span class="ln">1587</span> throw $e; <span class="ln">1588</span> } <span class="ln">1589</span> <span class="ln">1590</span> try { <span class="error"><span class="ln error-ln">1591</span> $ret = $loaded ? $loaded->render($variables) : ''; </span><span class="ln">1592</span> } catch (\Exception $e) { <span class="ln">1593</span> if ($isSandboxed && !$alreadySandboxed) { <span class="ln">1594</span> $sandbox->disableSandbox(); <span class="ln">1595</span> } <span class="ln">1596</span> </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #12 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/tmp/runtime/twig_cache/b0/b08314c0ef2995dc2b595d9f38f7875fe411c5607082ad77b9c962a070753ef6.php(92): <strong>twig_include</strong>(Twig\Environment, array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...), "./subviews/content/firstpage.twig") </div> <div class="code"><pre><span class="ln">87</span> // line 28 <span class="ln">88</span> echo " "; <span class="ln">89</span> if ((($context["include_content"] ?? null) != "./subviews/content/")) { <span class="ln">90</span> // line 29 <span class="ln">91</span> echo " "; <span class="error"><span class="ln error-ln">92</span> echo twig_include($this->env, $context, $this->sandbox->ensureToStringAllowed(($context["include_content"] ?? null))); </span><span class="ln">93</span> echo " <span class="ln">94</span> "; <span class="ln">95</span> } <span class="ln">96</span> // line 31 <span class="ln">97</span> echo " </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #13 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(455): <strong>__TwigTemplate_2100e0e527366063587d139ceb31f49e7db80c1001b9f46aa2f1830b1275ca22</strong>-><strong>doDisplay</strong>(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) </div> <div class="code"><pre><span class="ln">450</span> } <span class="ln">451</span> <span class="ln">452</span> protected function displayWithErrorHandling(array $context, array $blocks = []) <span class="ln">453</span> { <span class="ln">454</span> try { <span class="error"><span class="ln error-ln">455</span> $this->doDisplay($context, $blocks); </span><span class="ln">456</span> } catch (Error $e) { <span class="ln">457</span> if (!$e->getSourceContext()) { <span class="ln">458</span> $e->setSourceContext($this->getSourceContext()); <span class="ln">459</span> } <span class="ln">460</span> </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> /mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(422): <strong>Twig\Template</strong>-><strong>displayWithErrorHandling</strong>(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) </div> <div class="code"><pre><span class="ln">417</span> return $this->blocks; <span class="ln">418</span> } <span class="ln">419</span> <span class="ln">420</span> public function display(array $context, array $blocks = []) <span class="ln">421</span> { <span class="error"><span class="ln error-ln">422</span> $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks)); </span><span class="ln">423</span> } <span class="ln">424</span> <span class="ln">425</span> public function render(array $context) <span class="ln">426</span> { <span class="ln">427</span> $level = ob_get_level(); </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #15 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/tmp/runtime/twig_cache/6d/6d28fc70fb683d2c8c5920de9f9e82c0eb09c10952a479085414e729322dee76.php(73): <strong>Twig\Template</strong>-><strong>display</strong>(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...)) </div> <div class="code"><pre><span class="ln">68</span> echo $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["aSurveyInfo"] ?? null), "attr", []), "outerframe", [])); <span class="ln">69</span> echo " > <span class="ln">70</span> "; <span class="ln">71</span> // line 23 <span class="ln">72</span> echo " "; <span class="error"><span class="ln error-ln">73</span> $this->loadTemplate("./subviews/content/mainrow.twig", "./subviews/content/outerframe.twig", 23)->display(twig_array_merge($context, ["include_content" => ($context["include_content"] ?? null)])); </span><span class="ln">74</span> // line 24 <span class="ln">75</span> echo "</div> <span class="ln">76</span> "; <span class="ln">77</span> } <span class="ln">78</span> </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #16 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(455): <strong>__TwigTemplate_f2600f2b5f193a973fdabcc0ecae870a64d169de241555f69e1ebf97bcbe63c6</strong>-><strong>doDisplay</strong>(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) </div> <div class="code"><pre><span class="ln">450</span> } <span class="ln">451</span> <span class="ln">452</span> protected function displayWithErrorHandling(array $context, array $blocks = []) <span class="ln">453</span> { <span class="ln">454</span> try { <span class="error"><span class="ln error-ln">455</span> $this->doDisplay($context, $blocks); </span><span class="ln">456</span> } catch (Error $e) { <span class="ln">457</span> if (!$e->getSourceContext()) { <span class="ln">458</span> $e->setSourceContext($this->getSourceContext()); <span class="ln">459</span> } <span class="ln">460</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> /mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(422): <strong>Twig\Template</strong>-><strong>displayWithErrorHandling</strong>(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) </div> <div class="code"><pre><span class="ln">417</span> return $this->blocks; <span class="ln">418</span> } <span class="ln">419</span> <span class="ln">420</span> public function display(array $context, array $blocks = []) <span class="ln">421</span> { <span class="error"><span class="ln error-ln">422</span> $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks)); </span><span class="ln">423</span> } <span class="ln">424</span> <span class="ln">425</span> public function render(array $context) <span class="ln">426</span> { <span class="ln">427</span> $level = ob_get_level(); </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> /mnt/data/shnoulle/nginx/www/3LTS/tmp/runtime/twig_cache/f1/f18a1b3bff3a8e501baf497abb5e02c7334dadc89087de7ee4ff0beca382279a.php(237): <strong>Twig\Template</strong>-><strong>display</strong>(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...)) </div> <div class="code"><pre><span class="ln">232</span> // line 107 <span class="ln">233</span> echo " "; <span class="ln">234</span> $context["sViewContent"] = (("./subviews/content/" . $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["aSurveyInfo"] ?? null), "include_content", []))) . ".twig"); <span class="ln">235</span> // line 108 <span class="ln">236</span> echo " "; <span class="error"><span class="ln error-ln">237</span> $this->loadTemplate("./subviews/content/outerframe.twig", "__string_template__a09e08bb0b857462a46d701f051c829efdae15a79a5fb58c93dbc75d2adce659", 108)->display(twig_array_merge($context, ["include_content" => ($context["sViewContent"] ?? null)])); </span><span class="ln">238</span> // line 109 <span class="ln">239</span> echo " "; <span class="ln">240</span> } <span class="ln">241</span> <span class="ln">242</span> // line 126 </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #19 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(216): <strong>__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279</strong>-><strong>block_content</strong>(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...), array("head" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_head"), "pjaxbegin" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_pjaxbegin"), "body" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_body"), "nav_bar" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_nav_bar"), ...)) </div> <div class="code"><pre><span class="ln">211</span> throw new \LogicException('A block must be a method on a \Twig\Template instance.'); <span class="ln">212</span> } <span class="ln">213</span> <span class="ln">214</span> if (null !== $template) { <span class="ln">215</span> try { <span class="error"><span class="ln error-ln">216</span> $template->$block($context, $blocks); </span><span class="ln">217</span> } catch (Error $e) { <span class="ln">218</span> if (!$e->getSourceContext()) { <span class="ln">219</span> $e->setSourceContext($template->getSourceContext()); <span class="ln">220</span> } <span class="ln">221</span> </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #20 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/tmp/runtime/twig_cache/f1/f18a1b3bff3a8e501baf497abb5e02c7334dadc89087de7ee4ff0beca382279a.php(183): <strong>Twig\Template</strong>-><strong>displayBlock</strong>("content", array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...), array("head" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_head"), "pjaxbegin" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_pjaxbegin"), "body" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_body"), "nav_bar" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_nav_bar"), ...)) </div> <div class="code"><pre><span class="ln">178</span> // line 100 <span class="ln">179</span> echo " <span class="ln">180</span> <!-- Outer Frame Container --> <span class="ln">181</span> "; <span class="ln">182</span> // line 102 <span class="error"><span class="ln error-ln">183</span> $this->displayBlock('content', $context, $blocks); </span><span class="ln">184</span> // line 110 <span class="ln">185</span> echo " <span class="ln">186</span> "; <span class="ln">187</span> // line 112 <span class="ln">188</span> echo " "; </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> /mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(216): <strong>__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279</strong>-><strong>block_body</strong>(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...), array("head" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_head"), "pjaxbegin" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_pjaxbegin"), "body" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_body"), "nav_bar" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_nav_bar"), ...)) </div> <div class="code"><pre><span class="ln">211</span> throw new \LogicException('A block must be a method on a \Twig\Template instance.'); <span class="ln">212</span> } <span class="ln">213</span> <span class="ln">214</span> if (null !== $template) { <span class="ln">215</span> try { <span class="error"><span class="ln error-ln">216</span> $template->$block($context, $blocks); </span><span class="ln">217</span> } catch (Error $e) { <span class="ln">218</span> if (!$e->getSourceContext()) { <span class="ln">219</span> $e->setSourceContext($template->getSourceContext()); <span class="ln">220</span> } <span class="ln">221</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> /mnt/data/shnoulle/nginx/www/3LTS/tmp/runtime/twig_cache/f1/f18a1b3bff3a8e501baf497abb5e02c7334dadc89087de7ee4ff0beca382279a.php(117): <strong>Twig\Template</strong>-><strong>displayBlock</strong>("body", array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...), array("head" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_head"), "pjaxbegin" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_pjaxbegin"), "body" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_body"), "nav_bar" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_nav_bar"), ...)) </div> <div class="code"><pre><span class="ln">112</span> // line 88 <span class="ln">113</span> echo $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["aSurveyInfo"] ?? null), "id", []), "dynamicreload", [])); <span class="ln">114</span> echo "\"> <span class="ln">115</span> "; <span class="ln">116</span> // line 89 <span class="error"><span class="ln error-ln">117</span> $this->displayBlock('body', $context, $blocks); </span><span class="ln">118</span> // line 123 <span class="ln">119</span> echo " </div> <span class="ln">120</span> <span class="ln">121</span> </article> <span class="ln">122</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> /mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(455): <strong>__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279</strong>-><strong>doDisplay</strong>(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...), array("head" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_head"), "pjaxbegin" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_pjaxbegin"), "body" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_body"), "nav_bar" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_nav_bar"), ...)) </div> <div class="code"><pre><span class="ln">450</span> } <span class="ln">451</span> <span class="ln">452</span> protected function displayWithErrorHandling(array $context, array $blocks = []) <span class="ln">453</span> { <span class="ln">454</span> try { <span class="error"><span class="ln error-ln">455</span> $this->doDisplay($context, $blocks); </span><span class="ln">456</span> } catch (Error $e) { <span class="ln">457</span> if (!$e->getSourceContext()) { <span class="ln">458</span> $e->setSourceContext($this->getSourceContext()); <span class="ln">459</span> } <span class="ln">460</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> /mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(422): <strong>Twig\Template</strong>-><strong>displayWithErrorHandling</strong>(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "App" => LSYii_Application, "C" => ETwigViewRendererYiiCoreStaticClassesProxy, ...), array("head" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_head"), "pjaxbegin" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_pjaxbegin"), "body" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_body"), "nav_bar" => array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279, "block_nav_bar"), ...)) </div> <div class="code"><pre><span class="ln">417</span> return $this->blocks; <span class="ln">418</span> } <span class="ln">419</span> <span class="ln">420</span> public function display(array $context, array $blocks = []) <span class="ln">421</span> { <span class="error"><span class="ln error-ln">422</span> $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks)); </span><span class="ln">423</span> } <span class="ln">424</span> <span class="ln">425</span> public function render(array $context) <span class="ln">426</span> { <span class="ln">427</span> $level = ob_get_level(); </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> /mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(434): <strong>Twig\Template</strong>-><strong>display</strong>(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...))) </div> <div class="code"><pre><span class="ln">429</span> ob_start(); <span class="ln">430</span> } else { <span class="ln">431</span> ob_start(function () { return ''; }); <span class="ln">432</span> } <span class="ln">433</span> try { <span class="error"><span class="ln error-ln">434</span> $this->display($context); </span><span class="ln">435</span> } catch (\Exception $e) { <span class="ln">436</span> while (ob_get_level() > $level) { <span class="ln">437</span> ob_end_clean(); <span class="ln">438</span> } <span class="ln">439</span> </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #26 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/TemplateWrapper.php(47): <strong>Twig\Template</strong>-><strong>render</strong>(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...)), false) </div> <div class="code"><pre><span class="ln">42</span> */ <span class="ln">43</span> public function render($context = []) <span class="ln">44</span> { <span class="ln">45</span> // using func_get_args() allows to not expose the blocks argument <span class="ln">46</span> // as it should only be used by internal code <span class="error"><span class="ln error-ln">47</span> return $this->template->render($context, \func_num_args() > 1 ? func_get_arg(1) : []); </span><span class="ln">48</span> } <span class="ln">49</span> <span class="ln">50</span> /** <span class="ln">51</span> * Displays the template. <span class="ln">52</span> * </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #27 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/application/core/LSETwigViewRenderer.php(346): <strong>Twig\TemplateWrapper</strong>-><strong>render</strong>(array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...)), false) </div> <div class="code"><pre><span class="ln">341</span> <span class="ln">342</span> } <span class="ln">343</span> <span class="ln">344</span> // Twig rendering <span class="ln">345</span> $oTwigTemplate = $twig->createTemplate($sString); <span class="error"><span class="ln error-ln">346</span> $sHtml = $oTwigTemplate->render($aDatas, false); </span><span class="ln">347</span> <span class="ln">348</span> return $sHtml; <span class="ln">349</span> } <span class="ln">350</span> <span class="ln">351</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> /mnt/data/shnoulle/nginx/www/3LTS/application/core/LSETwigViewRenderer.php(42): <strong>LSETwigViewRenderer</strong>-><strong>convertTwigToHtml</strong>("{# LimeSurvey Copyright (C) 2007-2017 The LimeSurvey Pro...", array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...)), TemplateConfiguration) </div> <div class="code"><pre><span class="ln">37</span> { <span class="ln">38</span> $oTemplate = Template::getLastInstance(); <span class="ln">39</span> $oLayoutTemplate = $this->getTemplateForView($sLayout, $oTemplate); <span class="ln">40</span> if ($oLayoutTemplate) { <span class="ln">41</span> $line = file_get_contents($oLayoutTemplate->viewPath.$sLayout); <span class="error"><span class="ln error-ln">42</span> $sHtml = $this->convertTwigToHtml($line, $aDatas, $oTemplate); </span><span class="ln">43</span> $sEmHiddenInputs = LimeExpressionManager::FinishProcessPublicPage(true); <span class="ln">44</span> if($sEmHiddenInputs) { <span class="ln">45</span> $sHtml = str_replace("<!-- emScriptsAndHiddenInputs -->","<!-- emScriptsAndHiddenInputs updated -->\n".$sEmHiddenInputs,$sHtml); <span class="ln">46</span> } <span class="ln">47</span> if ($bReturn) { </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #29 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/application/helpers/frontend_helper.php(2059): <strong>LSETwigViewRenderer</strong>-><strong>renderTemplateFromFile</strong>("layout_global.twig", array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...)), false) </div> <div class="code"><pre><span class="ln">2054</span> $thissurvey['surveyUrl'] = Yii::app()->getController()->createUrl("survey/index", array("sid"=>$surveyid)); // For form action (will remove newtest) <span class="ln">2055</span> $thissurvey['attr']['welcomecontainer'] = $thissurvey['attr']['surveyname'] = $thissurvey['attr']['description'] = $thissurvey['attr']['welcome'] = $thissurvey['attr']['questioncount'] = ''; <span class="ln">2056</span> <span class="ln">2057</span> $thissurvey['include_content'] = 'firstpage'; <span class="ln">2058</span> <span class="error"><span class="ln error-ln">2059</span> Yii::app()->twigRenderer->renderTemplateFromFile("layout_global.twig", array('oSurvey'=>Survey::model()->findByPk($surveyid), 'aSurveyInfo'=>$thissurvey), false); </span><span class="ln">2060</span> } <span class="ln">2061</span> <span class="ln">2062</span> /** <span class="ln">2063</span> * killSurveySession : reset $_SESSION part for the survey <span class="ln">2064</span> * @param int $iSurveyID </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #30 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/application/helpers/SurveyRuntimeHelper.php(958): <strong>display_first_page</strong>(array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...)) </div> <div class="code"><pre><span class="ln">953</span> $this->aSurveyInfo['datasecurity_notice_label'] = Survey::replacePolicyLink($this->aSurveyInfo['datasecurity_notice_label'],$this->aSurveyInfo['sid']); <span class="ln">954</span> } <span class="ln">955</span> <span class="ln">956</span> if ($bDisplayFirstPage) { <span class="ln">957</span> $_SESSION[$this->LEMsessid]['test'] = time(); <span class="error"><span class="ln error-ln">958</span> display_first_page($this->thissurvey, $this->aSurveyInfo); </span><span class="ln">959</span> Yii::app()->end(); // So we can still see debug messages <span class="ln">960</span> } <span class="ln">961</span> } <span class="ln">962</span> <span class="ln">963</span> private function checkForDataSecurityAccepted(){ </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #31 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/application/helpers/SurveyRuntimeHelper.php(107): <strong>SurveyRuntimeHelper</strong>-><strong>displayFirstPageIfNeeded</strong>() </div> <div class="code"><pre><span class="ln">102</span> <span class="ln">103</span> if (!$this->previewgrp && !$this->previewquestion) { <span class="ln">104</span> $this->initMove(); // main methods to init session, LEM, moves, errors, etc <span class="ln">105</span> $this->checkForDataSecurityAccepted(); // must be called after initMove to allow LEM to be initialized <span class="ln">106</span> $this->checkQuotas(); // check quotas (then the process will stop here) <span class="error"><span class="ln error-ln">107</span> $this->displayFirstPageIfNeeded(); </span><span class="ln">108</span> $this->saveAllIfNeeded(); <span class="ln">109</span> $this->saveSubmitIfNeeded(); <span class="ln">110</span> // TODO: move somewhere else <span class="ln">111</span> $this->setNotAnsweredAndNotValidated(); <span class="ln">112</span> } else { </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> /mnt/data/shnoulle/nginx/www/3LTS/application/controllers/survey/index.php(595): <strong>SurveyRuntimeHelper</strong>-><strong>run</strong>("494552", array("surveyid" => "494552", "thissurvey" => array("htmlemail" => "Y", "format" => "G", "template" => "testDiv_vanilla", "language" => "en", ...), "thisstep" => null, "tokensexist" => 0, ...)) </div> <div class="code"><pre><span class="ln">590</span> unset($redata); <span class="ln">591</span> $redata = compact(array_keys(get_defined_vars())); <span class="ln">592</span> Yii::import('application.helpers.SurveyRuntimeHelper'); <span class="ln">593</span> $tmp = new SurveyRuntimeHelper(); <span class="ln">594</span> // try { <span class="error"><span class="ln error-ln">595</span> $tmp->run($surveyid, $redata); </span><span class="ln">596</span> // } catch (WrongTemplateVersionException $ex) { <span class="ln">597</span> // echo $ex->getMessage(); <span class="ln">598</span> // } <span class="ln">599</span> } <span class="ln">600</span> </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #33 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/application/controllers/survey/index.php(24): <strong>index</strong>-><strong>action</strong>() </div> <div class="code"><pre><span class="ln">19</span> public $oTemplate; <span class="ln">20</span> <span class="ln">21</span> public function run() <span class="ln">22</span> { <span class="ln">23</span> useFirebug(); <span class="error"><span class="ln error-ln">24</span> $this->action(); </span><span class="ln">25</span> } <span class="ln">26</span> <span class="ln">27</span> public function action() <span class="ln">28</span> { <span class="ln">29</span> global $surveyid; </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> /mnt/data/shnoulle/nginx/www/3LTS/framework/web/actions/CAction.php(76): <strong>index</strong>-><strong>run</strong>() </div> <div class="code"><pre><span class="ln">71</span> { <span class="ln">72</span> $method=new ReflectionMethod($this, 'run'); <span class="ln">73</span> if($method->getNumberOfParameters()>0) <span class="ln">74</span> return $this->runWithParamsInternal($this, $method, $params); <span class="ln">75</span> <span class="error"><span class="ln error-ln">76</span> $this->run(); </span><span class="ln">77</span> return true; <span class="ln">78</span> } <span class="ln">79</span> <span class="ln">80</span> /** <span class="ln">81</span> * Executes a method of an object with the supplied named parameters. </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #35 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/framework/web/CController.php(308): <strong>CAction</strong>-><strong>runWithParams</strong>(array("r" => "survey/index", "sid" => "494552", "newtest" => "Y", "lang" => "en")) </div> <div class="code"><pre><span class="ln">303</span> { <span class="ln">304</span> $priorAction=$this->_action; <span class="ln">305</span> $this->_action=$action; <span class="ln">306</span> if($this->beforeAction($action)) <span class="ln">307</span> { <span class="error"><span class="ln error-ln">308</span> if($action->runWithParams($this->getActionParams())===false) </span><span class="ln">309</span> $this->invalidActionParams($action); <span class="ln">310</span> else <span class="ln">311</span> $this->afterAction($action); <span class="ln">312</span> } <span class="ln">313</span> $this->_action=$priorAction; </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #36 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/framework/web/CController.php(286): <strong>CController</strong>-><strong>runAction</strong>(index) </div> <div class="code"><pre><span class="ln">281</span> * @see runAction <span class="ln">282</span> */ <span class="ln">283</span> public function runActionWithFilters($action,$filters) <span class="ln">284</span> { <span class="ln">285</span> if(empty($filters)) <span class="error"><span class="ln error-ln">286</span> $this->runAction($action); </span><span class="ln">287</span> else <span class="ln">288</span> { <span class="ln">289</span> $priorAction=$this->_action; <span class="ln">290</span> $this->_action=$action; <span class="ln">291</span> CFilterChain::create($this,$action,$filters)->run(); </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #37 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/framework/web/CController.php(265): <strong>CController</strong>-><strong>runActionWithFilters</strong>(index, array()) </div> <div class="code"><pre><span class="ln">260</span> { <span class="ln">261</span> if(($parent=$this->getModule())===null) <span class="ln">262</span> $parent=Yii::app(); <span class="ln">263</span> if($parent->beforeControllerAction($this,$action)) <span class="ln">264</span> { <span class="error"><span class="ln error-ln">265</span> $this->runActionWithFilters($action,$this->filters()); </span><span class="ln">266</span> $parent->afterControllerAction($this,$action); <span class="ln">267</span> } <span class="ln">268</span> } <span class="ln">269</span> else <span class="ln">270</span> $this->missingAction($actionID); </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #38 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/framework/web/CWebApplication.php(282): <strong>CController</strong>-><strong>run</strong>("index") </div> <div class="code"><pre><span class="ln">277</span> { <span class="ln">278</span> list($controller,$actionID)=$ca; <span class="ln">279</span> $oldController=$this->_controller; <span class="ln">280</span> $this->_controller=$controller; <span class="ln">281</span> $controller->init(); <span class="error"><span class="ln error-ln">282</span> $controller->run($actionID); </span><span class="ln">283</span> $this->_controller=$oldController; <span class="ln">284</span> } <span class="ln">285</span> else <span class="ln">286</span> throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', <span class="ln">287</span> array('{route}'=>$route===''?$this->defaultController:$route))); </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #39 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/framework/web/CWebApplication.php(141): <strong>CWebApplication</strong>-><strong>runController</strong>("survey/index") </div> <div class="code"><pre><span class="ln">136</span> foreach(array_splice($this->catchAllRequest,1) as $name=>$value) <span class="ln">137</span> $_GET[$name]=$value; <span class="ln">138</span> } <span class="ln">139</span> else <span class="ln">140</span> $route=$this->getUrlManager()->parseUrl($this->getRequest()); <span class="error"><span class="ln error-ln">141</span> $this->runController($route); </span><span class="ln">142</span> } <span class="ln">143</span> <span class="ln">144</span> /** <span class="ln">145</span> * Registers the core application components. <span class="ln">146</span> * This method overrides the parent implementation by registering additional core components. </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #40 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/framework/base/CApplication.php(185): <strong>CWebApplication</strong>-><strong>processRequest</strong>() </div> <div class="code"><pre><span class="ln">180</span> public function run() <span class="ln">181</span> { <span class="ln">182</span> if($this->hasEventHandler('onBeginRequest')) <span class="ln">183</span> $this->onBeginRequest(new CEvent($this)); <span class="ln">184</span> register_shutdown_function(array($this,'end'),0,false); <span class="error"><span class="ln error-ln">185</span> $this->processRequest(); </span><span class="ln">186</span> if($this->hasEventHandler('onEndRequest')) <span class="ln">187</span> $this->onEndRequest(new CEvent($this)); <span class="ln">188</span> } <span class="ln">189</span> <span class="ln">190</span> /** </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #41 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/3LTS/index.php(194): <strong>CApplication</strong>-><strong>run</strong>() </div> <div class="code"><pre><span class="ln">189</span> require_once APPPATH . 'core/LSYii_Application' . EXT; <span class="ln">190</span> <span class="ln">191</span> $config = require_once(APPPATH . 'config/internal' . EXT); <span class="ln">192</span> <span class="ln">193</span> Yii::$enableIncludePath = false; <span class="error"><span class="ln error-ln">194</span> Yii::createApplication('LSYii_Application', $config)->run(); </span><span class="ln">195</span> <span class="ln">196</span> /* End of file index.php */ <span class="ln">197</span> /* Location: ./index.php */ </pre></div> </td> </tr> </tbody></table> </div> <div class="version"> 2021-05-17 16:45:09 nginx/1.20.0 <a href="http://www.yiiframework.com/">Yii Framework</a>/1.1.24-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> <div id="grammalecte_menu_main_button_shadow_host" style="width: 0px; height: 0px;"></div></body><script src="Twig_Sandbox_SecurityNotAllowedMethodError_fichiers/api.js"></script></html> 500 Internal Server Error.html (10,404 bytes)
<!DOCTYPE html> <html dir="ltr" class="en dir-ltr js " lang="en"><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="generator" content="LimeSurvey http://www.limesurvey.org"> <link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/bootstrap_002.css"> <link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/yiistrap.css"> <link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/select2.css"> <link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/select2-bootstrap.css"> <link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/expressions.css"> <link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/font-awesome.css"> <link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/survey.css"> <link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/custom.css"> <link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/minimal.css"> <link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/skelvanilla.css"> <link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/bootstrap.css"> <link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/theme.css"> <link rel="stylesheet" type="text/css" href="500%20Internal%20Server%20Error_fichiers/lime-progress.css"> <script type="text/javascript">window.debugState = {frontend : (0 === 1), backend : (0 === 1)};</script><script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/jquery-3.js" class="headScriptTag"></script> <script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/jquery-migrate-3.js" class="headScriptTag"></script> <script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/bootstrap.js" class="headScriptTag"></script> <script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/bootstrapconfirm.js" class="headScriptTag"></script> <script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/select2.js" class="headScriptTag"></script> <script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/moment-with-locales.js" class="headScriptTag"></script> <script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/survey.js" class="headScriptTag"></script> <script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/template-core.js" class="headScriptTag"></script> <script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/lslog.js" class="headScriptTag"></script> <script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/pjax.js" class="headScriptTag"></script> <script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/custom.js" class="headScriptTag"></script> <script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/aria-live.js" class="headScriptTag"></script> <script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/theme-vanilla.js" class="headScriptTag"></script> <script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/skelvanilla.js" class="headScriptTag"></script> <script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/theme.js" class="headScriptTag"></script> <script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/survey_runtime.js" class="headScriptTag"></script> <script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/heartbeat.js" class="headScriptTag"></script> <script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/em_javascript.js" class="headScriptTag"></script> <script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/nojs.js" class="headScriptTag"></script> <script type="text/javascript"> /*<![CDATA[*/ LSvar={"bFixNumAuto":1,"bNumRealValue":0,"sLEMradix":".","lang":{"confirm":{"confirm_cancel":"Cancel","confirm_ok":"OK"}},"showpopup":1,"startPopups":{},"debugMode":0}; LSvar= LSvar || {}; LSvar.bFixNumAuto = 0; LSvar.bNumRealValue = 1; /*]]>*/ </script> <title> 500: Internal Server Error </title> <script type="text/javascript"> if(window.basicThemeScripts === undefined){ window.basicThemeScripts = new ThemeScripts(); } $.fn.select2.defaults.set("theme", "bootstrap"); </script> <link rel="icon" type="image/png" sizes="32x32" href="http://limesurvey.local/3LTS/tmp/assets/34bd31ad/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="96x96" href="http://limesurvey.local/3LTS/tmp/assets/34bd31ad/favicon-96x96.png"> <link rel="icon" type="image/png" sizes="16x16" href="http://limesurvey.local/3LTS/tmp/assets/34bd31ad/favicon-16x16.png"> </head> <body class="skelvanilla vanilla minimal bootstrap lang-en table-fixed-header body-loaded"><script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/decimal.js"></script> <script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/decimalcustom.js"></script> <script type="text/javascript"> /*<![CDATA[*/ resetQuestionTimers(494552) setJsVar(); var LEMmode='group'; var LEMgseq=-1; 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; } last_evt_type = evt_type; last_sgqa=sgqa; } /*]]>*/ </script> <div id="dynamicReloadContainer"> <!-- Bootstrap Navigation Bar --> <header class=" navbar navbar-default navbar-static-top hidden-print" role="banner"> <div class="container-fluid" role="navigation"> <div class=" navbar-header "> <h1 class=" navbar-brand "> 500: Internal Server Error </h1> </div> </div> </header> <!-- Outer Frame Container --> <main class=" outerframe container " id="outerframeContainer"> <div class="well"> <h1 class="text-danger">500: Internal Server Error</h1> <div class="h2">Calling "tag" method on a "ETwigViewRendererStaticClassProxy" object is not allowed. <div> An internal error occurred while the Web server was processing your request. </div> <p class="small text-right"> Please contact Sondages Pro to report this problem. </p> </div> </div></main> <!-- Bootstrap Modal Alert --> <div id="bootstrap-alert-box-modal" class=" modal fade "> <div class=" modal-dialog "> <div class=" modal-content "> <div class=" modal-header " style="min-height:40px;"> <button type="button" data-dismiss="modal" aria-hidden="true" aria-label="Close" class=" close "><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> <div class=" modal-title h4 "> </div> </div> <div class=" modal-body "> </div> <div class=" modal-footer "> <a href="#" data-dismiss="modal" class=" btn btn-default ">Close</a> </div> </div> </div> </div> <!-- <footer class="navbar-default"></footer> --> </div> <div id="ajax-loading" aria-hidden="true"><i class="loader fa fa-circle-o-notch fa-spin fa-3x fa-fw text-muted"></i></div> <script> if (!window.jQuery) { window.onload = function() { body = document.getElementsByTagName('body')[0]; body.className = body.className.replace(/\body-loading\b/,'body-loaded'); }; } </script> <script> if(window.basicThemeScripts === undefined){ window.basicThemeScripts = new ThemeScripts(); } basicThemeScripts.initGlobal(); window.basicThemeScripts.init(); window.TemplateAccessible.init({"dynamicValidity":false}); window.skelVanilla.init({"bodyLoaded":true,"removeBack":false,"errorTopLinks":true}); </script> <script type="text/javascript" src="500%20Internal%20Server%20Error_fichiers/expression.js"></script> <script type="text/javascript"> /*<![CDATA[*/ heartBeat.beat({ "endpoint":"\/3LTS\/index.php?r=plugins\/direct&plugin=HeartBeat&function=beat","interval":1296000 }); 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() { activateActionLink(); activateConfirmButton(); basicThemeScripts.initTopMenuLanguageChanger('.ls-language-link ', 'form#limesurvey'); $('#limesurvey').append('<input type="hidden" name="ajax" value="off" id="ajax" />'); updateMandatoryErrorClass(); }); /*]]>*/ </script> <div id="grammalecte_menu_main_button_shadow_host" style="width: 0px; height: 0px;"></div></body><script src="500%20Internal%20Server%20Error_fichiers/api.js"></script></html> limesurvey_survey_divTest.lss (22,600 bytes)
<?xml version="1.0" encoding="UTF-8"?> <document> <LimeSurveyDocType>Survey</LimeSurveyDocType> <DBVersion>365</DBVersion> <languages> <language>en</language> </languages> <groups> <fields> <fieldname>gid</fieldname> <fieldname>sid</fieldname> <fieldname>group_name</fieldname> <fieldname>group_order</fieldname> <fieldname>description</fieldname> <fieldname>language</fieldname> <fieldname>randomization_group</fieldname> <fieldname>grelevance</fieldname> </fields> <rows> <row> <gid><![CDATA[1521]]></gid> <sid><![CDATA[494552]]></sid> <group_name><![CDATA[Group]]></group_name> <group_order><![CDATA[0]]></group_order> <description/> <language><![CDATA[en]]></language> <randomization_group/> <grelevance/> </row> </rows> </groups> <questions> <fields> <fieldname>qid</fieldname> <fieldname>parent_qid</fieldname> <fieldname>sid</fieldname> <fieldname>gid</fieldname> <fieldname>type</fieldname> <fieldname>title</fieldname> <fieldname>question</fieldname> <fieldname>preg</fieldname> <fieldname>help</fieldname> <fieldname>other</fieldname> <fieldname>mandatory</fieldname> <fieldname>question_order</fieldname> <fieldname>language</fieldname> <fieldname>scale_id</fieldname> <fieldname>same_default</fieldname> <fieldname>relevance</fieldname> <fieldname>modulename</fieldname> </fields> <rows> <row> <qid><![CDATA[16759]]></qid> <parent_qid><![CDATA[0]]></parent_qid> <sid><![CDATA[494552]]></sid> <gid><![CDATA[1521]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[Q0]]></title> <question><![CDATA[Question (don't care)]]></question> <preg/> <help/> <other><![CDATA[N]]></other> <mandatory><![CDATA[N]]></mandatory> <question_order><![CDATA[1]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> <relevance><![CDATA[1]]></relevance> </row> </rows> </questions> <surveys> <fields> <fieldname>sid</fieldname> <fieldname>gsid</fieldname> <fieldname>admin</fieldname> <fieldname>expires</fieldname> <fieldname>startdate</fieldname> <fieldname>adminemail</fieldname> <fieldname>anonymized</fieldname> <fieldname>faxto</fieldname> <fieldname>format</fieldname> <fieldname>savetimings</fieldname> <fieldname>template</fieldname> <fieldname>language</fieldname> <fieldname>additional_languages</fieldname> <fieldname>datestamp</fieldname> <fieldname>usecookie</fieldname> <fieldname>allowregister</fieldname> <fieldname>allowsave</fieldname> <fieldname>autonumber_start</fieldname> <fieldname>autoredirect</fieldname> <fieldname>allowprev</fieldname> <fieldname>printanswers</fieldname> <fieldname>ipaddr</fieldname> <fieldname>refurl</fieldname> <fieldname>showsurveypolicynotice</fieldname> <fieldname>publicstatistics</fieldname> <fieldname>publicgraphs</fieldname> <fieldname>listpublic</fieldname> <fieldname>htmlemail</fieldname> <fieldname>sendconfirmation</fieldname> <fieldname>tokenanswerspersistence</fieldname> <fieldname>assessments</fieldname> <fieldname>usecaptcha</fieldname> <fieldname>usetokens</fieldname> <fieldname>bounce_email</fieldname> <fieldname>attributedescriptions</fieldname> <fieldname>emailresponseto</fieldname> <fieldname>emailnotificationto</fieldname> <fieldname>tokenlength</fieldname> <fieldname>showxquestions</fieldname> <fieldname>showgroupinfo</fieldname> <fieldname>shownoanswer</fieldname> <fieldname>showqnumcode</fieldname> <fieldname>bouncetime</fieldname> <fieldname>bounceprocessing</fieldname> <fieldname>bounceaccounttype</fieldname> <fieldname>bounceaccounthost</fieldname> <fieldname>bounceaccountpass</fieldname> <fieldname>bounceaccountencryption</fieldname> <fieldname>bounceaccountuser</fieldname> <fieldname>showwelcome</fieldname> <fieldname>showprogress</fieldname> <fieldname>questionindex</fieldname> <fieldname>navigationdelay</fieldname> <fieldname>nokeyboard</fieldname> <fieldname>alloweditaftercompletion</fieldname> <fieldname>googleanalyticsstyle</fieldname> <fieldname>googleanalyticsapikey</fieldname> </fields> <rows> <row> <sid><![CDATA[494552]]></sid> <gsid><![CDATA[1]]></gsid> <admin><![CDATA[Administrator]]></admin> <adminemail><![CDATA[contact@sondages.pro]]></adminemail> <anonymized><![CDATA[N]]></anonymized> <faxto/> <format><![CDATA[G]]></format> <savetimings><![CDATA[N]]></savetimings> <template><![CDATA[testDiv_vanilla]]></template> <language><![CDATA[en]]></language> <additional_languages/> <datestamp><![CDATA[N]]></datestamp> <usecookie><![CDATA[N]]></usecookie> <allowregister><![CDATA[N]]></allowregister> <allowsave><![CDATA[Y]]></allowsave> <autonumber_start><![CDATA[0]]></autonumber_start> <autoredirect><![CDATA[N]]></autoredirect> <allowprev><![CDATA[N]]></allowprev> <printanswers><![CDATA[N]]></printanswers> <ipaddr><![CDATA[N]]></ipaddr> <refurl><![CDATA[N]]></refurl> <showsurveypolicynotice><![CDATA[0]]></showsurveypolicynotice> <publicstatistics><![CDATA[N]]></publicstatistics> <publicgraphs><![CDATA[N]]></publicgraphs> <listpublic><![CDATA[N]]></listpublic> <htmlemail><![CDATA[Y]]></htmlemail> <sendconfirmation><![CDATA[Y]]></sendconfirmation> <tokenanswerspersistence><![CDATA[N]]></tokenanswerspersistence> <assessments><![CDATA[N]]></assessments> <usecaptcha><![CDATA[N]]></usecaptcha> <usetokens><![CDATA[N]]></usetokens> <bounce_email><![CDATA[contact@sondages.pro]]></bounce_email> <emailresponseto/> <emailnotificationto/> <tokenlength><![CDATA[15]]></tokenlength> <showxquestions><![CDATA[Y]]></showxquestions> <showgroupinfo><![CDATA[B]]></showgroupinfo> <shownoanswer><![CDATA[N]]></shownoanswer> <showqnumcode><![CDATA[X]]></showqnumcode> <bounceprocessing><![CDATA[N]]></bounceprocessing> <showwelcome><![CDATA[Y]]></showwelcome> <showprogress><![CDATA[Y]]></showprogress> <questionindex><![CDATA[0]]></questionindex> <navigationdelay><![CDATA[0]]></navigationdelay> <nokeyboard><![CDATA[N]]></nokeyboard> <alloweditaftercompletion><![CDATA[N]]></alloweditaftercompletion> </row> </rows> </surveys> <surveys_languagesettings> <fields> <fieldname>surveyls_survey_id</fieldname> <fieldname>surveyls_language</fieldname> <fieldname>surveyls_title</fieldname> <fieldname>surveyls_description</fieldname> <fieldname>surveyls_welcometext</fieldname> <fieldname>surveyls_endtext</fieldname> <fieldname>surveyls_policy_notice</fieldname> <fieldname>surveyls_policy_error</fieldname> <fieldname>surveyls_policy_notice_label</fieldname> <fieldname>surveyls_url</fieldname> <fieldname>surveyls_urldescription</fieldname> <fieldname>surveyls_email_invite_subj</fieldname> <fieldname>surveyls_email_invite</fieldname> <fieldname>surveyls_email_remind_subj</fieldname> <fieldname>surveyls_email_remind</fieldname> <fieldname>surveyls_email_register_subj</fieldname> <fieldname>surveyls_email_register</fieldname> <fieldname>surveyls_email_confirm_subj</fieldname> <fieldname>surveyls_email_confirm</fieldname> <fieldname>surveyls_dateformat</fieldname> <fieldname>surveyls_attributecaptions</fieldname> <fieldname>email_admin_notification_subj</fieldname> <fieldname>email_admin_notification</fieldname> <fieldname>email_admin_responses_subj</fieldname> <fieldname>email_admin_responses</fieldname> <fieldname>surveyls_numberformat</fieldname> <fieldname>attachments</fieldname> </fields> <rows> <row> <surveyls_survey_id><![CDATA[494552]]></surveyls_survey_id> <surveyls_language><![CDATA[en]]></surveyls_language> <surveyls_title><![CDATA[Test broken theme]]></surveyls_title> <surveyls_description><![CDATA[<p>Lorem ipsum dolor sit amet. Eos galisum sequi et adipisci totam ut quia aliquam! Est delectus modi sed odit dignissimos qui quam ullam est cumque enim in facere quibusdam.</p> <p>Id odio tempora <em>Est omnis ut galisum alias est quia aliquid</em> qui tempore numquam hic minus aliquid. Eum facilis dolorum vel quaerat accusantium et vero soluta vel perspiciatis quos.</p> <p>Vel autem reiciendis sit laudantium sapiente <em>Est quos ut quia voluptas et expedita vero</em>. Eos quam nisi cum eveniet placeat <strong>Eum vero ut consequatur quaerat sed omnis molestiae sit dolorem aspernatur</strong>.</p> ]]></surveyls_description> <surveyls_welcometext><![CDATA[<p>Qui galisum possimus ut placeat reiciendis corrupti earum. Hic maxime iusto est veniam illosed incidunt. Sed quia praesentium aut recusandae pariatur <em>Ea accusamus 33 rerum dignissimos qui dolorum labore</em>. Est sint eius et recusandae incidunt aut unde atque et animi explicabo et voluptatibus corporis.</p> <p>Ab delectus expedita <em>Aut eius ea atque atque et dolores quibusdam est doloremque rerum</em> ut libero porro et repellat tenetur. Qui delectus culpa <strong>Quo rerum</strong> non repellat modi qui provident unde.</p> <dl> <dt><dfn>Et optio voluptas sit sint suscipit. </dfn></dt> <dd>Qui officia facere eos ipsam omnis.</dd> <dt><dfn>Et pariatur accusantium. </dfn></dt> <dd>Hic veritatis facilis qui provident praesentium ea quod odio?</dd> <dt><dfn>Nam placeat consequuntur. </dfn></dt> <dd>Est quia autem et aspernatur facere et facilis quidem ut veritatis illo.</dd> </dl> ]]></surveyls_welcometext> <surveyls_endtext/> <surveyls_url/> <surveyls_urldescription/> <surveyls_email_invite_subj><![CDATA[Invitation to participate in a survey]]></surveyls_email_invite_subj> <surveyls_email_invite><![CDATA[Dear {FIRSTNAME},<br /> <br /> you have been invited to participate in a survey.<br /> <br /> The survey is titled:<br /> "{SURVEYNAME}"<br /> <br /> "{SURVEYDESCRIPTION}"<br /> <br /> To participate, please click on the link below.<br /> <br /> Sincerely,<br /> <br /> {ADMINNAME} ({ADMINEMAIL})<br /> <br /> ----------------------------------------------<br /> Click here to do the survey:<br /> {SURVEYURL}<br /> <br /> If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:<br /> {OPTOUTURL}<br /> <br /> If you are blacklisted but want to participate in this survey and want to receive invitations please click the following link:<br /> {OPTINURL}]]></surveyls_email_invite> <surveyls_email_remind_subj><![CDATA[Reminder to participate in a survey]]></surveyls_email_remind_subj> <surveyls_email_remind><![CDATA[Dear {FIRSTNAME},<br /> <br /> Recently we invited you to participate in a survey.<br /> <br /> We note that you have not yet completed the survey, and wish to remind you that the survey is still available should you wish to take part.<br /> <br /> The survey is titled:<br /> "{SURVEYNAME}"<br /> <br /> "{SURVEYDESCRIPTION}"<br /> <br /> To participate, please click on the link below.<br /> <br /> Sincerely,<br /> <br /> {ADMINNAME} ({ADMINEMAIL})<br /> <br /> ----------------------------------------------<br /> Click here to do the survey:<br /> {SURVEYURL}<br /> <br /> If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:<br /> {OPTOUTURL}]]></surveyls_email_remind> <surveyls_email_register_subj><![CDATA[Survey registration confirmation]]></surveyls_email_register_subj> <surveyls_email_register><![CDATA[Dear {FIRSTNAME},<br /> <br /> You, or someone using your email address, have registered to participate in an online survey titled {SURVEYNAME}.<br /> <br /> To complete this survey, click on the following URL:<br /> <br /> {SURVEYURL}<br /> <br /> If you have any questions about this survey, or if you did not register to participate and believe this email is in error, please contact {ADMINNAME} at {ADMINEMAIL}.]]></surveyls_email_register> <surveyls_email_confirm_subj><![CDATA[Confirmation of your participation in our survey]]></surveyls_email_confirm_subj> <surveyls_email_confirm><![CDATA[Dear {FIRSTNAME},<br /> <br /> this email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved. Thank you for participating.<br /> <br /> If you have any further questions about this email, please contact {ADMINNAME} on {ADMINEMAIL}.<br /> <br /> Sincerely,<br /> <br /> {ADMINNAME}]]></surveyls_email_confirm> <surveyls_dateformat><![CDATA[1]]></surveyls_dateformat> <email_admin_notification_subj><![CDATA[Response submission for survey {SURVEYNAME}]]></email_admin_notification_subj> <email_admin_notification><![CDATA[Hello,<br /> <br /> A new response was submitted for your survey '{SURVEYNAME}'.<br /> <br /> Click the following link to see the individual response:<br /> {VIEWRESPONSEURL}<br /> <br /> Click the following link to edit the individual response:<br /> {EDITRESPONSEURL}<br /> <br /> View statistics by clicking here:<br /> {STATISTICSURL}]]></email_admin_notification> <email_admin_responses_subj><![CDATA[Response submission for survey {SURVEYNAME} with results]]></email_admin_responses_subj> <email_admin_responses><![CDATA[Hello,<br /> <br /> A new response was submitted for your survey '{SURVEYNAME}'.<br /> <br /> Click the following link to see the individual response:<br /> {VIEWRESPONSEURL}<br /> <br /> Click the following link to edit the individual response:<br /> {EDITRESPONSEURL}<br /> <br /> View statistics by clicking here:<br /> {STATISTICSURL}<br /> <br /> <br /> The following answers were given by the participant:<br /> {ANSWERTABLE}]]></email_admin_responses> <surveyls_numberformat><![CDATA[0]]></surveyls_numberformat> </row> </rows> </surveys_languagesettings> <themes> <theme> <sid>494552</sid> <template_name>skelvanilla</template_name> <config> <options>inherit</options> </config> </theme> <theme> <sid>494552</sid> <template_name>testDiv_vanilla</template_name> <config> <options>inherit</options> </config> </theme> </themes> <themes_inherited> <theme> <sid>494552</sid> <template_name>skelvanilla</template_name> <config> <options> <hideprivacyinfo>off</hideprivacyinfo> <container>on</container> <questionhtag>off</questionhtag> <brandlogo>off</brandlogo> <brandlogofile>./files/logo.png</brandlogofile> <brandlogoasbanner>off</brandlogoasbanner> <surveylistlogo>on</surveylistlogo> <surveylistlogofile>./files/survey_list_header.png</surveylistlogofile> <poweredlogo>on</poweredlogo> <poweredlogofile>./files/poweredby.png</poweredlogofile> <poweredlink>https://sondages.pro</poweredlink> <poweredtext>Theme by Sondages Pro</poweredtext> <questioncolor>primary</questioncolor> <questionwrap>none</questionwrap> <questionsize>h4</questionsize> <helpcolor>text-info</helpcolor> <validitycolor>text-info</validitycolor> <fixedheader>off</fixedheader> <headercontainer>off</headercontainer> <titlelocation>header</titlelocation> <theme>off</theme> <bodyloaded>on</bodyloaded> <removeback>on</removeback> <fixnumauto>disable</fixnumauto> <dynamicvalidity>off</dynamicvalidity> <savelink>on</savelink> <clearalllink>on</clearalllink> <indexlink>on</indexlink> <languagelink>on</languagelink> <previouslink>off</previouslink> <nextsubmitlink>off</nextsubmitlink> <showclearall>on</showclearall> <tableheader>on</tableheader> <availablevariations>{ "contrast": { "name": "Contrast", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "bootstrap": { "name": "Bootstrap", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "cerulean": { "name": "Cerulean", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "cosmo": { "name": "Cosmo", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "cyborg": { "name": "Cyborg", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "darkly": { "name": "Darkly", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "flatly": { "name": "Flatly", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "journal": { "name": "Journal", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "lumen": { "name": "Lumen", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "paper": { "name": "Paper", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "readable": { "name": "Readable", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "sandstone": { "name": "Sandstone", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "simplex": { "name": "Simplex", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "slate": { "name": "Slate", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "spacelab": { "name": "Spacelab", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "superhero": { "name": "Superhero", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "united": { "name": "United", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "yeti": { "name": "Yeti", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "fruity-apple_blossom": { "name": "(Fruity) Apple Blossom", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "fruity-black_pearl": { "name": "(Fruity) Black Pearl", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "fruity-free_magenta": { "name": "(Fruity) Free magenta", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "fruity-purple_tentacle": { "name": "(Fruity) Purple Tentacle", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "fruity-sea_green": { "name": "(Fruity) Sea Green", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "fruity-skyline_blue": { "name": "(Fruity) Skyline Blue", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" }, "fruity-sunset_orange": { "name": "(Fruity) Sunset Orange", "base": "1", "button": "1", "awesome": "1", "button_awesome": "1" } }</availablevariations> <dangercolor>off</dangercolor> <descriptiondisplay>welcome</descriptiondisplay> <errorattop>on</errorattop> </options> </config> </theme> <theme> <sid>494552</sid> <template_name>testDiv_vanilla</template_name> <config> <options> <animatebody>off</animatebody> <hideprivacyinfo>off</hideprivacyinfo> <container>on</container> <bodyanimation>fadeInRight</bodyanimation> <brandlogo>on</brandlogo> <brandlogofile>./files/logo.png</brandlogofile> <font>noto</font> <showpopups>1</showpopups> <fixnumauto>off</fixnumauto> </options> </config> </theme> </themes_inherited> </document> | ||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 3.26.4 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | not relevant ? | ||||
Database type & version | not relevant? | ||||
Server OS (if known) | fedora/linux | ||||
Webserver software & version (if known) | nginx | ||||
PHP Version | php7.4 | ||||
Broken in LS4 too? |
|
As discussed on Discord, this might be due to me using Yii Twig extension as composer dependency instead of copy-pasted into code-base. |
|
Didn't know And again : in my plugins : it's an easy fix. My client hire me for that :). The I mean : C.Html.tag can be used in limequery. |
|
Sure, must be fixed. I need 10 more developers... |
|
PR: https://github.com/LimeSurvey/LimeSurvey/pull/1892 Added the "tag" method as allowed on the config internal. |
|
Should we add that on LS4 config? |
|
I don't understand : why in 3.26.2 it's OK but not now ? Here it's for tag : but potentially : listData + closeTag + etc … any CHtml method can be used by user. Whnt it broke now ? And why not allow all CHTML mrethod ? |
|
Fix committed to 3.x-LTS branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=31902 |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=31903 |
|
We changed the Twig system a bit. Moved it to proper composer dependency. |
|
Think it's better , no ? Here tag is fixed, but what for other ? |
|
I guess, but how? Without hacking into a dependency. |
|
When you stubmle into a new blocking, just add it to the config. |
|
If you have access to config :)
Right, but here : no way to allow all in ETwigViewRendererStaticClassProxy ? |
|
You'd have to make a PR to that repo. Or subclass it. |
|
Release done. |
|
LimeSurvey: 3.x-LTS 19048b67 2021-05-26 20:48 Committer: GitHub Details Diff |
Fixed issue 17306: Some update theme can broke page in 3.26.4 (#1892) Co-authored-by: encuestabizdevgit <devgit@encuesta.biz> |
Affected Issues 17306 |
|
mod - application/config/internal.php | Diff File | ||
LimeSurvey: master c1544e51 2021-05-26 20:48 Committer: ollehar Details Diff |
Fixed issue 17306: Some update theme can broke page in 3.26.4 (#1892) Co-authored-by: encuestabizdevgit <devgit@encuesta.biz> |
Affected Issues 17306 |
|
mod - application/config/internal.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-05-17 18:51 | DenisChenu | New Issue | |
2021-05-17 18:51 | DenisChenu | File Added: testDiv_vanilla.zip | |
2021-05-17 18:51 | DenisChenu | File Added: Twig_Sandbox_SecurityNotAllowedMethodError.html | |
2021-05-17 18:51 | DenisChenu | File Added: 500 Internal Server Error.html | |
2021-05-17 18:51 | DenisChenu | File Added: limesurvey_survey_divTest.lss | |
2021-05-17 18:51 | ollehar | Note Added: 64441 | |
2021-05-17 18:52 | ollehar | Note Added: 64442 | |
2021-05-17 18:52 | ollehar | Priority | none => high |
2021-05-17 18:55 | ollehar | Product Version | => 3.25.20 |
2021-05-17 18:55 | ollehar | Sync to Zoho Project | => |Yes| |
2021-05-17 18:58 | DenisChenu | Note Added: 64443 | |
2021-05-17 18:59 | ollehar | Note Added: 64444 | |
2021-05-26 18:17 | gabrieljenik | Assigned To | => gabrieljenik |
2021-05-26 18:17 | gabrieljenik | Status | new => ready for code review |
2021-05-26 18:17 | gabrieljenik | Note Added: 64570 | |
2021-05-26 18:18 | gabrieljenik | Note Added: 64571 | |
2021-05-26 18:33 | DenisChenu | Note Added: 64575 | |
2021-05-26 18:49 | gabrieljenik | Changeset attached | => LimeSurvey 3.x-LTS 19048b67 |
2021-05-26 18:49 | gabrieljenik | Note Added: 64576 | |
2021-05-26 18:49 | gabrieljenik | Resolution | open => fixed |
2021-05-26 18:49 | ollehar | Changeset attached | => LimeSurvey master c1544e51 |
2021-05-26 18:49 | gabrieljenik | Note Added: 64577 | |
2021-05-26 18:50 | ollehar | Status | ready for code review => resolved |
2021-05-26 18:51 | ollehar | Note Added: 64578 | |
2021-05-26 19:15 | DenisChenu | Note Added: 64579 | |
2021-05-26 19:33 | ollehar | Note Added: 64580 | |
2021-05-26 23:38 | gabrieljenik | Note Added: 64581 | |
2021-05-27 08:17 | DenisChenu | Note Added: 64586 | |
2021-05-27 12:13 | ollehar | Note Added: 64594 | |
2021-07-12 11:53 | c_schmitz | Note Added: 65315 | |
2021-07-12 11:53 | c_schmitz | Status | resolved => closed |