View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
14250 | Bug reports | Import/Export | public | 2018-11-13 23:40 | 2021-03-11 07:50 |
Reporter | DenisChenu | Assigned To | |||
Priority | none | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 3.15.x | ||||
Summary | 14250: Unable to import some survey lss with debug=2 | ||||
Description | Survey seems to work good, but receuve a notice when try to import | ||||
Steps To Reproduce | Try to import included survey : seems toi be a parent issue | ||||
Tags | No tags attached. | ||||
Attached Files | PHP notice.html (29,683 bytes)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>PHP notice</title> <style type="text/css"> /*<![CDATA[*/ html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;} body{line-height:1;} ol,ul{list-style:none;} blockquote,q{quotes:none;} blockquote:before,blockquote:after,q:before,q:after{content:none;} :focus{outline:0;} ins{text-decoration:none;} del{text-decoration:line-through;} table{border-collapse:collapse;border-spacing:0;} body { font: normal 9pt "Verdana"; color: #000; background: #fff; } h1 { font: normal 18pt "Verdana"; color: #f00; margin-bottom: .5em; } h2 { font: normal 14pt "Verdana"; color: #800000; margin-bottom: .5em; } h3 { font: bold 11pt "Verdana"; } pre { font: normal 11pt Menlo, Consolas, "Lucida Console", Monospace; } pre span.error { display: block; background: #fce3e3; } pre span.ln { color: #999; padding-right: 0.5em; border-right: 1px solid #ccc; } pre span.error-ln { font-weight: bold; } .container { margin: 1em 4em; } .version { color: gray; font-size: 8pt; border-top: 1px solid #aaa; padding-top: 1em; margin-bottom: 1em; } .message { color: #000; padding: 1em; font-size: 11pt; background: #f3f3f3; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; margin-bottom: 1em; line-height: 160%; } .source { margin-bottom: 1em; } .code pre { background-color: #ffe; margin: 0.5em 0; padding: 0.5em; line-height: 125%; border: 1px solid #eee; } .source .file { margin-bottom: 1em; font-weight: bold; } .traces { margin: 2em 0; } .trace { margin: 0.5em 0; padding: 0.5em; } .trace.app { border: 1px dashed #c00; } .trace .number { text-align: right; width: 2em; padding: 0.5em; } .trace .content { padding: 0.5em; } .trace .plus, .trace .minus { display:inline; vertical-align:middle; text-align:center; border:1px solid #000; color:#000; font-size:10px; line-height:10px; margin:0; padding:0 1px; width:10px; height:10px; } .trace.collapsed .minus, .trace.expanded .plus, .trace.collapsed pre { display: none; } .trace-file { cursor: pointer; padding: 0.2em; } .trace-file:hover { background: #f0ffff; } /*]]>*/ </style> </head> <body> <div class="container"> <h1>PHP notice</h1> <p class="message"> Undefined property: TemplateConfiguration::$options </p> <div class="source"> <p class="file">/mnt/data/shnoulle/nginx/www/master/application/models/TemplateConfiguration.php(1245)</p> <div class="code"><pre><span class="ln">1233</span> * @param string $name the name of the attribute <span class="ln">1234</span> * @return mixed <span class="ln">1235</span> */ <span class="ln">1236</span> public function __get($name) <span class="ln">1237</span> { <span class="ln">1238</span> $aAttributesThatCanBeInherited = array('files_css', 'files_js', 'options', 'cssframework_name', 'cssframework_css', 'cssframework_js', 'packages_to_load'); <span class="ln">1239</span> <span class="ln">1240</span> if (in_array($name, $aAttributesThatCanBeInherited) && $this->bUseMagicInherit) { <span class="ln">1241</span> // Full inheritance of the whole field <span class="ln">1242</span> $sAttribute = parent::__get($name); <span class="ln">1243</span> if ($sAttribute === 'inherit') { <span class="ln">1244</span> // NOTE: this is object recursive (if parent configuration field is set to inherit, then it will lead to this method again.) <span class="error"><span class="ln error-ln">1245</span> $sAttribute = $this->getParentConfiguration()->$name; </span><span class="ln">1246</span> } <span class="ln">1247</span> } else { <span class="ln">1248</span> $sAttribute = parent::__get($name); <span class="ln">1249</span> } <span class="ln">1250</span> <span class="ln">1251</span> return $sAttribute; <span class="ln">1252</span> } <span class="ln">1253</span> <span class="ln">1254</span> /** <span class="ln">1255</span> * @return string <span class="ln">1256</span> */ <span class="ln">1257</span> public function getTemplateAndMotherNames() </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(1245): <strong>TemplateConfiguration</strong>-><strong>__get</strong>("options") </div> <div class="code"><pre><span class="ln">1240</span> if (in_array($name, $aAttributesThatCanBeInherited) && $this->bUseMagicInherit) { <span class="ln">1241</span> // Full inheritance of the whole field <span class="ln">1242</span> $sAttribute = parent::__get($name); <span class="ln">1243</span> if ($sAttribute === 'inherit') { <span class="ln">1244</span> // NOTE: this is object recursive (if parent configuration field is set to inherit, then it will lead to this method again.) <span class="error"><span class="ln error-ln">1245</span> $sAttribute = $this->getParentConfiguration()->$name; </span><span class="ln">1246</span> } <span class="ln">1247</span> } else { <span class="ln">1248</span> $sAttribute = parent::__get($name); <span class="ln">1249</span> } <span class="ln">1250</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(1062): <strong>TemplateConfiguration</strong>-><strong>__get</strong>("options") </div> <div class="code"><pre><span class="ln">1057</span> } <span class="ln">1058</span> <span class="ln">1059</span> protected function setOptions() <span class="ln">1060</span> { <span class="ln">1061</span> $this->oOptions = array(); <span class="error"><span class="ln error-ln">1062</span> if (!empty($this->options)) { </span><span class="ln">1063</span> $this->oOptions = json_decode($this->options); <span class="ln">1064</span> } <span class="ln">1065</span> <span class="ln">1066</span> $this->setOptionInheritance(); <span class="ln">1067</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/models/TemplateConfiguration.php(1027): <strong>TemplateConfiguration</strong>-><strong>setOptions</strong>() </div> <div class="code"><pre><span class="ln">1022</span> $this->apiVersion = (!empty($this->template->api_version)) ? $this->template->api_version : null; // Mandtory setting in config XML <span class="ln">1023</span> $this->viewPath = $this->path.$this->getTemplateForPath($this, 'view_folder')->template->view_folder.DIRECTORY_SEPARATOR; <span class="ln">1024</span> $this->filesPath = $this->path.$this->getTemplateForPath($this, 'files_folder')->template->files_folder.DIRECTORY_SEPARATOR; <span class="ln">1025</span> $this->generalFilesPath = Yii::app()->getConfig("userthemerootdir").DIRECTORY_SEPARATOR.'generalfiles'.DIRECTORY_SEPARATOR; <span class="ln">1026</span> // Options are optional <span class="error"><span class="ln error-ln">1027</span> $this->setOptions(); </span><span class="ln">1028</span> <span class="ln">1029</span> // Not mandatory (use package dependances) <span class="ln">1030</span> $this->setCssFramework(); <span class="ln">1031</span> $this->packages = $this->getDependsPackages($this); <span class="ln">1032</span> if (!empty($this->packages_to_load)) { </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/models/TemplateConfig.php(154): <strong>TemplateConfiguration</strong>-><strong>setThisTemplate</strong>() </div> <div class="code"><pre><span class="ln">149</span> } <span class="ln">150</span> <span class="ln">151</span> <span class="ln">152</span> $this->setBasics($sTemplateName, $iSurveyId, $bUseMagicInherit); <span class="ln">153</span> $this->setMotherTemplates(); // Recursive mother templates configuration <span class="error"><span class="ln error-ln">154</span> $this->setThisTemplate(); // Set the main config values of this template </span><span class="ln">155</span> $this->createTemplatePackage($this); // Create an asset package ready to be loaded <span class="ln">156</span> $this->removeFiles(); <span class="ln">157</span> $this->getshowpopups(); <span class="ln">158</span> <span class="ln">159</span> if (!empty ($sTemplateName) && !empty ($iSurveyId) ){ </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/models/Template.php(505): <strong>TemplateConfig</strong>-><strong>prepareTemplateRendering</strong>("fruity", 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)) { <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> <span class="ln">509</span> return self::$instance; <span class="ln">510</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/helpers/replacements_helper.php(120): <strong>Template</strong>::<strong>getInstance</strong>("fruity") </div> <div class="code"><pre><span class="ln">115</span> * oTemplate is defined in controller/survey/index <span class="ln">116</span> * <span class="ln">117</span> * If templatereplace is called from the template editor, a $oTemplate is provided. <span class="ln">118</span> */ <span class="ln">119</span> if ($oTemplate === '') { <span class="error"><span class="ln error-ln">120</span> $oTemplate = Template::model()->getInstance($templatename); </span><span class="ln">121</span> } <span class="ln">122</span> <span class="ln">123</span> // surveyformat <span class="ln">124</span> if (isset($thissurvey['format'])) { <span class="ln">125</span> $surveyformat = str_replace(array("A", "S", "G"), array("allinone", "questionbyquestion", "groupbygroup"), $thissurvey['format']); </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/helpers/expressions/em_manager_helper.php(3662): <strong>templatereplace</strong>("{SID}") </div> <div class="code"><pre><span class="ln">3657</span> 'jsName_on'=>'', <span class="ln">3658</span> 'jsName'=>'', <span class="ln">3659</span> 'readWrite'=>'N', <span class="ln">3660</span> ); <span class="ln">3661</span> /* Add the core replacement before question code : needed if use it in equation , use SID to never send error */ <span class="error"><span class="ln error-ln">3662</span> templatereplace("{SID}"); </span><span class="ln">3663</span> <span class="ln">3664</span> // Since building array of allowable answers, need to know preset values for certain question types <span class="ln">3665</span> $presets = array(); <span class="ln">3666</span> $presets['G'] = array( //GENDER drop-down list <span class="ln">3667</span> 'M' => $this->gT("Male"), </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/helpers/expressions/em_manager_helper.php(5000): <strong>LimeExpressionManager</strong>-><strong>setVariableAndTokenMappingsForExpressionManager</strong>("599119", true, "N") </div> <div class="code"><pre><span class="ln">4995</span> $LEM->allOnOnePage=false; <span class="ln">4996</span> $LEM->surveyMode = 'group'; <span class="ln">4997</span> break; <span class="ln">4998</span> } <span class="ln">4999</span> <span class="error"><span class="ln error-ln">5000</span> $LEM->setVariableAndTokenMappingsForExpressionManager($surveyid,$forceRefresh,$LEM->surveyOptions['anonymized']); </span><span class="ln">5001</span> $LEM->currentGroupSeq=-1; <span class="ln">5002</span> $LEM->currentQuestionSeq=-1; // for question-by-question mode <span class="ln">5003</span> $LEM->indexGseq=array(); <span class="ln">5004</span> $LEM->indexQseq=array(); <span class="ln">5005</span> $LEM->qrootVarName2arrayFilter=array(); </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/controllers/admin/surveyadmin.php(1378): <strong>LimeExpressionManager</strong>::<strong>StartSurvey</strong>("599119", "survey", array("htmlemail" => "N", "format" => "S", "template" => "fruity", "language" => "it", ...), true) </div> <div class="code"><pre><span class="ln">1373</span> LimeExpressionManager::singleton(); <span class="ln">1374</span> // Why this @ ! <span class="ln">1375</span> LimeExpressionManager::SetSurveyId($aImportResults['newsid']); <span class="ln">1376</span> LimeExpressionManager::RevertUpgradeConditionsToRelevance($aImportResults['newsid']); <span class="ln">1377</span> LimeExpressionManager::UpgradeConditionsToRelevance($aImportResults['newsid']); <span class="error"><span class="ln error-ln">1378</span> LimeExpressionManager::StartSurvey($oSurvey->sid, 'survey', $oSurvey->attributes, true); </span><span class="ln">1379</span> LimeExpressionManager::StartProcessingPage(true, true); <span class="ln">1380</span> $aGrouplist = QuestionGroup::model()->findAllByAttributes(['sid'=>$aImportResults['newsid']]); <span class="ln">1381</span> foreach ($aGrouplist as $aGroup) { <span class="ln">1382</span> LimeExpressionManager::StartProcessingGroup($aGroup['gid'], $oSurvey->anonymized != 'Y', $aImportResults['newsid']); <span class="ln">1383</span> LimeExpressionManager::FinishProcessingGroup(); </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #9 </td> <td class="content"> <div class="trace-file"> unknown(0): <strong>SurveyAdmin</strong>-><strong>copy</strong>() </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/actions/CAction.php(109): <strong>ReflectionMethod</strong>-><strong>invokeArgs</strong>(SurveyAdmin, 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"> #11 </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(83): <strong>CAction</strong>-><strong>runWithParamsInternal</strong>(SurveyAdmin, ReflectionMethod, array("r" => "admin/survey/sa/copy", "sa" => "copy")) </div> <div class="code"><pre><span class="ln">78</span> $oMethod = new ReflectionMethod($this, $sDefault); <span class="ln">79</span> } <span class="ln">80</span> <span class="ln">81</span> // We're all good to go, let's execute it <span class="ln">82</span> // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params <span class="error"><span class="ln error-ln">83</span> return parent::runWithParamsInternal($this, $oMethod, $params); </span><span class="ln">84</span> } <span class="ln">85</span> <span class="ln">86</span> /** <span class="ln">87</span> * Some functions have different parameters, which are just an alias of the <span class="ln">88</span> * usual parameters we're getting in the url. This function just populates </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(308): <strong>Survey_Common_Action</strong>-><strong>runWithParams</strong>(array("r" => "admin/survey/sa/copy", "sa" => "copy")) </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"> #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/CController.php(286): <strong>CController</strong>-><strong>runAction</strong>(SurveyAdmin) </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"> #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/CController.php(265): <strong>CController</strong>-><strong>runActionWithFilters</strong>(SurveyAdmin, 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"> #15 </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(158): <strong>CController</strong>-><strong>run</strong>("survey") </div> <div class="code"><pre><span class="ln">153</span> $this->redirect(array('/admin/authentication/sa/login')); <span class="ln">154</span> } <span class="ln">155</span> } <span class="ln">156</span> } <span class="ln">157</span> <span class="error"><span class="ln error-ln">158</span> return parent::run($action); </span><span class="ln">159</span> } <span class="ln">160</span> <span class="ln">161</span> /** <span class="ln">162</span> * Routes all the actions to their respective places <span class="ln">163</span> * </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #16 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(282): <strong>AdminController</strong>-><strong>run</strong>("survey") </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"> #17 </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/survey/sa/copy") </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"> #18 </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"> #19 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/index.php(194): <strong>CApplication</strong>-><strong>run</strong>() </div> <div class="code"><pre><span class="ln">189</span> require_once APPPATH . 'core/LSYii_Application' . EXT; <span class="ln">190</span> <span class="ln">191</span> $config = require_once(APPPATH . 'config/internal' . EXT); <span class="ln">192</span> <span class="ln">193</span> Yii::$enableIncludePath = false; <span class="error"><span class="ln error-ln">194</span> Yii::createApplication('LSYii_Application', $config)->run(); </span><span class="ln">195</span> <span class="ln">196</span> /* End of file index.php */ <span class="ln">197</span> /* Location: ./index.php */ </pre></div> </td> </tr> </tbody></table> </div> <div class="version"> 2018-11-13 22:37:26 nginx/1.12.1 <a href="http://www.yiiframework.com/">Yii Framework</a>/1.1.19 </div> </div> <script type="text/javascript"> /*<![CDATA[*/ var traceReg = new RegExp("(^|\\s)trace-file(\\s|$)"); var collapsedReg = new RegExp("(^|\\s)collapsed(\\s|$)"); var e = document.getElementsByTagName("div"); for(var j=0,len=e.length;j<len;j++){ if(traceReg.test(e[j].className)){ e[j].onclick = function(){ var trace = this.parentNode.parentNode; if(collapsedReg.test(trace.className)) trace.className = trace.className.replace("collapsed", "expanded"); else trace.className = trace.className.replace("expanded", "collapsed"); } } } /*]]>*/ </script> </body></html> | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 3.15.4 github | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | ff | ||||
Database type & version | mariadb | ||||
Server OS (if known) | fedora/linux | ||||
Webserver software & version (if known) | nginx | ||||
PHP Version | php7.2 | ||||
related to | 14208 | new | Feature requests | A way to update "parent template" |
I put the related since base code to update parent must be same |
|
OK, broke with lss from 2.73 and lesser : <template>default</template> … |
|
but after i have this same notice I don't undestand : if there are no survey template config for an existing template : we don't get the default one ? Attach a 2.73 survey here |
|
Argl …
receive Undefined property: TemplateConfiguration::$cssframework_css PHP notice-2.html (30,962 bytes)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>PHP notice</title> <style type="text/css"> /*<![CDATA[*/ html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;} body{line-height:1;} ol,ul{list-style:none;} blockquote,q{quotes:none;} blockquote:before,blockquote:after,q:before,q:after{content:none;} :focus{outline:0;} ins{text-decoration:none;} del{text-decoration:line-through;} table{border-collapse:collapse;border-spacing:0;} body { font: normal 9pt "Verdana"; color: #000; background: #fff; } h1 { font: normal 18pt "Verdana"; color: #f00; margin-bottom: .5em; } h2 { font: normal 14pt "Verdana"; color: #800000; margin-bottom: .5em; } h3 { font: bold 11pt "Verdana"; } pre { font: normal 11pt Menlo, Consolas, "Lucida Console", Monospace; } pre span.error { display: block; background: #fce3e3; } pre span.ln { color: #999; padding-right: 0.5em; border-right: 1px solid #ccc; } pre span.error-ln { font-weight: bold; } .container { margin: 1em 4em; } .version { color: gray; font-size: 8pt; border-top: 1px solid #aaa; padding-top: 1em; margin-bottom: 1em; } .message { color: #000; padding: 1em; font-size: 11pt; background: #f3f3f3; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; margin-bottom: 1em; line-height: 160%; } .source { margin-bottom: 1em; } .code pre { background-color: #ffe; margin: 0.5em 0; padding: 0.5em; line-height: 125%; border: 1px solid #eee; } .source .file { margin-bottom: 1em; font-weight: bold; } .traces { margin: 2em 0; } .trace { margin: 0.5em 0; padding: 0.5em; } .trace.app { border: 1px dashed #c00; } .trace .number { text-align: right; width: 2em; padding: 0.5em; } .trace .content { padding: 0.5em; } .trace .plus, .trace .minus { display:inline; vertical-align:middle; text-align:center; border:1px solid #000; color:#000; font-size:10px; line-height:10px; margin:0; padding:0 1px; width:10px; height:10px; } .trace.collapsed .minus, .trace.expanded .plus, .trace.collapsed pre { display: none; } .trace-file { cursor: pointer; padding: 0.2em; } .trace-file:hover { background: #f0ffff; } /*]]>*/ </style> </head> <body> <div class="container"> <h1>PHP notice</h1> <p class="message"> Undefined property: TemplateConfiguration::$cssframework_css </p> <div class="source"> <p class="file">/mnt/data/shnoulle/nginx/www/master/application/models/TemplateConfiguration.php(1249)</p> <div class="code"><pre><span class="ln">1237</span> { <span class="ln">1238</span> $aAttributesThatCanBeInherited = array('files_css', 'files_js', 'options', 'cssframework_name', 'cssframework_css', 'cssframework_js', 'packages_to_load'); <span class="ln">1239</span> <span class="ln">1240</span> if (in_array($name, $aAttributesThatCanBeInherited) && $this->bUseMagicInherit) { <span class="ln">1241</span> // Full inheritance of the whole field <span class="ln">1242</span> $sAttribute = parent::__get($name); <span class="ln">1243</span> if ($sAttribute === 'inherit') { <span class="ln">1244</span> // NOTE: this is object recursive (if parent configuration field is set to inherit, then it will lead to this method again.) <span class="ln">1245</span> if(!isset($this->getParentConfiguration()->$name)) { <span class="ln">1246</span> // recursive but no parent, return null. Mantis issue #14250 (quick fix) <span class="ln">1247</span> return null; <span class="ln">1248</span> } <span class="error"><span class="ln error-ln">1249</span> $sAttribute = $this->getParentConfiguration()->$name; </span><span class="ln">1250</span> } <span class="ln">1251</span> } else { <span class="ln">1252</span> $sAttribute = parent::__get($name); <span class="ln">1253</span> } <span class="ln">1254</span> <span class="ln">1255</span> return $sAttribute; <span class="ln">1256</span> } <span class="ln">1257</span> <span class="ln">1258</span> /** <span class="ln">1259</span> * @return string <span class="ln">1260</span> */ <span class="ln">1261</span> public function getTemplateAndMotherNames() </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(1249): <strong>TemplateConfiguration</strong>-><strong>__get</strong>("cssframework_css") </div> <div class="code"><pre><span class="ln">1244</span> // NOTE: this is object recursive (if parent configuration field is set to inherit, then it will lead to this method again.) <span class="ln">1245</span> if(!isset($this->getParentConfiguration()->$name)) { <span class="ln">1246</span> // recursive but no parent, return null. Mantis issue #14250 (quick fix) <span class="ln">1247</span> return null; <span class="ln">1248</span> } <span class="error"><span class="ln error-ln">1249</span> $sAttribute = $this->getParentConfiguration()->$name; </span><span class="ln">1250</span> } <span class="ln">1251</span> } else { <span class="ln">1252</span> $sAttribute = parent::__get($name); <span class="ln">1253</span> } <span class="ln">1254</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(1128): <strong>TemplateConfiguration</strong>-><strong>__get</strong>("cssframework_css") </div> <div class="code"><pre><span class="ln">1123</span> } <span class="ln">1124</span> <span class="ln">1125</span> $this->aFrameworkAssetsToReplace[$sType] = array(); <span class="ln">1126</span> <span class="ln">1127</span> $sFieldName = 'cssframework_'.$sType; <span class="error"><span class="ln error-ln">1128</span> $aFieldValue = (array) json_decode($this->$sFieldName); </span><span class="ln">1129</span> <span class="ln">1130</span> if (!empty($aFieldValue) && !empty($aFieldValue['replace'])) { <span class="ln">1131</span> $this->aFrameworkAssetsToReplace[$sType] = (array) $aFieldValue['replace']; <span class="ln">1132</span> <span class="ln">1133</span> // Inner field inheritance </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/models/TemplateConfiguration.php(1164): <strong>TemplateConfiguration</strong>-><strong>getFrameworkAssetsToReplace</strong>("css") </div> <div class="code"><pre><span class="ln">1159</span> if (empty($this->aReplacements)) { <span class="ln">1160</span> $this->aReplacements = array(); <span class="ln">1161</span> } <span class="ln">1162</span> $this->aReplacements[$sType] = array(); <span class="ln">1163</span> <span class="error"><span class="ln error-ln">1164</span> $aFrameworkAssetsToReplace = $this->getFrameworkAssetsToReplace($sType); </span><span class="ln">1165</span> <span class="ln">1166</span> foreach ($aFrameworkAssetsToReplace as $key => $aAsset) { <span class="ln">1167</span> $aReplace = $aAsset[1]; <span class="ln">1168</span> $this->aReplacements[$sType][] = $aReplace; <span class="ln">1169</span> } </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/models/TemplateConfig.php(256): <strong>TemplateConfiguration</strong>-><strong>getFrameworkAssetsReplacement</strong>("css") </div> <div class="code"><pre><span class="ln">251</span> <span class="ln">252</span> Yii::setPathOfAlias($sPathName, $oTemplate->path); <span class="ln">253</span> Yii::setPathOfAlias($sViewName, $oTemplate->viewPath); <span class="ln">254</span> <span class="ln">255</span> // First we add the framework replacement (bootstrap.css must be loaded before template.css) <span class="error"><span class="ln error-ln">256</span> $aCssFiles = $this->getFrameworkAssetsReplacement('css'); </span><span class="ln">257</span> $aJsFiles = $this->getFrameworkAssetsReplacement('js'); <span class="ln">258</span> <span class="ln">259</span> // This variable will be used to add the variation name to the body class via $aClassAndAttributes['class']['body'] <span class="ln">260</span> $this->aCssFrameworkReplacement = $aCssFiles; <span class="ln">261</span> </pre></div> </td> </tr> <tr class="trace app collapsed"> <td class="number"> #4 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/application/models/TemplateConfig.php(155): <strong>TemplateConfig</strong>-><strong>createTemplatePackage</strong>(TemplateConfiguration) </div> <div class="code"><pre><span class="ln">150</span> <span class="ln">151</span> <span class="ln">152</span> $this->setBasics($sTemplateName, $iSurveyId, $bUseMagicInherit); <span class="ln">153</span> $this->setMotherTemplates(); // Recursive mother templates configuration <span class="ln">154</span> $this->setThisTemplate(); // Set the main config values of this template <span class="error"><span class="ln error-ln">155</span> $this->createTemplatePackage($this); // Create an asset package ready to be loaded </span><span class="ln">156</span> $this->removeFiles(); <span class="ln">157</span> $this->getshowpopups(); <span class="ln">158</span> <span class="ln">159</span> if (!empty ($sTemplateName) && !empty ($iSurveyId) ){ <span class="ln">160</span> self::$aPreparedToRender[$sTemplateName][$iSurveyId][$bUseMagicInherit] = $this; </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/Template.php(505): <strong>TemplateConfig</strong>-><strong>prepareTemplateRendering</strong>("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)) { <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> <span class="ln">509</span> return self::$instance; <span class="ln">510</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/helpers/replacements_helper.php(120): <strong>Template</strong>::<strong>getInstance</strong>("vanilla") </div> <div class="code"><pre><span class="ln">115</span> * oTemplate is defined in controller/survey/index <span class="ln">116</span> * <span class="ln">117</span> * If templatereplace is called from the template editor, a $oTemplate is provided. <span class="ln">118</span> */ <span class="ln">119</span> if ($oTemplate === '') { <span class="error"><span class="ln error-ln">120</span> $oTemplate = Template::model()->getInstance($templatename); </span><span class="ln">121</span> } <span class="ln">122</span> <span class="ln">123</span> // surveyformat <span class="ln">124</span> if (isset($thissurvey['format'])) { <span class="ln">125</span> $surveyformat = str_replace(array("A", "S", "G"), array("allinone", "questionbyquestion", "groupbygroup"), $thissurvey['format']); </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/helpers/expressions/em_manager_helper.php(3662): <strong>templatereplace</strong>("{SID}") </div> <div class="code"><pre><span class="ln">3657</span> 'jsName_on'=>'', <span class="ln">3658</span> 'jsName'=>'', <span class="ln">3659</span> 'readWrite'=>'N', <span class="ln">3660</span> ); <span class="ln">3661</span> /* Add the core replacement before question code : needed if use it in equation , use SID to never send error */ <span class="error"><span class="ln error-ln">3662</span> templatereplace("{SID}"); </span><span class="ln">3663</span> <span class="ln">3664</span> // Since building array of allowable answers, need to know preset values for certain question types <span class="ln">3665</span> $presets = array(); <span class="ln">3666</span> $presets['G'] = array( //GENDER drop-down list <span class="ln">3667</span> 'M' => $this->gT("Male"), </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/helpers/expressions/em_manager_helper.php(5000): <strong>LimeExpressionManager</strong>-><strong>setVariableAndTokenMappingsForExpressionManager</strong>("847323", true, "N") </div> <div class="code"><pre><span class="ln">4995</span> $LEM->allOnOnePage=false; <span class="ln">4996</span> $LEM->surveyMode = 'group'; <span class="ln">4997</span> break; <span class="ln">4998</span> } <span class="ln">4999</span> <span class="error"><span class="ln error-ln">5000</span> $LEM->setVariableAndTokenMappingsForExpressionManager($surveyid,$forceRefresh,$LEM->surveyOptions['anonymized']); </span><span class="ln">5001</span> $LEM->currentGroupSeq=-1; <span class="ln">5002</span> $LEM->currentQuestionSeq=-1; // for question-by-question mode <span class="ln">5003</span> $LEM->indexGseq=array(); <span class="ln">5004</span> $LEM->indexQseq=array(); <span class="ln">5005</span> $LEM->qrootVarName2arrayFilter=array(); </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/controllers/admin/surveyadmin.php(1399): <strong>LimeExpressionManager</strong>::<strong>StartSurvey</strong>("847323", "survey", array("htmlemail" => "Y", "format" => "S", "template" => "vanilla", "language" => "en", ...), true) </div> <div class="code"><pre><span class="ln">1394</span> LimeExpressionManager::singleton(); <span class="ln">1395</span> // Why this @ ! <span class="ln">1396</span> LimeExpressionManager::SetSurveyId($aImportResults['newsid']); <span class="ln">1397</span> LimeExpressionManager::RevertUpgradeConditionsToRelevance($aImportResults['newsid']); <span class="ln">1398</span> LimeExpressionManager::UpgradeConditionsToRelevance($aImportResults['newsid']); <span class="error"><span class="ln error-ln">1399</span> LimeExpressionManager::StartSurvey($oSurvey->sid, 'survey', $oSurvey->attributes, true); </span><span class="ln">1400</span> LimeExpressionManager::StartProcessingPage(true, true); <span class="ln">1401</span> $aGrouplist = QuestionGroup::model()->findAllByAttributes(['sid'=>$aImportResults['newsid']]); <span class="ln">1402</span> foreach ($aGrouplist as $aGroup) { <span class="ln">1403</span> LimeExpressionManager::StartProcessingGroup($aGroup['gid'], $oSurvey->anonymized != 'Y', $aImportResults['newsid']); <span class="ln">1404</span> LimeExpressionManager::FinishProcessingGroup(); </pre></div> </td> </tr> <tr class="trace core collapsed"> <td class="number"> #10 </td> <td class="content"> <div class="trace-file"> unknown(0): <strong>SurveyAdmin</strong>-><strong>copy</strong>() </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/actions/CAction.php(109): <strong>ReflectionMethod</strong>-><strong>invokeArgs</strong>(SurveyAdmin, 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"> #12 </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(83): <strong>CAction</strong>-><strong>runWithParamsInternal</strong>(SurveyAdmin, ReflectionMethod, array("r" => "admin/survey/sa/copy", "sa" => "copy")) </div> <div class="code"><pre><span class="ln">78</span> $oMethod = new ReflectionMethod($this, $sDefault); <span class="ln">79</span> } <span class="ln">80</span> <span class="ln">81</span> // We're all good to go, let's execute it <span class="ln">82</span> // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params <span class="error"><span class="ln error-ln">83</span> return parent::runWithParamsInternal($this, $oMethod, $params); </span><span class="ln">84</span> } <span class="ln">85</span> <span class="ln">86</span> /** <span class="ln">87</span> * Some functions have different parameters, which are just an alias of the <span class="ln">88</span> * usual parameters we're getting in the url. This function just populates </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/CController.php(308): <strong>Survey_Common_Action</strong>-><strong>runWithParams</strong>(array("r" => "admin/survey/sa/copy", "sa" => "copy")) </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"> #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/CController.php(286): <strong>CController</strong>-><strong>runAction</strong>(SurveyAdmin) </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"> #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/CController.php(265): <strong>CController</strong>-><strong>runActionWithFilters</strong>(SurveyAdmin, 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"> #16 </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(158): <strong>CController</strong>-><strong>run</strong>("survey") </div> <div class="code"><pre><span class="ln">153</span> $this->redirect(array('/admin/authentication/sa/login')); <span class="ln">154</span> } <span class="ln">155</span> } <span class="ln">156</span> } <span class="ln">157</span> <span class="error"><span class="ln error-ln">158</span> return parent::run($action); </span><span class="ln">159</span> } <span class="ln">160</span> <span class="ln">161</span> /** <span class="ln">162</span> * Routes all the actions to their respective places <span class="ln">163</span> * </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/web/CWebApplication.php(282): <strong>AdminController</strong>-><strong>run</strong>("survey") </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"> #18 </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/survey/sa/copy") </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"> #19 </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"> #20 </td> <td class="content"> <div class="trace-file"> <div class="plus">+</div> <div class="minus">–</div> /mnt/data/shnoulle/nginx/www/master/index.php(194): <strong>CApplication</strong>-><strong>run</strong>() </div> <div class="code"><pre><span class="ln">189</span> require_once APPPATH . 'core/LSYii_Application' . EXT; <span class="ln">190</span> <span class="ln">191</span> $config = require_once(APPPATH . 'config/internal' . EXT); <span class="ln">192</span> <span class="ln">193</span> Yii::$enableIncludePath = false; <span class="error"><span class="ln error-ln">194</span> Yii::createApplication('LSYii_Application', $config)->run(); </span><span class="ln">195</span> <span class="ln">196</span> /* End of file index.php */ <span class="ln">197</span> /* Location: ./index.php */ </pre></div> </td> </tr> </tbody></table> </div> <div class="version"> 2018-11-21 13:38:06 nginx/1.12.1 <a href="http://www.yiiframework.com/">Yii Framework</a>/1.1.19 </div> </div> <script type="text/javascript"> /*<![CDATA[*/ var traceReg = new RegExp("(^|\\s)trace-file(\\s|$)"); var collapsedReg = new RegExp("(^|\\s)collapsed(\\s|$)"); var e = document.getElementsByTagName("div"); for(var j=0,len=e.length;j<len;j++){ if(traceReg.test(e[j].className)){ e[j].onclick = function(){ var trace = this.parentNode.parentNode; if(collapsedReg.test(trace.className)) trace.className = trace.className.replace("collapsed", "expanded"); else trace.className = trace.className.replace("expanded", "collapsed"); } } } /*]]>*/ </script> </body></html> |
|
Please update to the latest version and check if the bug can still be reproduced. Thank you. |
|
SEEM FIXED |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2018-11-13 23:40 | DenisChenu | New Issue | |
2018-11-13 23:40 | DenisChenu | File Added: limesurvey_survey_746393.lss | |
2018-11-13 23:42 | DenisChenu | File Added: PHP notice.html | |
2018-11-13 23:43 | DenisChenu | Relationship added | related to 14208 |
2018-11-13 23:43 | DenisChenu | Note Added: 49640 | |
2018-11-13 23:43 | DenisChenu | Note Edited: 49640 | |
2018-11-14 08:28 | DenisChenu | Note Added: 49645 | |
2018-11-14 08:50 | DenisChenu | Assigned To | => LouisGac |
2018-11-14 08:50 | DenisChenu | Status | new => assigned |
2018-11-14 08:57 | DenisChenu | File Added: Modele_de_Quotas_Sans_URL_Fin_limesurvey_survey_627969.lss | |
2018-11-14 08:57 | DenisChenu | Note Added: 49646 | |
2018-11-21 14:39 | DenisChenu | File Added: PHP notice-2.html | |
2018-11-21 14:39 | DenisChenu | Note Added: 49714 | |
2021-03-10 22:36 | ollehar | Assigned To | LouisGac => |
2021-03-10 22:36 | ollehar | Status | assigned => feedback |
2021-03-10 22:36 | ollehar | Note Added: 63201 | |
2021-03-11 07:50 | DenisChenu | Status | feedback => closed |
2021-03-11 07:50 | DenisChenu | Resolution | open => fixed |
2021-03-11 07:50 | DenisChenu | Note Added: 63259 |