/mnt/data/shnoulle/nginx/www/master/application/core/LSETwigViewRenderer.php(685)
673 674 675 // NB: Session is flushed at submit, so sid is not defined here. 676 if (isset($_SESSION['survey_'.$aDatas['aSurveyInfo']['sid']]) && 677 isset($_SESSION['survey_'.$aDatas['aSurveyInfo']['sid']]['totalquestions'])) { 678 $aDatas["aSurveyInfo"]['iTotalquestions'] = $_SESSION['survey_'. 679 $aDatas['aSurveyInfo']['sid']]['totalquestions']; 680 } 681 682 // Add the survey theme options 683 if ($oTemplate->oOptions) { 684 foreach ($oTemplate->oOptions as $key => $value) { 685 $aDatas["aSurveyInfo"]["options"][$key] = (string) $value; 686 } 687 } 688 } else { 689 // Add the global theme options 690 $oTemplateConfigurationCurrent = Template::getInstance($oTemplate->sTemplateName); 691 $aDatas["aSurveyInfo"]["options"] = isJson($oTemplateConfigurationCurrent['options']) 692 ? (array) json_decode($oTemplateConfigurationCurrent['options']) 693 : $oTemplateConfigurationCurrent['options']; 694 } 695 696 $aDatas = $this->fixDataCoherence($aDatas); 697
#0 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/core/LSETwigViewRenderer.php(488): LSETwigViewRenderer->getAdditionalInfos(array("aSurveyInfo"
=> array("htmlemail" => "Y", "format" => "G",
"tokenencryptionoptions" => "", "template" => "copie_vanilla",
...)), TemplateConfiguration) 483 $this->_twig = $twig = parent::getTwig(); 484 485 //Run theme related things only if a theme is provided! 486 if ($oTemplate !== null) { 487 // Get the additional infos for the view, such as language, direction, etc 488 $aDatas = $this->getAdditionalInfos($aDatas, $oTemplate); 489 490 // Add to the loader the path of the template and its parents. 491 $this->addRecursiveTemplatesPath($oTemplate); 492 493 // Plugin for blocks replacement |
#1 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/core/LSETwigViewRenderer.php(53): LSETwigViewRenderer->convertTwigToHtml("{#
LimeSurvey
Copyright (C) 2007-2017 The LimeSurvey Pro...", array("aSurveyInfo"
=> array("htmlemail" => "Y", "format" => "G",
"tokenencryptionoptions" => "", "template" => "copie_vanilla",
...)), TemplateConfiguration) 48 { 49 $oTemplate = Template::getLastInstance(); 50 $oLayoutTemplate = $this->getTemplateForView($sLayout, $oTemplate); 51 if ($oLayoutTemplate) { 52 $line = file_get_contents($oLayoutTemplate->viewPath.$sLayout); 53 $sHtml = $this->convertTwigToHtml($line, $aDatas, $oTemplate); 54 $sEmHiddenInputs = LimeExpressionManager::FinishProcessPublicPage(true); 55 if ($sEmHiddenInputs) { 56 $sHtml = str_replace( 57 "<!-- emScriptsAndHiddenInputs -->", 58 "<!-- emScriptsAndHiddenInputs updated -->\n". |
#2 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/helpers/frontend_helper.php(1212): LSETwigViewRenderer->renderTemplateFromFile("layout_user_forms.twig",
array("aSurveyInfo" => array("htmlemail" => "Y", "format" =>
"G", "tokenencryptionoptions" => "", "template" =>
"copie_vanilla", ...)), false) 1207 1208 $aData['aSurveyInfo'] = $thissurvey; 1209 1210 $aData['aSurveyInfo'] = array_merge($aSurveyInfo, $aData['aSurveyInfo']); 1211 1212 Yii::app()->twigRenderer->renderTemplateFromFile("layout_user_forms.twig", $aData, false); 1213 break; 1214 1215 case "register": //Register new user 1216 // Add the event and test if done 1217 Yii::app()->runController("register/index/sid/{$surveyid}"); |
#3 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/helpers/SurveyRuntimeHelper.php(1666): renderRenderWayForm("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", ...), ...) 1661 1662 $aEnterTokenData['aEnterErrors'] = $aEnterErrors; 1663 $renderWay = getRenderWay($renderToken, $renderCaptcha); 1664 1665 /* This funtion end if an form need to be shown */ 1666 renderRenderWayForm($renderWay, $scenarios, $this->sTemplateViewPath, $aEnterTokenData, $this->iSurveyid, $this->aSurveyInfo); 1667 1668 } 1669 1670 1671 private function initTemplate() |
#4 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/helpers/SurveyRuntimeHelper.php(200): SurveyRuntimeHelper->showTokenOrCaptchaFormsIfNeeded() 195 extract($args); 196 197 /////////////////////////////////////////////////////////// 198 // 1: We check if token and/or captcha form shouls be shown 199 if (!isset($_SESSION[$this->LEMsessid]['step'])) { 200 $this->showTokenOrCaptchaFormsIfNeeded(); 201 } 202 if (!$this->previewgrp && !$this->previewquestion) { 203 $this->checkForDataSecurityAccepted(); 204 $this->initMove(); // main methods to init session, LEM, moves, errors, etc 205 if (EmCacheHelper::useCache()) { |
#5 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/survey/index.php(604): SurveyRuntimeHelper->run("593843",
array("surveyid" => "593843", "thissurvey" => array("htmlemail"
=> "Y", "format" => "G", "tokenencryptionoptions" => "",
"template" => "copie_vanilla", ...), "thisstep" => null,
"clienttoken" => "", ...)) 599 unset($redata); 600 $redata = compact(array_keys(get_defined_vars())); 601 Yii::import('application.helpers.SurveyRuntimeHelper'); 602 $tmp = new SurveyRuntimeHelper(); 603 // try { 604 $tmp->run($surveyid, $redata); 605 // } catch (WrongTemplateVersionException $ex) { 606 // echo $ex->getMessage(); 607 // } 608 } 609 |
#6 |
+
–
/mnt/data/shnoulle/nginx/www/master/application/controllers/survey/index.php(24): index->action() 19 public $oTemplate; 20 21 public function run() 22 { 23 useFirebug(); 24 $this->action(); 25 } 26 27 public function action() 28 { 29 global $surveyid; |
#7 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/actions/CAction.php(76): index->run() 71 { 72 $method=new ReflectionMethod($this, 'run'); 73 if($method->getNumberOfParameters()>0) 74 return $this->runWithParamsInternal($this, $method, $params); 75 76 $this->run(); 77 return true; 78 } 79 80 /** 81 * Executes a method of an object with the supplied named parameters. |
#8 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(308): CAction->runWithParams(array("newtest" => "Y", "sid" => "593843")) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#9 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(286): CController->runAction(index) 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#10 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CController.php(265): CController->runActionWithFilters(index, array()) 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#11 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(282): CController->run("index") 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#12 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/web/CWebApplication.php(141): CWebApplication->runController("survey/index/sid/593843") 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#13 |
+
–
/mnt/data/shnoulle/nginx/www/master/framework/base/CApplication.php(185): CWebApplication->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
#14 |
+
–
/mnt/data/shnoulle/nginx/www/master/index.php(182): CApplication->run() 177 require_once APPPATH . 'core/LSYii_Application' . EXT; 178 179 $config = require_once(APPPATH . 'config/internal' . EXT); 180 181 Yii::$enableIncludePath = false; 182 Yii::createApplication('LSYii_Application', $config)->run(); 183 184 /* End of file index.php */ 185 /* Location: ./index.php */ |
Application Log | ||||
---|---|---|---|---|
Timestamp | Level | Category | Message | |
07:08:26.950699 | trace | vardump | /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' ) |
|
07:08:26.952614 | trace | vardump | /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' ) ) ) ) ) ) |