View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
16233 | Bug reports | Theme editor | public | 2020-05-06 08:50 | 2020-07-10 00:06 |
Reporter | DenisChenu | Assigned To | DenisChenu | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 4.2.2 | ||||
Fixed in Version | 4.2.5 | ||||
Summary | 16233: Receive notice when copying survey theme | ||||
Description | When copy survey with debug=2 : receive a notice | ||||
Steps To Reproduce | Go to vanilla, back back Or : home page / Theme list | ||||
Tags | No tags attached. | ||||
Attached Files | PHP notice.html (23,998 bytes)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>PHP notice</title> <style type="text/css"> /*<![CDATA[*/ html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;} body{line-height:1;} ol,ul{list-style:none;} blockquote,q{quotes:none;} blockquote:before,blockquote:after,q:before,q:after{content:none;} :focus{outline:0;} ins{text-decoration:none;} del{text-decoration:line-through;} table{border-collapse:collapse;border-spacing:0;} body { font: normal 9pt "Verdana"; color: #000; background: #fff; } h1 { font: normal 18pt "Verdana"; color: #f00; margin-bottom: .5em; } h2 { font: normal 14pt "Verdana"; color: #800000; margin-bottom: .5em; } h3 { font: bold 11pt "Verdana"; } pre { font: normal 11pt Menlo, Consolas, "Lucida Console", Monospace; } pre span.error { display: block; background: #fce3e3; } pre span.ln { color: #999; padding-right: 0.5em; border-right: 1px solid #ccc; } pre span.error-ln { font-weight: bold; } .container { margin: 1em 4em; } .version { color: gray; font-size: 8pt; border-top: 1px solid #aaa; padding-top: 1em; margin-bottom: 1em; } .message { color: #000; padding: 1em; font-size: 11pt; background: #f3f3f3; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; margin-bottom: 1em; line-height: 160%; } .source { margin-bottom: 1em; } .code pre { background-color: #ffe; margin: 0.5em 0; padding: 0.5em; line-height: 125%; border: 1px solid #eee; } .source .file { margin-bottom: 1em; font-weight: bold; } .traces { margin: 2em 0; } .trace { margin: 0.5em 0; padding: 0.5em; } .trace.app { border: 1px dashed #c00; } .trace .number { text-align: right; width: 2em; padding: 0.5em; } .trace .content { padding: 0.5em; } .trace .plus, .trace .minus { display:inline; vertical-align:middle; text-align:center; border:1px solid #000; color:#000; font-size:10px; line-height:10px; margin:0; padding:0 1px; width:10px; height:10px; } .trace.collapsed .minus, .trace.expanded .plus, .trace.collapsed pre { display: none; } .trace-file { cursor: pointer; padding: 0.2em; } .trace-file:hover { background: #f0ffff; } /*]]>*/ </style> </head> <body> <div class="container"> <h1>PHP notice</h1> <p class="message"> Object of class stdClass could not be converted to int </p> <div class="source"> <p class="file">/mnt/data/shnoulle/nginx/www/master/application/models/TemplateConfiguration.php(1527)</p> <div class="code"><pre><span class="ln">1515</span> [':template_name'=>$this->template_name] <span class="ln">1516</span> ); <span class="ln">1517</span> } <span class="ln">1518</span> <span class="ln">1519</span> /** <span class="ln">1520</span> * Get showpopups value from config or template configuration <span class="ln">1521</span> */ <span class="ln">1522</span> public function getshowpopups() <span class="ln">1523</span> { <span class="ln">1524</span> $config = (int) App()->getConfig('showpopups'); <span class="ln">1525</span> if ($config == 2) { <span class="ln">1526</span> if (isset($this->oOptions->showpopups)) { <span class="error"><span class="ln error-ln">1527</span> $this->showpopups = (int)$this->oOptions->showpopups; </span><span class="ln">1528</span> } else { <span class="ln">1529</span> $this->showpopups = 1; <span class="ln">1530</span> } <span class="ln">1531</span> } else { <span class="ln">1532</span> $this->showpopups = $config; <span class="ln">1533</span> } <span class="ln">1534</span> } <span class="ln">1535</span> <span class="ln">1536</span> /** <span class="ln">1537</span> * Set each option key value to 'inherit' instead of having only one 'inherit' value for options. <span class="ln">1538</span> * Keys are fetched from parent xml configuration. <span class="ln">1539</span> */ </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/master/application/models/TemplateConfig.php(162): <strong>TemplateConfiguration</strong>-><strong>getshowpopups</strong>() </div> <div class="code"><pre><span class="ln">157</span> $this->setBasics($sTemplateName, $iSurveyId, $bUseMagicInherit); <span class="ln">158</span> $this->setMotherTemplates(); // Recursive mother templates configuration <span class="ln">159</span> $this->setThisTemplate(); // Set the main config values of this template <span class="ln">160</span> $this->createTemplatePackage($this); // Create an asset package ready to be loaded <span class="ln">161</span> $this->removeFiles(); <span class="error"><span class="ln error-ln">162</span> $this->getshowpopups(); </span><span class="ln">163</span> <span class="ln">164</span> if (!empty($sTemplateName) && !empty($iSurveyId)) { <span class="ln">165</span> self::$aPreparedToRender[$sTemplateName][$iSurveyId][$bUseMagicInherit] = $this; <span class="ln">166</span> } <span class="ln">167</span> return $this; </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/master/application/models/Template.php(505): <strong>TemplateConfig</strong>-><strong>prepareTemplateRendering</strong>("copie2_vanilla", null) </div> <div class="code"><pre><span class="ln">500</span> return self::getTemplateConfiguration($sTemplateName, $iSurveyId, $iSurveyGroupId, $bForceXML, true); <span class="ln">501</span> } <span class="ln">502</span> <span class="ln">503</span> if ( empty(self::$instance) || ! self::isCorrectInstance($sTemplateName) ) { <span class="ln">504</span> self::$instance = self::getTemplateConfiguration($sTemplateName, $iSurveyId, $iSurveyGroupId, $bForceXML); <span class="error"><span class="ln error-ln">505</span> self::$instance->prepareTemplateRendering($sTemplateName, $iSurveyId); </span><span class="ln">506</span> } <span class="ln">507</span> <span class="ln">508</span> return self::getLastInstance(false); <span class="ln">509</span> } <span class="ln">510</span> </pre></div> </td> </tr> <tr class="trace app expanded"> <td class="number"> #2 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/application/controllers/admin/themes.php(1202): <strong>Template</strong>::<strong>getInstance</strong>("copie2_vanilla", null, null, false) </div> <div class="code"><pre><span class="ln">1197</span> <span class="ln">1198</span> $thissurvey['include_content'] = $sContentFile; <span class="ln">1199</span> <span class="ln">1200</span> <span class="ln">1201</span> // new TemplateConfiguration model created so preview can read theme options from DB <span class="error"><span class="ln error-ln">1202</span> $oTemplateForPreview = Template::getInstance($templatename, null, null, false); </span><span class="ln">1203</span> <span class="ln">1204</span> try { <span class="ln">1205</span> $myoutput = Yii::app()->twigRenderer->renderTemplateForTemplateEditor( <span class="ln">1206</span> $sLayoutFile, <span class="ln">1207</span> array( </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/master/application/controllers/admin/themes.php(522): <strong>themes</strong>-><strong>_initialise</strong>("copie2_vanilla", "welcome", "layout_global.twig", true, ...) </div> <div class="code"><pre><span class="ln">517</span> } <span class="ln">518</span> <span class="ln">519</span> /* Keep Bootstrap Package clean after loading template : because template can update boostrap */ <span class="ln">520</span> $aBootstrapPackage = Yii::app()->clientScript->packages['bootstrap-admin']; <span class="ln">521</span> <span class="error"><span class="ln error-ln">522</span> $aViewUrls = $this->_initialise($templatename, $screenname, $editfile, true, true); </span><span class="ln">523</span> <span class="ln">524</span> App()->getClientScript()->reset(); <span class="ln">525</span> Yii::app()->clientScript->packages['bootstrap'] = $aBootstrapPackage; <span class="ln">526</span> App()->getClientScript()->registerScriptFile(App()->getConfig('adminscripts').'templates.js'); <span class="ln">527</span> App()->getClientScript()->registerPackage('ace'); </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #4 </td> <td class="content"> <div class="trace-file"> unknown(0): <strong>themes</strong>-><strong>index</strong>("", "welcome", "copie2_vanilla") </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> /mnt/data/shnoulle/nginx/www/master/framework/web/actions/CAction.php(109): <strong>ReflectionMethod</strong>-><strong>invokeArgs</strong>(themes, array("", "welcome", "copie2_vanilla")) </div> <div class="code"><pre><span class="ln">104</span> elseif($param->isDefaultValueAvailable()) <span class="ln">105</span> $ps[]=$param->getDefaultValue(); <span class="ln">106</span> else <span class="ln">107</span> return false; <span class="ln">108</span> } <span class="error"><span class="ln error-ln">109</span> $method->invokeArgs($object,$ps); </span><span class="ln">110</span> return true; <span class="ln">111</span> } <span class="ln">112</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/master/application/core/Survey_Common_Action.php(86): <strong>CAction</strong>-><strong>runWithParamsInternal</strong>(themes, ReflectionMethod, array("templatename" => "copie2_vanilla", "sa" => "view")) </div> <div class="code"><pre><span class="ln">81</span> $oMethod = new ReflectionMethod($this, $sDefault); <span class="ln">82</span> } <span class="ln">83</span> <span class="ln">84</span> // We're all good to go, let's execute it <span class="ln">85</span> // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params <span class="error"><span class="ln error-ln">86</span> return parent::runWithParamsInternal($this, $oMethod, $params); </span><span class="ln">87</span> } <span class="ln">88</span> <span class="ln">89</span> /** <span class="ln">90</span> * Some functions have different parameters, which are just an alias of the <span class="ln">91</span> * usual parameters we're getting in the url. This function just populates </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/master/application/controllers/admin/themes.php(33): <strong>Survey_Common_Action</strong>-><strong>runWithParams</strong>(array("templatename" => "copie2_vanilla", "sa" => "view")) </div> <div class="code"><pre><span class="ln">28</span> public function runWithParams($params) <span class="ln">29</span> { <span class="ln">30</span> <span class="ln">31</span> $sTemplateName = Yii::app()->request->getPost('templatename', ''); <span class="ln">32</span> if (Permission::model()->hasGlobalPermission('templates', 'read') || Permission::model()->hasTemplatePermission($sTemplateName)) { <span class="error"><span class="ln error-ln">33</span> parent::runWithParams($params); </span><span class="ln">34</span> } else { <span class="ln">35</span> Yii::app()->setFlashMessage(gT("We are sorry but you don't have permissions to do this."), 'error'); <span class="ln">36</span> $this->getController()->redirect(array("admin/themeoptions")); <span class="ln">37</span> } <span class="ln">38</span> } </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #8 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(308): <strong>themes</strong>-><strong>runWithParams</strong>(array("templatename" => "copie2_vanilla", "sa" => "view")) </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"> #9 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(286): <strong>CController</strong>-><strong>runAction</strong>(themes) </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"> #10 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(265): <strong>CController</strong>-><strong>runActionWithFilters</strong>(themes, 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 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/master/application/controllers/AdminController.php(180): <strong>CController</strong>-><strong>run</strong>("themes") </div> <div class="code"><pre><span class="ln">175</span> } <span class="ln">176</span> <span class="ln">177</span> $this->runModuleController($action); <span class="ln">178</span> <span class="ln">179</span> <span class="error"><span class="ln error-ln">180</span> return parent::run($action); </span><span class="ln">181</span> } <span class="ln">182</span> <span class="ln">183</span> /** <span class="ln">184</span> * Starting with LS4, 3rd party developper can extends any of the LimeSurve controllers. <span class="ln">185</span> * </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #12 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(282): <strong>AdminController</strong>-><strong>run</strong>("themes") </div> <div class="code"><pre><span class="ln">277</span> { <span class="ln">278</span> list($controller,$actionID)=$ca; <span class="ln">279</span> $oldController=$this->_controller; <span class="ln">280</span> $this->_controller=$controller; <span class="ln">281</span> $controller->init(); <span class="error"><span class="ln error-ln">282</span> $controller->run($actionID); </span><span class="ln">283</span> $this->_controller=$oldController; <span class="ln">284</span> } <span class="ln">285</span> else <span class="ln">286</span> throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', <span class="ln">287</span> array('{route}'=>$route===''?$this->defaultController:$route))); </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #13 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(141): <strong>CWebApplication</strong>-><strong>runController</strong>("admin/themes/sa/view") </div> <div class="code"><pre><span class="ln">136</span> foreach(array_splice($this->catchAllRequest,1) as $name=>$value) <span class="ln">137</span> $_GET[$name]=$value; <span class="ln">138</span> } <span class="ln">139</span> else <span class="ln">140</span> $route=$this->getUrlManager()->parseUrl($this->getRequest()); <span class="error"><span class="ln error-ln">141</span> $this->runController($route); </span><span class="ln">142</span> } <span class="ln">143</span> <span class="ln">144</span> /** <span class="ln">145</span> * Registers the core application components. <span class="ln">146</span> * This method overrides the parent implementation by registering additional core components. </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #14 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /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->hasEventHandler('onBeginRequest')) <span class="ln">183</span> $this->onBeginRequest(new CEvent($this)); <span class="ln">184</span> register_shutdown_function(array($this,'end'),0,false); <span class="error"><span class="ln error-ln">185</span> $this->processRequest(); </span><span class="ln">186</span> if($this->hasEventHandler('onEndRequest')) <span class="ln">187</span> $this->onEndRequest(new CEvent($this)); <span class="ln">188</span> } <span class="ln">189</span> <span class="ln">190</span> /** </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #15 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /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 . 'core/LSYii_Application' . EXT; <span class="ln">178</span> <span class="ln">179</span> $config = require_once(APPPATH . 'config/internal' . 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('LSYii_Application', $config)->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> </tbody></table> </div> <div class="version"> 2020-05-06 06:44:21 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> <div id="grammalecte_menu_main_button_shadow_host" style="width: 0px; height: 0px;"></div></body><script src="PHP%20notice_fichiers/api.js"></script></html> PHP notice - themeoptions.html (60,066 bytes)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>PHP notice</title> <style type="text/css"> /*<![CDATA[*/ html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;} body{line-height:1;} ol,ul{list-style:none;} blockquote,q{quotes:none;} blockquote:before,blockquote:after,q:before,q:after{content:none;} :focus{outline:0;} ins{text-decoration:none;} del{text-decoration:line-through;} table{border-collapse:collapse;border-spacing:0;} body { font: normal 9pt "Verdana"; color: #000; background: #fff; } h1 { font: normal 18pt "Verdana"; color: #f00; margin-bottom: .5em; } h2 { font: normal 14pt "Verdana"; color: #800000; margin-bottom: .5em; } h3 { font: bold 11pt "Verdana"; } pre { font: normal 11pt Menlo, Consolas, "Lucida Console", Monospace; } pre span.error { display: block; background: #fce3e3; } pre span.ln { color: #999; padding-right: 0.5em; border-right: 1px solid #ccc; } pre span.error-ln { font-weight: bold; } .container { margin: 1em 4em; } .version { color: gray; font-size: 8pt; border-top: 1px solid #aaa; padding-top: 1em; margin-bottom: 1em; } .message { color: #000; padding: 1em; font-size: 11pt; background: #f3f3f3; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; margin-bottom: 1em; line-height: 160%; } .source { margin-bottom: 1em; } .code pre { background-color: #ffe; margin: 0.5em 0; padding: 0.5em; line-height: 125%; border: 1px solid #eee; } .source .file { margin-bottom: 1em; font-weight: bold; } .traces { margin: 2em 0; } .trace { margin: 0.5em 0; padding: 0.5em; } .trace.app { border: 1px dashed #c00; } .trace .number { text-align: right; width: 2em; padding: 0.5em; } .trace .content { padding: 0.5em; } .trace .plus, .trace .minus { display:inline; vertical-align:middle; text-align:center; border:1px solid #000; color:#000; font-size:10px; line-height:10px; margin:0; padding:0 1px; width:10px; height:10px; } .trace.collapsed .minus, .trace.expanded .plus, .trace.collapsed pre { display: none; } .trace-file { cursor: pointer; padding: 0.2em; } .trace-file:hover { background: #f0ffff; } /*]]>*/ </style> </head> <body> <div class="container"> <h1>PHP notice</h1> <p class="message"> Object of class stdClass could not be converted to int </p> <div class="source"> <p class="file">/mnt/data/shnoulle/nginx/www/master/application/models/TemplateConfiguration.php(1527)</p> <div class="code"><pre><span class="ln">1515</span> [':template_name'=>$this->template_name] <span class="ln">1516</span> ); <span class="ln">1517</span> } <span class="ln">1518</span> <span class="ln">1519</span> /** <span class="ln">1520</span> * Get showpopups value from config or template configuration <span class="ln">1521</span> */ <span class="ln">1522</span> public function getshowpopups() <span class="ln">1523</span> { <span class="ln">1524</span> $config = (int) App()->getConfig('showpopups'); <span class="ln">1525</span> if ($config == 2) { <span class="ln">1526</span> if (isset($this->oOptions->showpopups)) { <span class="error"><span class="ln error-ln">1527</span> $this->showpopups = (int)$this->oOptions->showpopups; </span><span class="ln">1528</span> } else { <span class="ln">1529</span> $this->showpopups = 1; <span class="ln">1530</span> } <span class="ln">1531</span> } else { <span class="ln">1532</span> $this->showpopups = $config; <span class="ln">1533</span> } <span class="ln">1534</span> } <span class="ln">1535</span> <span class="ln">1536</span> /** <span class="ln">1537</span> * Set each option key value to 'inherit' instead of having only one 'inherit' value for options. <span class="ln">1538</span> * Keys are fetched from parent xml configuration. <span class="ln">1539</span> */ </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/master/application/models/TemplateConfig.php(162): <strong>TemplateConfiguration</strong>-><strong>getshowpopups</strong>() </div> <div class="code"><pre><span class="ln">157</span> $this->setBasics($sTemplateName, $iSurveyId, $bUseMagicInherit); <span class="ln">158</span> $this->setMotherTemplates(); // Recursive mother templates configuration <span class="ln">159</span> $this->setThisTemplate(); // Set the main config values of this template <span class="ln">160</span> $this->createTemplatePackage($this); // Create an asset package ready to be loaded <span class="ln">161</span> $this->removeFiles(); <span class="error"><span class="ln error-ln">162</span> $this->getshowpopups(); </span><span class="ln">163</span> <span class="ln">164</span> if (!empty($sTemplateName) && !empty($iSurveyId)) { <span class="ln">165</span> self::$aPreparedToRender[$sTemplateName][$iSurveyId][$bUseMagicInherit] = $this; <span class="ln">166</span> } <span class="ln">167</span> return $this; </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/master/application/models/TemplateConfiguration.php(824): <strong>TemplateConfig</strong>-><strong>prepareTemplateRendering</strong>("copie_vanilla") </div> <div class="code"><pre><span class="ln">819</span> * @throws Exception <span class="ln">820</span> */ <span class="ln">821</span> public function getHasOptionPage() <span class="ln">822</span> { <span class="ln">823</span> $filteredName = Template::templateNameFilter($this->template->name); <span class="error"><span class="ln error-ln">824</span> $oRTemplate = $this->prepareTemplateRendering($filteredName); </span><span class="ln">825</span> <span class="ln">826</span> $sOptionFile = 'options'.DIRECTORY_SEPARATOR.'options.twig'; <span class="ln">827</span> while (!file_exists($oRTemplate->path.$sOptionFile)) { <span class="ln">828</span> $oMotherTemplate = $oRTemplate->oMotherTemplate; <span class="ln">829</span> if (!($oMotherTemplate instanceof TemplateConfiguration)) { </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> /mnt/data/shnoulle/nginx/www/master/framework/base/CComponent.php(111): <strong>TemplateConfiguration</strong>-><strong>getHasOptionPage</strong>() </div> <div class="code"><pre><span class="ln">106</span> */ <span class="ln">107</span> public function __get($name) <span class="ln">108</span> { <span class="ln">109</span> $getter='get'.$name; <span class="ln">110</span> if(method_exists($this,$getter)) <span class="error"><span class="ln error-ln">111</span> return $this->$getter(); </span><span class="ln">112</span> elseif(strncasecmp($name,'on',2)===0 && method_exists($this,$name)) <span class="ln">113</span> { <span class="ln">114</span> // duplicating getEventHandlers() here for performance <span class="ln">115</span> $name=strtolower($name); <span class="ln">116</span> if(!isset($this->_e[$name])) </pre></div> </td> </tr> <tr class="trace core 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/master/framework/db/ar/CActiveRecord.php(145): <strong>CComponent</strong>-><strong>__get</strong>("hasOptionPage") </div> <div class="code"><pre><span class="ln">140</span> elseif(isset($this->_related[$name])) <span class="ln">141</span> return $this->_related[$name]; <span class="ln">142</span> elseif(isset($this->getMetaData()->relations[$name])) <span class="ln">143</span> return $this->getRelated($name); <span class="ln">144</span> else <span class="error"><span class="ln error-ln">145</span> return parent::__get($name); </span><span class="ln">146</span> } <span class="ln">147</span> <span class="ln">148</span> /** <span class="ln">149</span> * PHP setter magic method. <span class="ln">150</span> * This method is overridden so that AR attributes can be accessed like properties. </pre></div> </td> </tr> <tr class="trace app expanded"> <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/master/application/models/TemplateConfiguration.php(1479): <strong>CActiveRecord</strong>-><strong>__get</strong>("hasOptionPage") </div> <div class="code"><pre><span class="ln">1474</span> // NOTE: this is object recursive (if parent configuration field is set to inherit, <span class="ln">1475</span> // then it will lead to this method again.) <span class="ln">1476</span> $sAttribute = $this->getParentConfiguration()->$name; <span class="ln">1477</span> } <span class="ln">1478</span> } else { <span class="error"><span class="ln error-ln">1479</span> $sAttribute = parent::__get($name); </span><span class="ln">1480</span> } <span class="ln">1481</span> <span class="ln">1482</span> return $sAttribute; <span class="ln">1483</span> } <span class="ln">1484</span> </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/master/application/models/TemplateConfiguration.php(735): <strong>TemplateConfiguration</strong>-><strong>__get</strong>("hasOptionPage") </div> <div class="code"><pre><span class="ln">730</span> <span class='icon-templates'></span> <span class="ln">731</span> " . gT('Theme editor') . " <span class="ln">732</span> </a>"; <span class="ln">733</span> <span class="ln">734</span> $OptionLink = ''; <span class="error"><span class="ln error-ln">735</span> if ($this->hasOptionPage) { </span><span class="ln">736</span> $OptionLink .= "<a <span class="ln">737</span> id='template_options_link_" . $this->template_name . "' <span class="ln">738</span> href='" . $sOptionUrl . "' <span class="ln">739</span> class='btn btn-default btn-block'> <span class="ln">740</span> <span class='fa fa-tachometer'></span> </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #6 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/base/CComponent.php(111): <strong>TemplateConfiguration</strong>-><strong>getButtons</strong>() </div> <div class="code"><pre><span class="ln">106</span> */ <span class="ln">107</span> public function __get($name) <span class="ln">108</span> { <span class="ln">109</span> $getter='get'.$name; <span class="ln">110</span> if(method_exists($this,$getter)) <span class="error"><span class="ln error-ln">111</span> return $this->$getter(); </span><span class="ln">112</span> elseif(strncasecmp($name,'on',2)===0 && method_exists($this,$name)) <span class="ln">113</span> { <span class="ln">114</span> // duplicating getEventHandlers() here for performance <span class="ln">115</span> $name=strtolower($name); <span class="ln">116</span> if(!isset($this->_e[$name])) </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> /mnt/data/shnoulle/nginx/www/master/framework/db/ar/CActiveRecord.php(145): <strong>CComponent</strong>-><strong>__get</strong>("buttons") </div> <div class="code"><pre><span class="ln">140</span> elseif(isset($this->_related[$name])) <span class="ln">141</span> return $this->_related[$name]; <span class="ln">142</span> elseif(isset($this->getMetaData()->relations[$name])) <span class="ln">143</span> return $this->getRelated($name); <span class="ln">144</span> else <span class="error"><span class="ln error-ln">145</span> return parent::__get($name); </span><span class="ln">146</span> } <span class="ln">147</span> <span class="ln">148</span> /** <span class="ln">149</span> * PHP setter magic method. <span class="ln">150</span> * This method is overridden so that AR attributes can be accessed like properties. </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/master/application/models/TemplateConfiguration.php(1479): <strong>CActiveRecord</strong>-><strong>__get</strong>("buttons") </div> <div class="code"><pre><span class="ln">1474</span> // NOTE: this is object recursive (if parent configuration field is set to inherit, <span class="ln">1475</span> // then it will lead to this method again.) <span class="ln">1476</span> $sAttribute = $this->getParentConfiguration()->$name; <span class="ln">1477</span> } <span class="ln">1478</span> } else { <span class="error"><span class="ln error-ln">1479</span> $sAttribute = parent::__get($name); </span><span class="ln">1480</span> } <span class="ln">1481</span> <span class="ln">1482</span> return $sAttribute; <span class="ln">1483</span> } <span class="ln">1484</span> </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #9 </td> <td class="content"> <div class="trace-file"> /mnt/data/shnoulle/nginx/www/master/framework/base/CComponent.php(614) : eval()'d code(1): <strong>TemplateConfiguration</strong>-><strong>__get</strong>("buttons") </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> /mnt/data/shnoulle/nginx/www/master/framework/base/CComponent.php(614): <strong>eval</strong>() </div> <div class="code"><pre><span class="ln">609</span> if(is_string($_expression_)) <span class="ln">610</span> { <span class="ln">611</span> extract($_data_); <span class="ln">612</span> try <span class="ln">613</span> { <span class="error"><span class="ln error-ln">614</span> return eval('return ' . $_expression_ . ';'); </span><span class="ln">615</span> } <span class="ln">616</span> catch (ParseError $e) <span class="ln">617</span> { <span class="ln">618</span> return false; <span class="ln">619</span> } </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #11 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/zii/widgets/grid/CDataColumn.php(142): <strong>CComponent</strong>-><strong>evaluateExpression</strong>("$data->buttons", array("data" => TemplateConfiguration, "row" => 1)) </div> <div class="code"><pre><span class="ln">137</span> */ <span class="ln">138</span> public function getDataCellContent($row) <span class="ln">139</span> { <span class="ln">140</span> $data=$this->grid->dataProvider->data[$row]; <span class="ln">141</span> if($this->value!==null) <span class="error"><span class="ln error-ln">142</span> $value=$this->evaluateExpression($this->value,array('data'=>$data,'row'=>$row)); </span><span class="ln">143</span> elseif($this->name!==null) <span class="ln">144</span> $value=CHtml::value($data,$this->name); <span class="ln">145</span> return $value===null ? $this->grid->nullDisplay : $this->grid->getFormatter()->format($value,$this->type); <span class="ln">146</span> } <span class="ln">147</span> } </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #12 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/zii/widgets/grid/CGridColumn.php(231): <strong>CDataColumn</strong>-><strong>getDataCellContent</strong>(1) </div> <div class="code"><pre><span class="ln">226</span> * @param mixed $data the data associated with the row <span class="ln">227</span> * @deprecated since 1.1.16. Use {@link getDataCellContent()} instead. <span class="ln">228</span> */ <span class="ln">229</span> protected function renderDataCellContent($row,$data) <span class="ln">230</span> { <span class="error"><span class="ln error-ln">231</span> echo $this->getDataCellContent($row); </span><span class="ln">232</span> } <span class="ln">233</span> <span class="ln">234</span> /** <span class="ln">235</span> * Returns the filter cell content. <span class="ln">236</span> * The default implementation simply returns an empty column. </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> /mnt/data/shnoulle/nginx/www/master/framework/zii/widgets/grid/CGridColumn.php(154): <strong>CGridColumn</strong>-><strong>renderDataCellContent</strong>(1, TemplateConfiguration) </div> <div class="code"><pre><span class="ln">149</span> else <span class="ln">150</span> $options['class']=$class; <span class="ln">151</span> } <span class="ln">152</span> } <span class="ln">153</span> echo CHtml::openTag('td',$options); <span class="error"><span class="ln error-ln">154</span> $this->renderDataCellContent($row,$data); </span><span class="ln">155</span> echo '</td>'; <span class="ln">156</span> } <span class="ln">157</span> <span class="ln">158</span> /** <span class="ln">159</span> * Renders the footer cell. </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #14 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/zii/widgets/grid/CGridView.php(639): <strong>CGridColumn</strong>-><strong>renderDataCell</strong>(1) </div> <div class="code"><pre><span class="ln">634</span> * @param integer $row <span class="ln">635</span> * @since 1.1.16 <span class="ln">636</span> */ <span class="ln">637</span> protected function renderDataCell($column, $row) <span class="ln">638</span> { <span class="error"><span class="ln error-ln">639</span> $column->renderDataCell($row); </span><span class="ln">640</span> } <span class="ln">641</span> <span class="ln">642</span> /** <span class="ln">643</span> * @return boolean whether the table should render a footer. <span class="ln">644</span> * This is true if any of the {@link columns} has a true {@link CGridColumn::hasFooter} value. </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #15 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/zii/widgets/grid/CGridView.php(623): <strong>CGridView</strong>-><strong>renderDataCell</strong>(TbDataColumn, 1) </div> <div class="code"><pre><span class="ln">618</span> $htmlOptions['class']=$class; <span class="ln">619</span> } <span class="ln">620</span> <span class="ln">621</span> echo CHtml::openTag('tr', $htmlOptions)."\n"; <span class="ln">622</span> foreach($this->columns as $column) <span class="error"><span class="ln error-ln">623</span> $this->renderDataCell($column, $row); </span><span class="ln">624</span> echo "</tr>\n"; <span class="ln">625</span> } <span class="ln">626</span> <span class="ln">627</span> /** <span class="ln">628</span> * A seam for people extending CGridView to be able to hook onto the data cell rendering process. </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #16 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/zii/widgets/grid/CGridView.php(579): <strong>CGridView</strong>-><strong>renderTableRow</strong>(1) </div> <div class="code"><pre><span class="ln">574</span> echo "<tbody>\n"; <span class="ln">575</span> <span class="ln">576</span> if($n>0) <span class="ln">577</span> { <span class="ln">578</span> for($row=0;$row<$n;++$row) <span class="error"><span class="ln error-ln">579</span> $this->renderTableRow($row); </span><span class="ln">580</span> } <span class="ln">581</span> else <span class="ln">582</span> { <span class="ln">583</span> echo '<tr><td colspan="'.count($this->columns).'" class="empty">'; <span class="ln">584</span> $this->renderEmptyText(); </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> /mnt/data/shnoulle/nginx/www/master/framework/zii/widgets/grid/CGridView.php(489): <strong>CGridView</strong>-><strong>renderTableBody</strong>() </div> <div class="code"><pre><span class="ln">484</span> if($this->dataProvider->getItemCount()>0 || $this->showTableOnEmpty) <span class="ln">485</span> { <span class="ln">486</span> echo "<table class=\"{$this->itemsCssClass}\">\n"; <span class="ln">487</span> $this->renderTableHeader(); <span class="ln">488</span> ob_start(); <span class="error"><span class="ln error-ln">489</span> $this->renderTableBody(); </span><span class="ln">490</span> $body=ob_get_clean(); <span class="ln">491</span> $this->renderTableFooter(); <span class="ln">492</span> echo $body; // TFOOT must appear before TBODY according to the standard. <span class="ln">493</span> echo "</table>"; <span class="ln">494</span> } </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #18 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/zii/widgets/CBaseListView.php(181): <strong>CGridView</strong>-><strong>renderItems</strong>() </div> <div class="code"><pre><span class="ln">176</span> protected function renderSection($matches) <span class="ln">177</span> { <span class="ln">178</span> $method='render'.$matches[1]; <span class="ln">179</span> if(method_exists($this,$method)) <span class="ln">180</span> { <span class="error"><span class="ln error-ln">181</span> $this->$method(); </span><span class="ln">182</span> $html=ob_get_contents(); <span class="ln">183</span> ob_clean(); <span class="ln">184</span> return $html; <span class="ln">185</span> } <span class="ln">186</span> else </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #19 </td> <td class="content"> <div class="trace-file"> unknown(0): <strong>CBaseListView</strong>-><strong>renderSection</strong>(array("{items}", "items")) </div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #20 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/zii/widgets/CBaseListView.php(164): <strong>preg_replace_callback</strong>("/{(\w+)}/", array(TbGridView, "renderSection"), "{items} <div class="row-fluid"><div class="span6">{pager}</div><...") </div> <div class="code"><pre><span class="ln">159</span> * The rendering results will replace the corresponding placeholders in {@link template}. <span class="ln">160</span> */ <span class="ln">161</span> public function renderContent() <span class="ln">162</span> { <span class="ln">163</span> ob_start(); <span class="error"><span class="ln error-ln">164</span> echo preg_replace_callback("/{(\w+)}/",array($this,'renderSection'),$this->template); </span><span class="ln">165</span> ob_end_flush(); <span class="ln">166</span> } <span class="ln">167</span> <span class="ln">168</span> /** <span class="ln">169</span> * Renders a section. </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #21 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/zii/widgets/CBaseListView.php(149): <strong>CBaseListView</strong>-><strong>renderContent</strong>() </div> <div class="code"><pre><span class="ln">144</span> { <span class="ln">145</span> $this->registerClientScript(); <span class="ln">146</span> <span class="ln">147</span> echo CHtml::openTag($this->tagName,$this->htmlOptions)."\n"; <span class="ln">148</span> <span class="error"><span class="ln error-ln">149</span> $this->renderContent(); </span><span class="ln">150</span> $this->renderKeys(); <span class="ln">151</span> <span class="ln">152</span> echo CHtml::closeTag($this->tagName); <span class="ln">153</span> } <span class="ln">154</span> </pre></div> </td> </tr> <tr class="trace core 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/master/framework/web/CBaseController.php(182): <strong>CBaseListView</strong>-><strong>run</strong>() </div> <div class="code"><pre><span class="ln">177</span> return ob_get_clean(); <span class="ln">178</span> } <span class="ln">179</span> else <span class="ln">180</span> { <span class="ln">181</span> $widget=$this->createWidget($className,$properties); <span class="error"><span class="ln error-ln">182</span> $widget->run(); </span><span class="ln">183</span> return $widget; <span class="ln">184</span> } <span class="ln">185</span> } <span class="ln">186</span> <span class="ln">187</span> /** </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #23 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/application/views/admin/themeoptions/surveythemelist.php(88): <strong>CBaseController</strong>-><strong>widget</strong>("bootstrap.widgets.TbGridView", array("dataProvider" => CActiveDataProvider, "filter" => TemplateConfiguration, "id" => "themeoptions-grid", "summaryText" => "Affichage de {start}-{end} sur {count} résultat(s). <div class=...", ...)) </div> <div class="code"><pre><span class="ln">83</span> ), <span class="ln">84</span> <span class="ln">85</span> ), <span class="ln">86</span> 'ajaxUpdate' => true, <span class="ln">87</span> 'ajaxType' => 'POST', <span class="error"><span class="ln error-ln">88</span> 'afterAjaxUpdate' => 'function(id, data){window.LS.doToolTip();bindListItemclick();}', </span><span class="ln">89</span> )); <span class="ln">90</span> ?> <span class="ln">91</span> <span class="ln">92</span> <!-- To update rows per page via ajax setSession--> <span class="ln">93</span> <?php </pre></div> </td> </tr> <tr class="trace core 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/master/framework/web/CBaseController.php(126): <strong>require</strong>("/mnt/data/shnoulle/nginx/www/master/application/views/admin/them...") </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"> #25 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(95): <strong>CBaseController</strong>-><strong>renderInternal</strong>("/mnt/data/shnoulle/nginx/www/master/application/views/admin/them...", array("oSurveyTheme" => TemplateConfiguration, "pageSize" => 20), true) </div> <div class="code"><pre><span class="ln">090</span> { <span class="ln">091</span> $widgetCount=count($this->_widgetStack); <span class="ln">092</span> if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) <span class="ln">093</span> $content=$renderer->renderFile($this,$viewFile,$data,$return); <span class="ln">094</span> else <span class="error"><span class="ln error-ln">095</span> $content=$this->renderInternal($viewFile,$data,$return); </span><span class="ln">096</span> if(count($this->_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->_widgetStack); </pre></div> </td> </tr> <tr class="trace core 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/master/framework/web/CController.php(872): <strong>CBaseController</strong>-><strong>renderFile</strong>("/mnt/data/shnoulle/nginx/www/master/application/views/admin/them...", array("oSurveyTheme" => TemplateConfiguration, "pageSize" => 20), 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->getViewFile($view))!==false) <span class="ln">871</span> { <span class="error"><span class="ln error-ln">872</span> $output=$this->renderFile($viewFile,$data,true); </span><span class="ln">873</span> if($processOutput) <span class="ln">874</span> $output=$this->processOutput($output); <span class="ln">875</span> if($return) <span class="ln">876</span> return $output; <span class="ln">877</span> else </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #27 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/application/controllers/AdminController.php(240): <strong>CController</strong>-><strong>renderPartial</strong>("themeoptions/surveythemelist", array("oSurveyTheme" => TemplateConfiguration, "pageSize" => 20), false, false) </div> <div class="code"><pre><span class="ln">235</span> } <span class="ln">236</span> <span class="ln">237</span> } <span class="ln">238</span> } <span class="ln">239</span> <span class="error"><span class="ln error-ln">240</span> return parent::renderPartial($view,$data,$return,$processOutput); </span><span class="ln">241</span> } <span class="ln">242</span> <span class="ln">243</span> /** <span class="ln">244</span> * Routes all the actions to their respective places <span class="ln">245</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/master/application/views/admin/themeoptions/index.php(39): <strong>AdminController</strong>-><strong>renderPartial</strong>("themeoptions/surveythemelist", array("oSurveyTheme" => TemplateConfiguration, "pageSize" => 20)) </div> <div class="code"><pre><span class="ln">34</span> <div class="col-lg-12 list-surveys"> <span class="ln">35</span> <span class="ln">36</span> <?php echo '<h3>'.gT('Installed survey themes:').'</h3>'; ?> <span class="ln">37</span> <span class="ln">38</span> <?php $this->renderPartial('themeoptions/surveythememenu',['canImport'=>$canImport,'importErrorMessage'=>$importErrorMessage, 'importModal' => 'importSurveyModal', 'importTemplate' => 'importSurveyTemplate', 'themeType' => 'survey']); ?> <span class="error"><span class="ln error-ln">39</span> <?php $this->renderPartial('themeoptions/surveythemelist', array( 'oSurveyTheme'=> $oSurveyTheme, 'pageSize'=>$pageSize )); ?> </span><span class="ln">40</span> <span class="ln">41</span> <!-- Available Themes --> <span class="ln">42</span> <?php if (count($oSurveyTheme->templatesWithNoDb) > 0 ):?> <span class="ln">43</span> <h3><?php eT('Available survey themes:'); ?></h3> <span class="ln">44</span> <div class="row"> </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #29 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(126): <strong>require</strong>("/mnt/data/shnoulle/nginx/www/master/application/views/admin/them...") </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"> #30 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/web/CBaseController.php(95): <strong>CBaseController</strong>-><strong>renderInternal</strong>("/mnt/data/shnoulle/nginx/www/master/application/views/admin/them...", array("oAdminTheme" => AdminTheme, "oQuestionTheme" => QuestionTheme, "oSurveyTheme" => TemplateConfiguration, "canImport" => true, ...), true) </div> <div class="code"><pre><span class="ln">090</span> { <span class="ln">091</span> $widgetCount=count($this->_widgetStack); <span class="ln">092</span> if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) <span class="ln">093</span> $content=$renderer->renderFile($this,$viewFile,$data,$return); <span class="ln">094</span> else <span class="error"><span class="ln error-ln">095</span> $content=$this->renderInternal($viewFile,$data,$return); </span><span class="ln">096</span> if(count($this->_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->_widgetStack); </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #31 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(872): <strong>CBaseController</strong>-><strong>renderFile</strong>("/mnt/data/shnoulle/nginx/www/master/application/views/admin/them...", array("oAdminTheme" => AdminTheme, "oQuestionTheme" => QuestionTheme, "oSurveyTheme" => TemplateConfiguration, "canImport" => true, ...), 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->getViewFile($view))!==false) <span class="ln">871</span> { <span class="error"><span class="ln error-ln">872</span> $output=$this->renderFile($viewFile,$data,true); </span><span class="ln">873</span> if($processOutput) <span class="ln">874</span> $output=$this->processOutput($output); <span class="ln">875</span> if($return) <span class="ln">876</span> return $output; <span class="ln">877</span> else </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #32 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/application/controllers/AdminController.php(240): <strong>CController</strong>-><strong>renderPartial</strong>("/admin/themeoptions/index", array("oAdminTheme" => AdminTheme, "oQuestionTheme" => QuestionTheme, "oSurveyTheme" => TemplateConfiguration, "canImport" => true, ...), true, false) </div> <div class="code"><pre><span class="ln">235</span> } <span class="ln">236</span> <span class="ln">237</span> } <span class="ln">238</span> } <span class="ln">239</span> <span class="error"><span class="ln error-ln">240</span> return parent::renderPartial($view,$data,$return,$processOutput); </span><span class="ln">241</span> } <span class="ln">242</span> <span class="ln">243</span> /** <span class="ln">244</span> * Routes all the actions to their respective places <span class="ln">245</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/master/application/core/Survey_Common_Action.php(274): <strong>AdminController</strong>-><strong>renderPartial</strong>("/admin/themeoptions/index", array("oAdminTheme" => AdminTheme, "oQuestionTheme" => QuestionTheme, "oSurveyTheme" => TemplateConfiguration, "canImport" => true, ...), true) </div> <div class="code"><pre><span class="ln">269</span> $content = ""; <span class="ln">270</span> <span class="ln">271</span> foreach ($aViewUrls as $sViewKey => $viewUrl) { <span class="ln">272</span> if (empty($sViewKey) || !in_array($sViewKey, array('message', 'output'))) { <span class="ln">273</span> if (is_numeric($sViewKey)) { <span class="error"><span class="ln error-ln">274</span> $content .= Yii::app()->getController()->renderPartial($sViewPath.$viewUrl, $aData, true); </span><span class="ln">275</span> } elseif (is_array($viewUrl)) { <span class="ln">276</span> foreach ($viewUrl as $aSubData) { <span class="ln">277</span> $aSubData = array_merge($aData, $aSubData); <span class="ln">278</span> $content .= Yii::app()->getController()->renderPartial($sViewPath.$sViewKey, $aSubData, true); <span class="ln">279</span> } </pre></div> </td> </tr> <tr class="trace app 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/master/application/core/Survey_Common_Action.php(357): <strong>Survey_Common_Action</strong>-><strong>renderCentralContents</strong>("themeoptions", array("index"), array("oAdminTheme" => AdminTheme, "oQuestionTheme" => QuestionTheme, "oSurveyTheme" => TemplateConfiguration, "canImport" => true, ...)) </div> <div class="code"><pre><span class="ln">352</span> <span class="ln">353</span> <span class="ln">354</span> } else { <span class="ln">355</span> $renderFile = $basePath.'/'.$sRenderFile; <span class="ln">356</span> } <span class="error"><span class="ln error-ln">357</span> $content = $this->renderCentralContents($sAction, $aViewUrls, $aData); </span><span class="ln">358</span> $out = $this->renderInternal($renderFile, ['content' => $content, 'aData' => $aData], true); <span class="ln">359</span> <span class="ln">360</span> App()->getClientScript()->render($out); <span class="ln">361</span> echo $out; <span class="ln">362</span> } </pre></div> </td> </tr> <tr class="trace app 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/master/application/controllers/admin/themeoptions.php(425): <strong>Survey_Common_Action</strong>-><strong>_renderWrappedTemplate</strong>("themeoptions", "index", array("oAdminTheme" => AdminTheme, "oQuestionTheme" => QuestionTheme, "oSurveyTheme" => TemplateConfiguration, "canImport" => true, ...)) </div> <div class="code"><pre><span class="ln">420</span> $aData['oSurveyTheme'] = $oSurveyTheme; <span class="ln">421</span> $aData['canImport'] = $canImport; <span class="ln">422</span> $aData['importErrorMessage'] = $importErrorMessage; <span class="ln">423</span> $aData['pageSize'] = App()->user->getState('pageSizeTemplateView', App()->params['defaultPageSize']); // Page size <span class="ln">424</span> <span class="error"><span class="ln error-ln">425</span> $this->_renderWrappedTemplate('themeoptions', 'index', $aData); </span><span class="ln">426</span> } else { <span class="ln">427</span> App()->setFlashMessage(gT("We are sorry but you don't have permissions to do this."), 'error'); <span class="ln">428</span> $this->getController()->redirect(App()->createUrl("/admin")); <span class="ln">429</span> } <span class="ln">430</span> } </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #36 </td> <td class="content"> <div class="trace-file"> unknown(0): <strong>themeoptions</strong>-><strong>index</strong>() </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/master/framework/web/actions/CAction.php(109): <strong>ReflectionMethod</strong>-><strong>invokeArgs</strong>(themeoptions, array()) </div> <div class="code"><pre><span class="ln">104</span> elseif($param->isDefaultValueAvailable()) <span class="ln">105</span> $ps[]=$param->getDefaultValue(); <span class="ln">106</span> else <span class="ln">107</span> return false; <span class="ln">108</span> } <span class="error"><span class="ln error-ln">109</span> $method->invokeArgs($object,$ps); </span><span class="ln">110</span> return true; <span class="ln">111</span> } <span class="ln">112</span> } </pre></div> </td> </tr> <tr class="trace app 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/master/application/core/Survey_Common_Action.php(86): <strong>CAction</strong>-><strong>runWithParamsInternal</strong>(themeoptions, ReflectionMethod, array()) </div> <div class="code"><pre><span class="ln">81</span> $oMethod = new ReflectionMethod($this, $sDefault); <span class="ln">82</span> } <span class="ln">83</span> <span class="ln">84</span> // We're all good to go, let's execute it <span class="ln">85</span> // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params <span class="error"><span class="ln error-ln">86</span> return parent::runWithParamsInternal($this, $oMethod, $params); </span><span class="ln">87</span> } <span class="ln">88</span> <span class="ln">89</span> /** <span class="ln">90</span> * Some functions have different parameters, which are just an alias of the <span class="ln">91</span> * usual parameters we're getting in the url. This function just populates </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/master/framework/web/CController.php(308): <strong>Survey_Common_Action</strong>-><strong>runWithParams</strong>(array()) </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"> #40 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(286): <strong>CController</strong>-><strong>runAction</strong>(themeoptions) </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"> #41 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(265): <strong>CController</strong>-><strong>runActionWithFilters</strong>(themeoptions, 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 app collapsed"> <td class="number"> #42 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/application/controllers/AdminController.php(180): <strong>CController</strong>-><strong>run</strong>("themeoptions") </div> <div class="code"><pre><span class="ln">175</span> } <span class="ln">176</span> <span class="ln">177</span> $this->runModuleController($action); <span class="ln">178</span> <span class="ln">179</span> <span class="error"><span class="ln error-ln">180</span> return parent::run($action); </span><span class="ln">181</span> } <span class="ln">182</span> <span class="ln">183</span> /** <span class="ln">184</span> * Starting with LS4, 3rd party developper can extends any of the LimeSurve controllers. <span class="ln">185</span> * </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #43 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(282): <strong>AdminController</strong>-><strong>run</strong>("themeoptions") </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"> #44 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(141): <strong>CWebApplication</strong>-><strong>runController</strong>("admin/themeoptions") </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"> #45 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /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->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"> #46 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /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 . 'core/LSYii_Application' . EXT; <span class="ln">178</span> <span class="ln">179</span> $config = require_once(APPPATH . 'config/internal' . 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('LSYii_Application', $config)->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> </tbody></table> </div> <div class="version"> 2020-05-06 06:46:22 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> <div id="grammalecte_menu_main_button_shadow_host" style="width: 0px; height: 0px;"></div></body><script src="PHP%20notice%20-%20themeoptions_fichiers/api.js"></script></html> | ||||
Bug heat | 32 | ||||
Complete LimeSurvey version number (& build) | 4.2.2 github | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | not relevant ? | ||||
Database type & version | not relevant? | ||||
Server OS (if known) | not relevant ? | ||||
Webserver software & version (if known) | not relevant ? | ||||
PHP Version | not relevant ? | ||||
For information, All options are Class at this time |
|
After copying , 500 error (empty page) with debug = 0 @cdorin : can you put this one in next dev part ? Recoverable error.html (34,671 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>Recoverable 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>Recoverable 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/core/LSETwigViewRenderer.php(685)</p> <div class="code"><pre><span class="ln">673</span> <span class="ln">674</span> <span class="ln">675</span> // NB: Session is flushed at submit, so sid is not defined here. <span class="ln">676</span> if (isset($_SESSION['survey_'.$aDatas['aSurveyInfo']['sid']]) && <span class="ln">677</span> isset($_SESSION['survey_'.$aDatas['aSurveyInfo']['sid']]['totalquestions'])) { <span class="ln">678</span> $aDatas["aSurveyInfo"]['iTotalquestions'] = $_SESSION['survey_'. <span class="ln">679</span> $aDatas['aSurveyInfo']['sid']]['totalquestions']; <span class="ln">680</span> } <span class="ln">681</span> <span class="ln">682</span> // Add the survey theme options <span class="ln">683</span> if ($oTemplate->oOptions) { <span class="ln">684</span> foreach ($oTemplate->oOptions as $key => $value) { <span class="error"><span class="ln error-ln">685</span> $aDatas["aSurveyInfo"]["options"][$key] = (string) $value; </span><span class="ln">686</span> } <span class="ln">687</span> } <span class="ln">688</span> } else { <span class="ln">689</span> // Add the global theme options <span class="ln">690</span> $oTemplateConfigurationCurrent = Template::getInstance($oTemplate->sTemplateName); <span class="ln">691</span> $aDatas["aSurveyInfo"]["options"] = isJson($oTemplateConfigurationCurrent['options']) <span class="ln">692</span> ? (array) json_decode($oTemplateConfigurationCurrent['options']) <span class="ln">693</span> : $oTemplateConfigurationCurrent['options']; <span class="ln">694</span> } <span class="ln">695</span> <span class="ln">696</span> $aDatas = $this->fixDataCoherence($aDatas); <span class="ln">697</span> </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/master/application/core/LSETwigViewRenderer.php(488): <strong>LSETwigViewRenderer</strong>-><strong>getAdditionalInfos</strong>(array("aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "tokenencryptionoptions" => "", "template" => "copie_vanilla", ...)), TemplateConfiguration) </div> <div class="code"><pre><span class="ln">483</span> $this->_twig = $twig = parent::getTwig(); <span class="ln">484</span> <span class="ln">485</span> //Run theme related things only if a theme is provided! <span class="ln">486</span> if ($oTemplate !== null) { <span class="ln">487</span> // Get the additional infos for the view, such as language, direction, etc <span class="error"><span class="ln error-ln">488</span> $aDatas = $this->getAdditionalInfos($aDatas, $oTemplate); </span><span class="ln">489</span> <span class="ln">490</span> // Add to the loader the path of the template and its parents. <span class="ln">491</span> $this->addRecursiveTemplatesPath($oTemplate); <span class="ln">492</span> <span class="ln">493</span> // Plugin for blocks replacement </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/master/application/core/LSETwigViewRenderer.php(53): <strong>LSETwigViewRenderer</strong>-><strong>convertTwigToHtml</strong>("{# LimeSurvey Copyright (C) 2007-2017 The LimeSurvey Pro...", array("aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "tokenencryptionoptions" => "", "template" => "copie_vanilla", ...)), TemplateConfiguration) </div> <div class="code"><pre><span class="ln">48</span> { <span class="ln">49</span> $oTemplate = Template::getLastInstance(); <span class="ln">50</span> $oLayoutTemplate = $this->getTemplateForView($sLayout, $oTemplate); <span class="ln">51</span> if ($oLayoutTemplate) { <span class="ln">52</span> $line = file_get_contents($oLayoutTemplate->viewPath.$sLayout); <span class="error"><span class="ln error-ln">53</span> $sHtml = $this->convertTwigToHtml($line, $aDatas, $oTemplate); </span><span class="ln">54</span> $sEmHiddenInputs = LimeExpressionManager::FinishProcessPublicPage(true); <span class="ln">55</span> if ($sEmHiddenInputs) { <span class="ln">56</span> $sHtml = str_replace( <span class="ln">57</span> "<!-- emScriptsAndHiddenInputs -->", <span class="ln">58</span> "<!-- emScriptsAndHiddenInputs updated -->\n". </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/master/application/helpers/frontend_helper.php(1212): <strong>LSETwigViewRenderer</strong>-><strong>renderTemplateFromFile</strong>("layout_user_forms.twig", array("aSurveyInfo" => array("htmlemail" => "Y", "format" => "G", "tokenencryptionoptions" => "", "template" => "copie_vanilla", ...)), false) </div> <div class="code"><pre><span class="ln">1207</span> <span class="ln">1208</span> $aData['aSurveyInfo'] = $thissurvey; <span class="ln">1209</span> <span class="ln">1210</span> $aData['aSurveyInfo'] = array_merge($aSurveyInfo, $aData['aSurveyInfo']); <span class="ln">1211</span> <span class="error"><span class="ln error-ln">1212</span> Yii::app()->twigRenderer->renderTemplateFromFile("layout_user_forms.twig", $aData, false); </span><span class="ln">1213</span> break; <span class="ln">1214</span> <span class="ln">1215</span> case "register": //Register new user <span class="ln">1216</span> // Add the event and test if done <span class="ln">1217</span> Yii::app()->runController("register/index/sid/{$surveyid}"); </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/master/application/helpers/SurveyRuntimeHelper.php(1666): <strong>renderRenderWayForm</strong>("main", array("tokenRequired" => true, "captchaRequired" => false), "/mnt/data/shnoulle/nginx/www/master/upload/themes/survey/copie_v...", array("bNewTest" => false, "bDirectReload" => false, "iSurveyId" => "593843", "sLangCode" => "en", ...), ...) </div> <div class="code"><pre><span class="ln">1661</span> <span class="ln">1662</span> $aEnterTokenData['aEnterErrors'] = $aEnterErrors; <span class="ln">1663</span> $renderWay = getRenderWay($renderToken, $renderCaptcha); <span class="ln">1664</span> <span class="ln">1665</span> /* This funtion end if an form need to be shown */ <span class="error"><span class="ln error-ln">1666</span> renderRenderWayForm($renderWay, $scenarios, $this->sTemplateViewPath, $aEnterTokenData, $this->iSurveyid, $this->aSurveyInfo); </span><span class="ln">1667</span> <span class="ln">1668</span> } <span class="ln">1669</span> <span class="ln">1670</span> <span class="ln">1671</span> private function initTemplate() </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/master/application/helpers/SurveyRuntimeHelper.php(200): <strong>SurveyRuntimeHelper</strong>-><strong>showTokenOrCaptchaFormsIfNeeded</strong>() </div> <div class="code"><pre><span class="ln">195</span> extract($args); <span class="ln">196</span> <span class="ln">197</span> /////////////////////////////////////////////////////////// <span class="ln">198</span> // 1: We check if token and/or captcha form shouls be shown <span class="ln">199</span> if (!isset($_SESSION[$this->LEMsessid]['step'])) { <span class="error"><span class="ln error-ln">200</span> $this->showTokenOrCaptchaFormsIfNeeded(); </span><span class="ln">201</span> } <span class="ln">202</span> if (!$this->previewgrp && !$this->previewquestion) { <span class="ln">203</span> $this->checkForDataSecurityAccepted(); <span class="ln">204</span> $this->initMove(); // main methods to init session, LEM, moves, errors, etc <span class="ln">205</span> if (EmCacheHelper::useCache()) { </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/master/application/controllers/survey/index.php(604): <strong>SurveyRuntimeHelper</strong>-><strong>run</strong>("593843", array("surveyid" => "593843", "thissurvey" => array("htmlemail" => "Y", "format" => "G", "tokenencryptionoptions" => "", "template" => "copie_vanilla", ...), "thisstep" => null, "clienttoken" => "", ...)) </div> <div class="code"><pre><span class="ln">599</span> unset($redata); <span class="ln">600</span> $redata = compact(array_keys(get_defined_vars())); <span class="ln">601</span> Yii::import('application.helpers.SurveyRuntimeHelper'); <span class="ln">602</span> $tmp = new SurveyRuntimeHelper(); <span class="ln">603</span> // try { <span class="error"><span class="ln error-ln">604</span> $tmp->run($surveyid, $redata); </span><span class="ln">605</span> // } catch (WrongTemplateVersionException $ex) { <span class="ln">606</span> // echo $ex->getMessage(); <span class="ln">607</span> // } <span class="ln">608</span> } <span class="ln">609</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/master/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"> #7 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/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"> #8 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(308): <strong>CAction</strong>-><strong>runWithParams</strong>(array("newtest" => "Y", "sid" => "593843")) </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"> #9 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/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"> #10 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/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"> #11 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/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"> #12 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(141): <strong>CWebApplication</strong>-><strong>runController</strong>("survey/index/sid/593843") </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"> #13 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /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->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"> #14 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /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 . 'core/LSYii_Application' . EXT; <span class="ln">178</span> <span class="ln">179</span> $config = require_once(APPPATH . 'config/internal' . 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('LSYii_Application', $config)->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> </tbody></table> </div> <div class="version"> 2020-05-06 07:08:26 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> <table class="yiiLog" style="border-spacing:1px;font:11px Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;color:#666666;" width="100%" cellpadding="2"> <tbody><tr> <th style="background:black;color:white;" colspan="5"> Application Log </th> </tr> <tr style="background-color: #ccc;"> <th style="width:120px">Timestamp</th> <th>Level</th> <th>Category</th> <th>Message</th> </tr> <tr style="background:#FFFFFF"> <td align="center">07:08:26.950699</td> <td>trace</td> <td>vardump</td> <td><pre>/mnt/data/shnoulle/nginx/www/master/application/models/TemplateConfiguration.php (1527): stdClass#1 ( [ajaxmode] => 'off' [brandlogo] => 'on' [container] => 'off' [hideprivacyinfo] => 'off' [brandlogofile] => null [font] => 'noto' [animatebody] => 'off' [showpopups] => '0' [showclearall] => 'on' [questionhelptextposition] => 'top' [fixnumauto] => 'enable' )</pre></td> </tr> <tr style="background:#F5F5F5"> <td align="center">07:08:26.952614</td> <td>trace</td> <td>vardump</td> <td><pre>/mnt/data/shnoulle/nginx/www/master/application/models/TemplateConfiguration.php (1527): stdClass#1 ( [animatebody] => stdClass#2 ( [@attributes] => stdClass#3 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Animate body' [options] => 'on|off' [optionlabels] => 'Yes|No' ) [0] => 'off' ) [hideprivacyinfo] => stdClass#4 ( [@attributes] => stdClass#5 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Hide privacy info' [options] => 'on|off' [optionlabels] => 'Yes|No' ) [0] => 'off' ) [container] => stdClass#6 ( [@attributes] => stdClass#7 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Survey container' [options] => 'on|off' [optionlabels] => 'Yes|No' ) [0] => 'on' ) [showpopups] => stdClass#8 ( [@attributes] => stdClass#9 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Show popups' [options] => '1|0|-1' [optionlabels] => 'Popup|On page|No' ) [0] => '1' ) [showclearall] => stdClass#10 ( [@attributes] => stdClass#11 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Show Clear All button' [options] => 'on|off' [optionlabels] => 'Yes|No' ) [0] => 'off' ) [questionhelptextposition] => stdClass#12 ( [@attributes] => stdClass#13 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Question help text position' [options] => 'top|bottom' [optionlabels] => 'Top|Bottom' ) [0] => 'top' ) [fixnumauto] => stdClass#14 ( [@attributes] => stdClass#15 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Fix automatically numeric value' [options] => 'enable|partial|disable' [optionlabels] => 'Yes|For expression|No' ) [0] => 'off' ) [brandlogo] => stdClass#16 ( [@attributes] => stdClass#17 ( [type] => 'buttons' [category] => 'Images' [width] => '4' [title] => 'Logo' [options] => 'on|off' [optionlabels] => 'Yes|No' ) [0] => 'on' ) [brandlogofile] => stdClass#18 ( [@attributes] => stdClass#19 ( [type] => 'dropdown' [category] => 'Images' [width] => '6' [title] => 'Logo file' [parent] => 'brandlogo' ) [0] => 'themes/survey/vanilla/files/logo.png' ) [font] => stdClass#20 ( [@attributes] => stdClass#21 ( [type] => 'dropdown' [category] => 'Fonts' [width] => '12' [title] => 'Fonts' [parent] => 'font' ) [dropdownoptions] => stdClass#22 ( [optgroup] => stdClass#23 ( [@attributes] => stdClass#24 ( [label] => 'User browser' ) [option] => array ( 0 => stdClass#25 ( [@attributes] => stdClass#26 ( [class] => 'font-georgia ' [value] => 'georgia' [data-font-package] => 'websafe' ) [0] => 'Georgia' ) 1 => stdClass#27 ( [@attributes] => stdClass#28 ( [class] => 'font-palatino ' [value] => 'palatino' [data-font-package] => 'websafe' ) [0] => 'Palatino Linotype' ) 2 => stdClass#29 ( [@attributes] => stdClass#30 ( [class] => 'font-times_new_roman ' [value] => 'times_new_roman' [data-font-package] => 'websafe' ) [0] => 'Times New Roman' ) 3 => stdClass#31 ( [@attributes] => stdClass#32 ( [class] => 'font-arial ' [value] => 'arial' [data-font-package] => 'websafe' ) [0] => 'Arial' ) 4 => stdClass#33 ( [@attributes] => stdClass#34 ( [class] => 'font-arial_black ' [value] => 'arial_black' [data-font-package] => 'websafe' ) [0] => 'Arial Black' ) 5 => stdClass#35 ( [@attributes] => stdClass#36 ( [class] => 'font-comic_sans ' [value] => 'comic_sans' [data-font-package] => 'websafe' ) [0] => 'Comic Sans' ) 6 => stdClass#37 ( [@attributes] => stdClass#38 ( [class] => 'font-impact ' [value] => 'impact' [data-font-package] => 'websafe' ) [0] => 'Impact' ) 7 => stdClass#39 ( [@attributes] => stdClass#40 ( [class] => 'font-lucida_sans ' [value] => 'lucida_sans' [data-font-package] => 'websafe' ) [0] => 'Lucida Sans' ) 8 => stdClass#41 ( [@attributes] => stdClass#42 ( [class] => 'font-trebuchet ' [value] => 'trebuchet' [data-font-package] => 'websafe' ) [0] => 'Trebuchet' ) 9 => stdClass#43 ( [@attributes] => stdClass#44 ( [class] => 'font-courier ' [value] => 'courier' [data-font-package] => 'websafe' ) [0] => 'Courier New' ) 10 => stdClass#45 ( [@attributes] => stdClass#46 ( [class] => 'font-lucida_console ' [value] => 'lucida_console' [data-font-package] => 'websafe' ) [0] => 'Lucida Console' ) ) ) ) ) )</pre></td> </tr></tbody></table> <!-- end of log messages --><div id="grammalecte_menu_main_button_shadow_host" style="width: 0px; height: 0px;"></div></body><script src="Recoverable%20error_fichiers/api.js"></script></html> <!-- start log messages --> Recoverable error - theme edit.html (54,577 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>Recoverable 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>Recoverable 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/models/TemplateConfiguration.php(1592)</p> <div class="code"><pre><span class="ln">1580</span> gT("Small screens"), <span class="ln">1581</span> gT("Off")), <span class="ln">1582</span> $value <span class="ln">1583</span> ); <span class="ln">1584</span> } else { <span class="ln">1585</span> $oOptions[$key] = str_replace( <span class="ln">1586</span> array('on', 'off', 'top', 'bottom'), <span class="ln">1587</span> array( <span class="ln">1588</span> gT("Yes"), <span class="ln">1589</span> gT("No"), <span class="ln">1590</span> gT("Top"), <span class="ln">1591</span> gT("Bottom")), <span class="error"><span class="ln error-ln">1592</span> $value </span><span class="ln">1593</span> ); <span class="ln">1594</span> } <span class="ln">1595</span> } <span class="ln">1596</span> return $oOptions; <span class="ln">1597</span> } <span class="ln">1598</span> } </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/master/application/models/TemplateConfiguration.php(1592): <strong>str_replace</strong>(array("on", "off", "top", "bottom"), array("Oui", "Non", "Haut", "Bas"), stdClass) </div> <div class="code"><pre><span class="ln">1587</span> array( <span class="ln">1588</span> gT("Yes"), <span class="ln">1589</span> gT("No"), <span class="ln">1590</span> gT("Top"), <span class="ln">1591</span> gT("Bottom")), <span class="error"><span class="ln error-ln">1592</span> $value </span><span class="ln">1593</span> ); <span class="ln">1594</span> } <span class="ln">1595</span> } <span class="ln">1596</span> return $oOptions; <span class="ln">1597</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/master/application/models/TemplateConfiguration.php(1021): <strong>TemplateConfiguration</strong>::<strong>translateOptionLabels</strong>(array("animatebody" => stdClass, "hideprivacyinfo" => stdClass, "container" => stdClass, "showpopups" => stdClass, ...)) </div> <div class="code"><pre><span class="ln">1016</span> $oTemplate->setToInherit(); <span class="ln">1017</span> $oTemplate->setOptions(); <span class="ln">1018</span> $oTemplate->setOptionInheritance(); <span class="ln">1019</span> <span class="ln">1020</span> $oOptions = (array) $oSimpleInheritanceTemplate->oOptions; <span class="error"><span class="ln error-ln">1021</span> $oOptions = TemplateConfiguration::translateOptionLabels($oOptions); </span><span class="ln">1022</span> <span class="ln">1023</span> //We add some extra values to the option page <span class="ln">1024</span> //This is just a dirty hack, and somewhere in the future we will correct it <span class="ln">1025</span> $renderArray['oParentOptions'] = array_merge( <span class="ln">1026</span> ($oOptions), </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> /mnt/data/shnoulle/nginx/www/master/framework/base/CComponent.php(111): <strong>TemplateConfiguration</strong>-><strong>getOptionPage</strong>() </div> <div class="code"><pre><span class="ln">106</span> */ <span class="ln">107</span> public function __get($name) <span class="ln">108</span> { <span class="ln">109</span> $getter='get'.$name; <span class="ln">110</span> if(method_exists($this,$getter)) <span class="error"><span class="ln error-ln">111</span> return $this->$getter(); </span><span class="ln">112</span> elseif(strncasecmp($name,'on',2)===0 && method_exists($this,$name)) <span class="ln">113</span> { <span class="ln">114</span> // duplicating getEventHandlers() here for performance <span class="ln">115</span> $name=strtolower($name); <span class="ln">116</span> if(!isset($this->_e[$name])) </pre></div> </td> </tr> <tr class="trace core 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/master/framework/db/ar/CActiveRecord.php(145): <strong>CComponent</strong>-><strong>__get</strong>("optionPage") </div> <div class="code"><pre><span class="ln">140</span> elseif(isset($this->_related[$name])) <span class="ln">141</span> return $this->_related[$name]; <span class="ln">142</span> elseif(isset($this->getMetaData()->relations[$name])) <span class="ln">143</span> return $this->getRelated($name); <span class="ln">144</span> else <span class="error"><span class="ln error-ln">145</span> return parent::__get($name); </span><span class="ln">146</span> } <span class="ln">147</span> <span class="ln">148</span> /** <span class="ln">149</span> * PHP setter magic method. <span class="ln">150</span> * This method is overridden so that AR attributes can be accessed like properties. </pre></div> </td> </tr> <tr class="trace app expanded"> <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/master/application/models/TemplateConfiguration.php(1479): <strong>CActiveRecord</strong>-><strong>__get</strong>("optionPage") </div> <div class="code"><pre><span class="ln">1474</span> // NOTE: this is object recursive (if parent configuration field is set to inherit, <span class="ln">1475</span> // then it will lead to this method again.) <span class="ln">1476</span> $sAttribute = $this->getParentConfiguration()->$name; <span class="ln">1477</span> } <span class="ln">1478</span> } else { <span class="error"><span class="ln error-ln">1479</span> $sAttribute = parent::__get($name); </span><span class="ln">1480</span> } <span class="ln">1481</span> <span class="ln">1482</span> return $sAttribute; <span class="ln">1483</span> } <span class="ln">1484</span> </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/master/application/controllers/admin/themeoptions.php(602): <strong>TemplateConfiguration</strong>-><strong>__get</strong>("optionPage") </div> <div class="code"><pre><span class="ln">597</span> <span class="ln">598</span> if ($aOptionAttributes['optionsPage'] == 'core') { <span class="ln">599</span> App()->clientScript->registerPackage('themeoptions-core'); <span class="ln">600</span> $templateOptionPage = ''; <span class="ln">601</span> } else { <span class="error"><span class="ln error-ln">602</span> $templateOptionPage = $oModelWithInheritReplacement->optionPage; </span><span class="ln">603</span> } <span class="ln">604</span> <span class="ln">605</span> $oSimpleInheritance = Template::getInstance( <span class="ln">606</span> $oModelWithInheritReplacement->sTemplateName, <span class="ln">607</span> $sid, </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/master/application/controllers/admin/themeoptions.php(304): <strong>themeoptions</strong>-><strong>updateCommon</strong>(TemplateConfiguration, "593843") </div> <div class="code"><pre><span class="ln">299</span> if ($model->save()) { <span class="ln">300</span> Yii::app()->user->setFlash('success', gT('Theme options saved.')); <span class="ln">301</span> $this->getController()->redirect(Yii::app()->getController()->createUrl("/admin/themeoptions/sa/updatesurvey", ['surveyid'=>$sid, 'sid'=>$sid])); <span class="ln">302</span> } <span class="ln">303</span> } <span class="error"><span class="ln error-ln">304</span> $this->updateCommon($model, $sid); </span><span class="ln">305</span> } else { <span class="ln">306</span> Yii::app()->setFlashMessage(gT("We are sorry but you don't have permissions to do this."), 'error'); <span class="ln">307</span> $this->getController()->redirect(array('admin/survey/sa/view/surveyid/'.$sid)); <span class="ln">308</span> } <span class="ln">309</span> } </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #7 </td> <td class="content"> <div class="trace-file"> unknown(0): <strong>themeoptions</strong>-><strong>updatesurvey</strong>("593843") </div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #8 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/web/actions/CAction.php(109): <strong>ReflectionMethod</strong>-><strong>invokeArgs</strong>(themeoptions, array("593843")) </div> <div class="code"><pre><span class="ln">104</span> elseif($param->isDefaultValueAvailable()) <span class="ln">105</span> $ps[]=$param->getDefaultValue(); <span class="ln">106</span> else <span class="ln">107</span> return false; <span class="ln">108</span> } <span class="error"><span class="ln error-ln">109</span> $method->invokeArgs($object,$ps); </span><span class="ln">110</span> return true; <span class="ln">111</span> } <span class="ln">112</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/master/application/core/Survey_Common_Action.php(86): <strong>CAction</strong>-><strong>runWithParamsInternal</strong>(themeoptions, ReflectionMethod, array("surveyid" => "593843", "gsid" => "1", "sa" => "updatesurvey", "iSurveyId" => "593843", ...)) </div> <div class="code"><pre><span class="ln">81</span> $oMethod = new ReflectionMethod($this, $sDefault); <span class="ln">82</span> } <span class="ln">83</span> <span class="ln">84</span> // We're all good to go, let's execute it <span class="ln">85</span> // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params <span class="error"><span class="ln error-ln">86</span> return parent::runWithParamsInternal($this, $oMethod, $params); </span><span class="ln">87</span> } <span class="ln">88</span> <span class="ln">89</span> /** <span class="ln">90</span> * Some functions have different parameters, which are just an alias of the <span class="ln">91</span> * usual parameters we're getting in the url. This function just populates </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> /mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(308): <strong>Survey_Common_Action</strong>-><strong>runWithParams</strong>(array("surveyid" => "593843", "gsid" => "1", "sa" => "updatesurvey", "iSurveyId" => "593843", ...)) </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"> #11 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(286): <strong>CController</strong>-><strong>runAction</strong>(themeoptions) </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"> #12 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(265): <strong>CController</strong>-><strong>runActionWithFilters</strong>(themeoptions, 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 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/master/application/controllers/AdminController.php(180): <strong>CController</strong>-><strong>run</strong>("themeoptions") </div> <div class="code"><pre><span class="ln">175</span> } <span class="ln">176</span> <span class="ln">177</span> $this->runModuleController($action); <span class="ln">178</span> <span class="ln">179</span> <span class="error"><span class="ln error-ln">180</span> return parent::run($action); </span><span class="ln">181</span> } <span class="ln">182</span> <span class="ln">183</span> /** <span class="ln">184</span> * Starting with LS4, 3rd party developper can extends any of the LimeSurve controllers. <span class="ln">185</span> * </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #14 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(282): <strong>AdminController</strong>-><strong>run</strong>("themeoptions") </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"> #15 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(141): <strong>CWebApplication</strong>-><strong>runController</strong>("admin/themeoptions/sa/updatesurvey") </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"> #16 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /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->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"> #17 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /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 . 'core/LSYii_Application' . EXT; <span class="ln">178</span> <span class="ln">179</span> $config = require_once(APPPATH . 'config/internal' . 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('LSYii_Application', $config)->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> </tbody></table> </div> <div class="version"> 2020-05-06 07:09:31 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> <table class="yiiLog" style="border-spacing:1px;font:11px Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;color:#666666;" width="100%" cellpadding="2"> <tbody><tr> <th style="background:black;color:white;" colspan="5"> Journal d'application </th> </tr> <tr style="background-color: #ccc;"> <th style="width:120px">Heure</th> <th>Niveau</th> <th>Categorie</th> <th>Message</th> </tr> <tr style="background:#FFFFFF"> <td align="center">07:09:31.823944</td> <td>trace</td> <td>vardump</td> <td><pre>/mnt/data/shnoulle/nginx/www/master/application/models/TemplateConfiguration.php (1527): stdClass#1 ( [ajaxmode] => 'off' [brandlogo] => 'on' [container] => 'off' [hideprivacyinfo] => 'off' [brandlogofile] => null [font] => 'noto' [animatebody] => 'off' [showpopups] => '0' [showclearall] => 'on' [questionhelptextposition] => 'top' [fixnumauto] => 'enable' )</pre></td> </tr> <tr style="background:#F5F5F5"> <td align="center">07:09:31.825933</td> <td>trace</td> <td>vardump</td> <td><pre>/mnt/data/shnoulle/nginx/www/master/application/models/TemplateConfiguration.php (1527): stdClass#1 ( [animatebody] => stdClass#2 ( [@attributes] => stdClass#3 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Animate body' [options] => 'on|off' [optionlabels] => 'Yes|No' ) [0] => 'off' ) [hideprivacyinfo] => stdClass#4 ( [@attributes] => stdClass#5 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Hide privacy info' [options] => 'on|off' [optionlabels] => 'Yes|No' ) [0] => 'off' ) [container] => stdClass#6 ( [@attributes] => stdClass#7 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Survey container' [options] => 'on|off' [optionlabels] => 'Yes|No' ) [0] => 'on' ) [showpopups] => stdClass#8 ( [@attributes] => stdClass#9 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Show popups' [options] => '1|0|-1' [optionlabels] => 'Popup|On page|No' ) [0] => '1' ) [showclearall] => stdClass#10 ( [@attributes] => stdClass#11 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Show Clear All button' [options] => 'on|off' [optionlabels] => 'Yes|No' ) [0] => 'off' ) [questionhelptextposition] => stdClass#12 ( [@attributes] => stdClass#13 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Question help text position' [options] => 'top|bottom' [optionlabels] => 'Top|Bottom' ) [0] => 'top' ) [fixnumauto] => stdClass#14 ( [@attributes] => stdClass#15 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Fix automatically numeric value' [options] => 'enable|partial|disable' [optionlabels] => 'Yes|For expression|No' ) [0] => 'off' ) [brandlogo] => stdClass#16 ( [@attributes] => stdClass#17 ( [type] => 'buttons' [category] => 'Images' [width] => '4' [title] => 'Logo' [options] => 'on|off' [optionlabels] => 'Yes|No' ) [0] => 'on' ) [brandlogofile] => stdClass#18 ( [@attributes] => stdClass#19 ( [type] => 'dropdown' [category] => 'Images' [width] => '6' [title] => 'Logo file' [parent] => 'brandlogo' ) [0] => 'themes/survey/vanilla/files/logo.png' ) [font] => stdClass#20 ( [@attributes] => stdClass#21 ( [type] => 'dropdown' [category] => 'Fonts' [width] => '12' [title] => 'Fonts' [parent] => 'font' ) [dropdownoptions] => stdClass#22 ( [optgroup] => stdClass#23 ( [@attributes] => stdClass#24 ( [label] => 'User browser' ) [option] => array ( 0 => stdClass#25 ( [@attributes] => stdClass#26 ( [class] => 'font-georgia ' [value] => 'georgia' [data-font-package] => 'websafe' ) [0] => 'Georgia' ) 1 => stdClass#27 ( [@attributes] => stdClass#28 ( [class] => 'font-palatino ' [value] => 'palatino' [data-font-package] => 'websafe' ) [0] => 'Palatino Linotype' ) 2 => stdClass#29 ( [@attributes] => stdClass#30 ( [class] => 'font-times_new_roman ' [value] => 'times_new_roman' [data-font-package] => 'websafe' ) [0] => 'Times New Roman' ) 3 => stdClass#31 ( [@attributes] => stdClass#32 ( [class] => 'font-arial ' [value] => 'arial' [data-font-package] => 'websafe' ) [0] => 'Arial' ) 4 => stdClass#33 ( [@attributes] => stdClass#34 ( [class] => 'font-arial_black ' [value] => 'arial_black' [data-font-package] => 'websafe' ) [0] => 'Arial Black' ) 5 => stdClass#35 ( [@attributes] => stdClass#36 ( [class] => 'font-comic_sans ' [value] => 'comic_sans' [data-font-package] => 'websafe' ) [0] => 'Comic Sans' ) 6 => stdClass#37 ( [@attributes] => stdClass#38 ( [class] => 'font-impact ' [value] => 'impact' [data-font-package] => 'websafe' ) [0] => 'Impact' ) 7 => stdClass#39 ( [@attributes] => stdClass#40 ( [class] => 'font-lucida_sans ' [value] => 'lucida_sans' [data-font-package] => 'websafe' ) [0] => 'Lucida Sans' ) 8 => stdClass#41 ( [@attributes] => stdClass#42 ( [class] => 'font-trebuchet ' [value] => 'trebuchet' [data-font-package] => 'websafe' ) [0] => 'Trebuchet' ) 9 => stdClass#43 ( [@attributes] => stdClass#44 ( [class] => 'font-courier ' [value] => 'courier' [data-font-package] => 'websafe' ) [0] => 'Courier New' ) 10 => stdClass#45 ( [@attributes] => stdClass#46 ( [class] => 'font-lucida_console ' [value] => 'lucida_console' [data-font-package] => 'websafe' ) [0] => 'Lucida Console' ) ) ) ) ) )</pre></td> </tr> <tr style="background:#FFFFFF"> <td align="center">07:09:31.827104</td> <td>trace</td> <td>vardump</td> <td><pre>/mnt/data/shnoulle/nginx/www/master/application/models/TemplateConfiguration.php (1527): stdClass#1 ( [ajaxmode] => 'off' [brandlogo] => 'on' [container] => 'off' [hideprivacyinfo] => 'off' [brandlogofile] => null [font] => 'noto' [animatebody] => 'off' [showpopups] => '0' [showclearall] => 'on' [questionhelptextposition] => 'top' [fixnumauto] => 'enable' )</pre></td> </tr> <tr style="background:#F5F5F5"> <td align="center">07:09:31.828031</td> <td>trace</td> <td>vardump</td> <td><pre>/mnt/data/shnoulle/nginx/www/master/application/models/TemplateConfiguration.php (1527): stdClass#1 ( [animatebody] => stdClass#2 ( [@attributes] => stdClass#3 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Animate body' [options] => 'on|off' [optionlabels] => 'Yes|No' ) [0] => 'off' ) [hideprivacyinfo] => stdClass#4 ( [@attributes] => stdClass#5 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Hide privacy info' [options] => 'on|off' [optionlabels] => 'Yes|No' ) [0] => 'off' ) [container] => stdClass#6 ( [@attributes] => stdClass#7 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Survey container' [options] => 'on|off' [optionlabels] => 'Yes|No' ) [0] => 'on' ) [showpopups] => stdClass#8 ( [@attributes] => stdClass#9 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Show popups' [options] => '1|0|-1' [optionlabels] => 'Popup|On page|No' ) [0] => '1' ) [showclearall] => stdClass#10 ( [@attributes] => stdClass#11 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Show Clear All button' [options] => 'on|off' [optionlabels] => 'Yes|No' ) [0] => 'off' ) [questionhelptextposition] => stdClass#12 ( [@attributes] => stdClass#13 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Question help text position' [options] => 'top|bottom' [optionlabels] => 'Top|Bottom' ) [0] => 'top' ) [fixnumauto] => stdClass#14 ( [@attributes] => stdClass#15 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Fix automatically numeric value' [options] => 'enable|partial|disable' [optionlabels] => 'Yes|For expression|No' ) [0] => 'off' ) [brandlogo] => stdClass#16 ( [@attributes] => stdClass#17 ( [type] => 'buttons' [category] => 'Images' [width] => '4' [title] => 'Logo' [options] => 'on|off' [optionlabels] => 'Yes|No' ) [0] => 'on' ) [brandlogofile] => stdClass#18 ( [@attributes] => stdClass#19 ( [type] => 'dropdown' [category] => 'Images' [width] => '6' [title] => 'Logo file' [parent] => 'brandlogo' ) [0] => 'themes/survey/vanilla/files/logo.png' ) [font] => stdClass#20 ( [@attributes] => stdClass#21 ( [type] => 'dropdown' [category] => 'Fonts' [width] => '12' [title] => 'Fonts' [parent] => 'font' ) [dropdownoptions] => stdClass#22 ( [optgroup] => stdClass#23 ( [@attributes] => stdClass#24 ( [label] => 'User browser' ) [option] => array ( 0 => stdClass#25 ( [@attributes] => stdClass#26 ( [class] => 'font-georgia ' [value] => 'georgia' [data-font-package] => 'websafe' ) [0] => 'Georgia' ) 1 => stdClass#27 ( [@attributes] => stdClass#28 ( [class] => 'font-palatino ' [value] => 'palatino' [data-font-package] => 'websafe' ) [0] => 'Palatino Linotype' ) 2 => stdClass#29 ( [@attributes] => stdClass#30 ( [class] => 'font-times_new_roman ' [value] => 'times_new_roman' [data-font-package] => 'websafe' ) [0] => 'Times New Roman' ) 3 => stdClass#31 ( [@attributes] => stdClass#32 ( [class] => 'font-arial ' [value] => 'arial' [data-font-package] => 'websafe' ) [0] => 'Arial' ) 4 => stdClass#33 ( [@attributes] => stdClass#34 ( [class] => 'font-arial_black ' [value] => 'arial_black' [data-font-package] => 'websafe' ) [0] => 'Arial Black' ) 5 => stdClass#35 ( [@attributes] => stdClass#36 ( [class] => 'font-comic_sans ' [value] => 'comic_sans' [data-font-package] => 'websafe' ) [0] => 'Comic Sans' ) 6 => stdClass#37 ( [@attributes] => stdClass#38 ( [class] => 'font-impact ' [value] => 'impact' [data-font-package] => 'websafe' ) [0] => 'Impact' ) 7 => stdClass#39 ( [@attributes] => stdClass#40 ( [class] => 'font-lucida_sans ' [value] => 'lucida_sans' [data-font-package] => 'websafe' ) [0] => 'Lucida Sans' ) 8 => stdClass#41 ( [@attributes] => stdClass#42 ( [class] => 'font-trebuchet ' [value] => 'trebuchet' [data-font-package] => 'websafe' ) [0] => 'Trebuchet' ) 9 => stdClass#43 ( [@attributes] => stdClass#44 ( [class] => 'font-courier ' [value] => 'courier' [data-font-package] => 'websafe' ) [0] => 'Courier New' ) 10 => stdClass#45 ( [@attributes] => stdClass#46 ( [class] => 'font-lucida_console ' [value] => 'lucida_console' [data-font-package] => 'websafe' ) [0] => 'Lucida Console' ) ) ) ) ) )</pre></td> </tr> <tr style="background:#FFFFFF"> <td align="center">07:09:31.828109</td> <td>trace</td> <td>vardump</td> <td><pre>/mnt/data/shnoulle/nginx/www/master/application/models/TemplateConfiguration.php (1527): stdClass#1 ( [ajaxmode] => 'off' [brandlogo] => 'on' [container] => 'off' [hideprivacyinfo] => 'off' [brandlogofile] => null [font] => 'noto' [animatebody] => 'off' [showpopups] => '0' [showclearall] => 'on' [questionhelptextposition] => 'top' [fixnumauto] => 'enable' )</pre></td> </tr> <tr style="background:#F5F5F5"> <td align="center">07:09:31.829103</td> <td>trace</td> <td>vardump</td> <td><pre>/mnt/data/shnoulle/nginx/www/master/application/models/TemplateConfiguration.php (1527): stdClass#1 ( [animatebody] => stdClass#2 ( [@attributes] => stdClass#3 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Animate body' [options] => 'on|off' [optionlabels] => 'Yes|No' ) [0] => 'off' ) [hideprivacyinfo] => stdClass#4 ( [@attributes] => stdClass#5 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Hide privacy info' [options] => 'on|off' [optionlabels] => 'Yes|No' ) [0] => 'off' ) [container] => stdClass#6 ( [@attributes] => stdClass#7 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Survey container' [options] => 'on|off' [optionlabels] => 'Yes|No' ) [0] => 'on' ) [showpopups] => stdClass#8 ( [@attributes] => stdClass#9 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Show popups' [options] => '1|0|-1' [optionlabels] => 'Popup|On page|No' ) [0] => '1' ) [showclearall] => stdClass#10 ( [@attributes] => stdClass#11 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Show Clear All button' [options] => 'on|off' [optionlabels] => 'Yes|No' ) [0] => 'off' ) [questionhelptextposition] => stdClass#12 ( [@attributes] => stdClass#13 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Question help text position' [options] => 'top|bottom' [optionlabels] => 'Top|Bottom' ) [0] => 'top' ) [fixnumauto] => stdClass#14 ( [@attributes] => stdClass#15 ( [type] => 'buttons' [category] => 'Simple options' [width] => '4' [title] => 'Fix automatically numeric value' [options] => 'enable|partial|disable' [optionlabels] => 'Yes|For expression|No' ) [0] => 'off' ) [brandlogo] => stdClass#16 ( [@attributes] => stdClass#17 ( [type] => 'buttons' [category] => 'Images' [width] => '4' [title] => 'Logo' [options] => 'on|off' [optionlabels] => 'Yes|No' ) [0] => 'on' ) [brandlogofile] => stdClass#18 ( [@attributes] => stdClass#19 ( [type] => 'dropdown' [category] => 'Images' [width] => '6' [title] => 'Logo file' [parent] => 'brandlogo' ) [0] => 'themes/survey/vanilla/files/logo.png' ) [font] => stdClass#20 ( [@attributes] => stdClass#21 ( [type] => 'dropdown' [category] => 'Fonts' [width] => '12' [title] => 'Fonts' [parent] => 'font' ) [dropdownoptions] => stdClass#22 ( [optgroup] => stdClass#23 ( [@attributes] => stdClass#24 ( [label] => 'User browser' ) [option] => array ( 0 => stdClass#25 ( [@attributes] => stdClass#26 ( [class] => 'font-georgia ' [value] => 'georgia' [data-font-package] => 'websafe' ) [0] => 'Georgia' ) 1 => stdClass#27 ( [@attributes] => stdClass#28 ( [class] => 'font-palatino ' [value] => 'palatino' [data-font-package] => 'websafe' ) [0] => 'Palatino Linotype' ) 2 => stdClass#29 ( [@attributes] => stdClass#30 ( [class] => 'font-times_new_roman ' [value] => 'times_new_roman' [data-font-package] => 'websafe' ) [0] => 'Times New Roman' ) 3 => stdClass#31 ( [@attributes] => stdClass#32 ( [class] => 'font-arial ' [value] => 'arial' [data-font-package] => 'websafe' ) [0] => 'Arial' ) 4 => stdClass#33 ( [@attributes] => stdClass#34 ( [class] => 'font-arial_black ' [value] => 'arial_black' [data-font-package] => 'websafe' ) [0] => 'Arial Black' ) 5 => stdClass#35 ( [@attributes] => stdClass#36 ( [class] => 'font-comic_sans ' [value] => 'comic_sans' [data-font-package] => 'websafe' ) [0] => 'Comic Sans' ) 6 => stdClass#37 ( [@attributes] => stdClass#38 ( [class] => 'font-impact ' [value] => 'impact' [data-font-package] => 'websafe' ) [0] => 'Impact' ) 7 => stdClass#39 ( [@attributes] => stdClass#40 ( [class] => 'font-lucida_sans ' [value] => 'lucida_sans' [data-font-package] => 'websafe' ) [0] => 'Lucida Sans' ) 8 => stdClass#41 ( [@attributes] => stdClass#42 ( [class] => 'font-trebuchet ' [value] => 'trebuchet' [data-font-package] => 'websafe' ) [0] => 'Trebuchet' ) 9 => stdClass#43 ( [@attributes] => stdClass#44 ( [class] => 'font-courier ' [value] => 'courier' [data-font-package] => 'websafe' ) [0] => 'Courier New' ) 10 => stdClass#45 ( [@attributes] => stdClass#46 ( [class] => 'font-lucida_console ' [value] => 'lucida_console' [data-font-package] => 'websafe' ) [0] => 'Lucida Console' ) ) ) ) ) )</pre></td> </tr></tbody></table> <!-- end of log messages --><div id="grammalecte_menu_main_button_shadow_host" style="width: 0px; height: 0px;"></div></body><script src="Recoverable%20error%20-%20theme%20edit_fichiers/api.js"></script></html> <!-- start log messages --> |
|
With debug = 0 Copy Vanilla theme |
|
Reset again (just now) : seems fixed |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2020-05-06 08:50 | DenisChenu | New Issue | |
2020-05-06 08:50 | DenisChenu | File Added: PHP notice.html | |
2020-05-06 08:50 | DenisChenu | File Added: PHP notice - themeoptions.html | |
2020-05-06 09:04 | DenisChenu | Note Added: 57564 | |
2020-05-06 09:04 | DenisChenu | File Added: Capture d’écran du 2020-05-06 09-04-00.png | |
2020-05-06 09:12 | DenisChenu | Note Added: 57565 | |
2020-05-06 09:12 | DenisChenu | File Added: Recoverable error.html | |
2020-05-06 09:12 | DenisChenu | File Added: Recoverable error - theme edit.html | |
2020-05-06 09:15 | DenisChenu | Note Added: 57566 | |
2020-05-06 13:18 | cdorin | Priority | none => normal |
2020-05-06 13:18 | cdorin | Zoho Sprints | => |Yes| |
2020-05-06 13:18 |
|
Zoho Sprints ID | => 14469000000078001 |
2020-05-06 13:18 | cdorin | Status | new => confirmed |
2020-05-06 13:18 | cdorin | Zoho Sprints | Yes => |Yes| |
2020-05-08 11:17 | DenisChenu | Relationship added | has duplicate 16245 |
2020-05-19 09:01 | DenisChenu | Relationship added | has duplicate 16295 |
2020-05-29 16:47 | DenisChenu | Note Added: 58101 | |
2020-05-29 16:47 | DenisChenu | Assigned To | => DenisChenu |
2020-05-29 16:47 | DenisChenu | Status | confirmed => resolved |
2020-05-29 16:47 | DenisChenu | Resolution | open => fixed |
2020-05-29 16:47 | DenisChenu | Fixed in Version | => 4.2.5 |
2020-05-29 19:32 | DenisChenu | Summary | Receive notice when copying survey => Receive notice when copying survey theme |
2020-07-10 00:06 | cdorin | Status | resolved => closed |
2021-08-02 17:18 | guest | Bug heat | 24 => 32 |