/media/shnoulle/data/webdev/GITREPO/THEMES/skelvanilla_ls6/views/subviews/header/nav_bar.twig(98)
86 {{ include('./subviews/navigation/save_links.twig') }} 87 {{ include('./subviews/navigation/clearall_links.twig') }} 88 {{ include('./subviews/navigation/question_index_menu.twig') }} 89 {{ include('./subviews/navigation/language_changer_top_menu.twig') }} 90 </ul> 91 </div> 92 {% endif %} 93 </div> 94 </header> 95 {% endif %} 96 - {{ aSurveyInfo.aNavigator.load.show }} 97 - {{ aSurveyInfo.aNavigator.save.show }} 98 {{ dump(aSurveyInfo) }}
#0 |
+
–
/media/shnoulle/data/webdev/master/vendor/twig/twig/src/Extension/SandboxExtension.php(130): Twig\Sandbox\SecurityPolicy->checkMethodAllowed() 125 return $obj; 126 } 127 128 if ($this->isSandboxed($source) && \is_object($obj) && method_exists($obj, '__toString')) { 129 try { 130 $this->policy->checkMethodAllowed($obj, '__toString'); 131 } catch (SecurityNotAllowedMethodError $e) { 132 $e->setSourceContext($source); 133 $e->setTemplateLine($lineno); 134 135 throw $e; |
#1 |
+
–
/media/shnoulle/data/webdev/master/vendor/twig/twig/src/Extension/SandboxExtension.php(150): Twig\Extension\SandboxExtension->ensureToStringAllowed() 145 if (!$v) { 146 continue; 147 } 148 149 if (!\is_array($v)) { 150 $this->ensureToStringAllowed($v, $lineno, $source); 151 continue; 152 } 153 154 if (\PHP_VERSION_ID < 70400) { 155 static $cookie; |
#2 |
+
–
/media/shnoulle/data/webdev/master/vendor/twig/twig/src/Extension/SandboxExtension.php(179): Twig\Extension\SandboxExtension->ensureToStringAllowedForArray() 174 } 175 176 $stack[$r->getId()] = true; 177 } 178 179 $this->ensureToStringAllowedForArray($v, $lineno, $source, $stack); 180 } 181 } 182 } |
#3 |
+
–
/media/shnoulle/data/webdev/master/vendor/twig/twig/src/Extension/SandboxExtension.php(123): Twig\Extension\SandboxExtension->ensureToStringAllowedForArray() 118 } 119 120 public function ensureToStringAllowed($obj, int $lineno = -1, ?Source $source = null) 121 { 122 if (\is_array($obj)) { 123 $this->ensureToStringAllowedForArray($obj, $lineno, $source); 124 125 return $obj; 126 } 127 128 if ($this->isSandboxed($source) && \is_object($obj) && method_exists($obj, '__toString')) { |
#4 |
+
–
/media/shnoulle/data/webdev/master/tmp/runtime/twig_cache/44/44cccef532d83a4ac253c30b7176ab16.php(222): Twig\Extension\SandboxExtension->ensureToStringAllowed() 217 // line 97 218 yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "aNavigator", [], "any", false, false, true, 97), "save", [], "any", false, false, true, 97), "show", [], "any", false, false, true, 97), 97, $this->source); 219 yield " 220 "; 221 // line 98 222 yield Twig\Extension\DebugExtension::dump($this->env, $context, ...[$this->sandbox->ensureToStringAllowed(($context["aSurveyInfo"] ?? null), 98, $this->source)]); 223 yield " 224 "; 225 return; yield ''; 226 } 227 |
#5 |
+
–
/media/shnoulle/data/webdev/master/vendor/twig/twig/src/Template.php(360): __TwigTemplate_2746f8525c547a6d2fe4fd254727116c->doDisplay() 355 } 356 357 $level = ob_get_level(); 358 ob_start(); 359 360 foreach ($this->doDisplay($context, $blocks) as $data) { 361 if (ob_get_length()) { 362 $data = ob_get_clean().$data; 363 ob_start(); 364 } 365 |
#6 |
+
–
/media/shnoulle/data/webdev/master/vendor/twig/twig/src/Template.php(335): Twig\Template->yield() 330 } 331 332 public function render(array $context): string 333 { 334 $content = ''; 335 foreach ($this->yield($context) as $data) { 336 $content .= $data; 337 } 338 339 return $content; 340 } |
#7 |
+
–
/media/shnoulle/data/webdev/master/vendor/twig/twig/src/TemplateWrapper.php(38): Twig\Template->render() 33 $this->template = $template; 34 } 35 36 public function render(array $context = []): string 37 { 38 return $this->template->render($context); 39 } 40 41 public function display(array $context = []) 42 { 43 // using func_get_args() allows to not expose the blocks argument |
#8 |
+
–
/media/shnoulle/data/webdev/master/vendor/twig/twig/src/Extension/CoreExtension.php(1435): Twig\TemplateWrapper->render() 1430 1431 if ($isSandboxed && $loaded) { 1432 $loaded->unwrap()->checkSecurity(); 1433 } 1434 1435 return $loaded ? $loaded->render($variables) : ''; 1436 } finally { 1437 if ($isSandboxed && !$alreadySandboxed) { 1438 $sandbox->disableSandbox(); 1439 } 1440 } |
#9 |
+
–
/media/shnoulle/data/webdev/master/tmp/runtime/twig_cache/10/10c3967c6b6a85afc070929e0e201fbc.php(167): Twig\Extension\CoreExtension::include() 162 public function block_nav_bar($context, array $blocks = []) 163 { 164 $macros = $this->macros; 165 // line 21 166 yield " "; 167 yield Twig\Extension\CoreExtension::include($this->env, $context, "./subviews/header/nav_bar.twig"); 168 yield " 169 "; 170 return; yield ''; 171 } 172 |
#10 |
+
–
/media/shnoulle/data/webdev/master/vendor/twig/twig/src/Template.php(430): __TwigTemplate_943c3104ad1ec2a16017eb5a65ef5eee->block_nav_bar() 425 } 426 427 $level = ob_get_level(); 428 ob_start(); 429 430 foreach ($template->$block($context, $blocks) as $data) { 431 if (ob_get_length()) { 432 $data = ob_get_clean().$data; 433 ob_start(); 434 } 435 |
#11 |
+
–
/media/shnoulle/data/webdev/master/tmp/runtime/twig_cache/10/10c3967c6b6a85afc070929e0e201fbc.php(147): Twig\Template->yieldBlock() 142 $macros = $this->macros; 143 // line 19 144 yield " "; 145 // line 20 146 yield " "; 147 yield from $this->unwrap()->yieldBlock('nav_bar', $context, $blocks); 148 // line 23 149 yield " "; 150 yield from $this->unwrap()->yieldBlock('description', $context, $blocks); 151 // line 25 152 yield " <!-- Outer Frame Container --> |
#12 |
+
–
/media/shnoulle/data/webdev/master/vendor/twig/twig/src/Template.php(430): __TwigTemplate_943c3104ad1ec2a16017eb5a65ef5eee->block_body() 425 } 426 427 $level = ob_get_level(); 428 ob_start(); 429 430 foreach ($template->$block($context, $blocks) as $data) { 431 if (ob_get_length()) { 432 $data = ob_get_clean().$data; 433 ob_start(); 434 } 435 |
#13 |
+
–
/media/shnoulle/data/webdev/master/tmp/runtime/twig_cache/10/10c3967c6b6a85afc070929e0e201fbc.php(105): Twig\Template->yieldBlock() 100 // line 17 101 yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "id", [], "any", false, false, true, 17), "dynamicreload", [], "any", false, false, true, 17), 17, $this->source); 102 yield "\"> 103 "; 104 // line 18 105 yield from $this->unwrap()->yieldBlock('body', $context, $blocks); 106 // line 33 107 yield " </div> 108 "; 109 // line 34 110 yield from $this->unwrap()->yieldBlock('footer', $context, $blocks); |
#14 |
+
–
/media/shnoulle/data/webdev/master/vendor/twig/twig/src/Template.php(360): __TwigTemplate_943c3104ad1ec2a16017eb5a65ef5eee->doDisplay() 355 } 356 357 $level = ob_get_level(); 358 ob_start(); 359 360 foreach ($this->doDisplay($context, $blocks) as $data) { 361 if (ob_get_length()) { 362 $data = ob_get_clean().$data; 363 ob_start(); 364 } 365 |
#15 |
+
–
/media/shnoulle/data/webdev/master/vendor/twig/twig/src/Template.php(335): Twig\Template->yield() 330 } 331 332 public function render(array $context): string 333 { 334 $content = ''; 335 foreach ($this->yield($context) as $data) { 336 $content .= $data; 337 } 338 339 return $content; 340 } |
#16 |
+
–
/media/shnoulle/data/webdev/master/vendor/twig/twig/src/TemplateWrapper.php(38): Twig\Template->render() 33 $this->template = $template; 34 } 35 36 public function render(array $context = []): string 37 { 38 return $this->template->render($context); 39 } 40 41 public function display(array $context = []) 42 { 43 // using func_get_args() allows to not expose the blocks argument |
#17 |
+
–
/media/shnoulle/data/webdev/master/application/core/LSETwigViewRenderer.php(519): Twig\TemplateWrapper->render() 514 list($sString, $aData) = $this->getPluginsData($sString, $aData); 515 } 516 517 // Twig rendering 518 $oTwigTemplate = $twig->createTemplate($sString); 519 $sHtml = $oTwigTemplate->render($aData, false); 520 521 return $sHtml; 522 } 523 524 /** |
#18 |
+
–
/media/shnoulle/data/webdev/master/application/core/LSETwigViewRenderer.php(72): LSETwigViewRenderer->convertTwigToHtml() 67 { 68 $oTemplate = Template::getLastInstance(); 69 $oLayoutTemplate = $this->getTemplateForView($sLayout, $oTemplate); 70 if ($oLayoutTemplate) { 71 $line = file_get_contents($oLayoutTemplate->viewPath . $sLayout); 72 $sHtml = $this->convertTwigToHtml($line, $aData, $oTemplate); 73 $sEmHiddenInputs = LimeExpressionManager::FinishProcessPublicPage(true); 74 if ($sEmHiddenInputs) { 75 $sHtml = str_replace( 76 "<!-- emScriptsAndHiddenInputs -->", 77 "<!-- emScriptsAndHiddenInputs updated -->\n" . |
#19 |
+
–
/media/shnoulle/data/webdev/master/application/helpers/frontend_helper.php(1903): LSETwigViewRenderer->renderTemplateFromFile() 1898 $thissurvey['surveyUrl'] = Yii::app()->getController()->createUrl("survey/index", array("sid" => $surveyid)); // For form action (will remove newtest) 1899 $thissurvey['attr']['welcomecontainer'] = $thissurvey['attr']['surveyname'] = $thissurvey['attr']['description'] = $thissurvey['attr']['welcome'] = $thissurvey['attr']['questioncount'] = ''; 1900 1901 $thissurvey['include_content'] = 'firstpage'; 1902 1903 Yii::app()->twigRenderer->renderTemplateFromFile("layout_global.twig", array('oSurvey' => Survey::model()->findByPk($surveyid), 'aSurveyInfo' => $thissurvey), false); 1904 } 1905 1906 /** 1907 * killSurveySession : reset $_SESSION part for the survey 1908 * @param int $iSurveyID |
#20 |
+
–
/media/shnoulle/data/webdev/master/application/helpers/SurveyRuntimeHelper.php(1094): display_first_page() 1089 $this->aSurveyInfo['datasecurity_notice_label'] = Survey::replacePolicyLink($this->aSurveyInfo['datasecurity_notice_label'], $this->aSurveyInfo['sid']); 1090 } 1091 1092 if ($bDisplayFirstPage) { 1093 $_SESSION[$this->LEMsessid]['test'] = time(); 1094 display_first_page($this->thissurvey, $this->aSurveyInfo); 1095 Yii::app()->end(); // So we can still see debug messages 1096 } 1097 } 1098 1099 private function checkForDataSecurityAccepted() |
#21 |
+
–
/media/shnoulle/data/webdev/master/application/helpers/SurveyRuntimeHelper.php(213): SurveyRuntimeHelper->displayFirstPageIfNeeded() 208 $this->checkForDataSecurityAccepted(); // must be called after initMove to allow LEM to be initialized 209 if (EmCacheHelper::useCache()) { 210 $this->aSurveyInfo['emcache'] = true; 211 } 212 $this->checkQuotas(); // check quotas (then the process will stop here) 213 $this->displayFirstPageIfNeeded(); 214 $this->saveAllIfNeeded(); 215 $this->saveSubmitIfNeeded(); 216 // TODO: move somewhere else 217 $this->setNotAnsweredAndNotValidated(); 218 } else { |
#22 |
+
–
/media/shnoulle/data/webdev/master/application/controllers/survey/SurveyIndex.php(662): SurveyRuntimeHelper->run() 657 unset($redata); 658 $redata = compact(array_keys(get_defined_vars())); 659 Yii::import('application.helpers.SurveyRuntimeHelper'); 660 $tmp = new SurveyRuntimeHelper(); 661 // try { 662 $tmp->run($surveyid, $redata); 663 // } catch (WrongTemplateVersionException $ex) { 664 // echo $ex->getMessage(); 665 // } 666 } 667 |
#23 |
+
–
/media/shnoulle/data/webdev/master/application/controllers/survey/SurveyIndex.php(22): SurveyIndex->action() 17 public $oTemplate; 18 19 public function run() 20 { 21 useFirebug(); 22 $this->action(); 23 } 24 25 /** 26 * 27 * todo: this function is toooo long, to many things happening here. Should be refactored asap! |
#24 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/actions/CAction.php(76): SurveyIndex->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. |
#25 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CController.php(308): CAction->runWithParams() 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; |
#26 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CController.php(286): CController->runAction() 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(); |
#27 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters() 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); |
#28 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): CController->run() 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))); |
#29 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController() 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. |
#30 |
+
–
/media/shnoulle/data/webdev/master/vendor/yiisoft/yii/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 /** |
#31 |
+
–
/media/shnoulle/data/webdev/master/index.php(161): CApplication->run() 156 require_once APPPATH . 'core/LSYii_Application' . EXT; 157 158 $config = require_once(APPPATH . 'config/internal' . EXT); 159 160 Yii::$enableIncludePath = false; 161 Yii::createApplication('LSYii_Application', $config)->run(); 162 163 /* End of file index.php */ 164 /* Location: ./index.php */ |