/mnt/data/shnoulle/nginx/www/develop/application/third_party/Twig/Loader/Filesystem.php(247)
235 } 236 237 return $this->cache[$name] = $path.'/'.$shortname; 238 } 239 } 240 241 $this->errorCache[$name] = sprintf('Unable to find template "%s" (looked into: %s).', $name, implode(', ', $this->paths[$namespace])); 242 243 if (!$throw) { 244 return false; 245 } 246 247 throw new Twig_Error_Loader($this->errorCache[$name]); 248 } 249 250 protected function parseName($name, $default = self::MAIN_NAMESPACE) 251 { 252 if (isset($name[0]) && '@' == $name[0]) { 253 if (false === $pos = strpos($name, '/')) { 254 throw new Twig_Error_Loader(sprintf('Malformed namespaced template name "%s" (expecting "@namespace/template_name").', $name)); 255 } 256 257 $namespace = substr($name, 1, $pos - 1); 258 $shortname = substr($name, $pos + 1); 259
#0 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/third_party/Twig/Loader/Filesystem.php(159): Twig_Loader_Filesystem->findTemplate("/survey/questions/question_help/asterisk") 154 /** 155 * {@inheritdoc} 156 */ 157 public function getCacheKey($name) 158 { 159 $path = $this->findTemplate($name); 160 $len = strlen($this->rootPath); 161 if (0 === strncmp($this->rootPath, $path, $len)) { 162 return substr($path, $len); 163 } 164 |
#1 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/third_party/Twig/Environment.php(329): Twig_Loader_Filesystem->getCacheKey("/survey/questions/question_help/asterisk") 324 * 325 * @return string The template class name 326 */ 327 public function getTemplateClass($name, $index = null) 328 { 329 $key = $this->getLoader()->getCacheKey($name).$this->optionsHash; 330 331 return $this->templateClassPrefix.hash('sha256', $key).(null === $index ? '' : '_'.$index); 332 } 333 334 /** |
#2 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/third_party/Twig/Environment.php(418): Twig_Environment->getTemplateClass("/survey/questions/question_help/asterisk", null) 413 * 414 * @internal 415 */ 416 public function loadTemplate($name, $index = null) 417 { 418 $cls = $this->getTemplateClass($name, $index); 419 420 if (isset($this->loadedTemplates[$cls])) { 421 return $this->loadedTemplates[$cls]; 422 } 423 |
#3 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/core/LSETwigViewRenderer.php(686): Twig_Environment->loadTemplate("/survey/questions/question_help/asterisk") 681 public function renderPartial($twigView,$aData) 682 { 683 $oTemplate = Template::getLastInstance(); 684 $aData = $this->getAdditionalInfos($aData, $oTemplate); 685 $this->addRecursiveTemplatesPath($oTemplate); 686 return $this->_twig->loadTemplate($twigView)->render($aData); 687 } 688 689 /** 690 * Get the final source file for current context 691 * Currently used in theme editor |
#4 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/controllers/admin/themes.php(1084): LSETwigViewRenderer->renderPartial("/survey/questions/question_help/asterisk",
array("aSurveyInfo" => array("id" => array("welcomecontainer"
=> "welcome-container", "outerframe" => "outerframeContainer",
"mainrow" => "main-row", "maincol" => "main-col", ...), "class"
=> array("welcomecontainer" => "", "surveyname" => "
survey-name ", "description" => " survey-description ", "welcome"
=> " survey-welcome ", ...), "attr" => array("questioncounttext"
=> "", "outerframe" => "", "html" => "", "maincolformdivainput"
=> " type="password" id="token" name="token" value="" required ",
...), "metas" => " ", ...))) 1079 // TODO: try if it can be removed 1080 $aReplacements = array( 1081 'QUESTION_TEXT' => gT("How many roads must a man walk down?"), 1082 'QUESTION_CODE' => 'Q1 ', 1083 'QUESTIONHELP' => $this->getController()->renderPartial('/survey/questions/question_help/questionhelp', array('classes' => '', 'questionHelp'=>gT("This is some helpful text.")), true), 1084 'QUESTION_MANDATORY' => App()->twigRenderer->renderPartial('/survey/questions/question_help/asterisk', array()), 1085 'QUESTION_MAN_CLASS' => ' mandatory', 1086 'QUESTION_ESSENTIALS' => 'id="question1"', 1087 'QUESTION_CLASS' => 'list-radio', 1088 'QUESTION_NUMBER' => '1', 1089 'QUESTION_VALID_MESSAGE'=>$this->getController()->renderPartial('/survey/questions/question_help/em-tip', array( |
#5 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/controllers/admin/themes.php(499): themes->_initialise("extends_fruity", "question", "layout_global.twig", true, ...) 494 /* Keep Bootstrap Package clean after loading template : because template can update boostrap */ 495 $aBootstrapPackage = Yii::app()->clientScript->packages['bootstrap-admin']; 496 497 498 499 $aViewUrls = $this->_initialise($templatename, $screenname, $editfile, true, true); 500 501 App()->getClientScript()->reset(); 502 Yii::app()->clientScript->packages['bootstrap'] = $aBootstrapPackage; 503 App()->getClientScript()->registerScriptFile(App()->getConfig('adminscripts').'templates.js'); 504 App()->getClientScript()->registerPackage('ace'); |
#6 |
unknown(0): themes->index("layout_global.twig", "question", "extends_fruity")
|
#7 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs(themes, array("layout_global.twig", "question", "extends_fruity")) 104 elseif($param->isDefaultValueAvailable()) 105 $ps[]=$param->getDefaultValue(); 106 else 107 return false; 108 } 109 $method->invokeArgs($object,$ps); 110 return true; 111 } 112 } |
#8 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/core/Survey_Common_Action.php(86): CAction->runWithParamsInternal(themes,
ReflectionMethod, array("r" => "admin/themes", "sa" => "view",
"editfile" => "layout_global.twig", "templatename" =>
"extends_fruity", ...)) 81 $oMethod = new ReflectionMethod($this, $sDefault); 82 } 83 84 // We're all good to go, let's execute it 85 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 86 return parent::runWithParamsInternal($this, $oMethod, $params); 87 } 88 89 /** 90 * Some functions have different parameters, which are just an alias of the 91 * usual parameters we're getting in the url. This function just populates |
#9 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/controllers/admin/themes.php(33): Survey_Common_Action->runWithParams(array("r"
=> "admin/themes", "sa" => "view", "editfile" =>
"layout_global.twig", "templatename" => "extends_fruity", ...)) 28 public function runWithParams($params) 29 { 30 31 $sTemplateName = Yii::app()->request->getPost('templatename', ''); 32 if (Permission::model()->hasGlobalPermission('templates', 'read') || Permission::model()->hasTemplatePermission($sTemplateName)) { 33 parent::runWithParams($params); 34 } else { 35 Yii::app()->setFlashMessage(gT("We are sorry but you don't have permissions to do this."), 'error'); 36 $this->getController()->redirect(array("admin/themeoptions")); 37 } 38 } |
#10 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CController.php(308): themes->runWithParams(array("r"
=> "admin/themes", "sa" => "view", "editfile" =>
"layout_global.twig", "templatename" => "extends_fruity", ...)) 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; |
#11 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CController.php(286): CController->runAction(themes) 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(); |
#12 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CController.php(265): CController->runActionWithFilters(themes, 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); |
#13 |
+
–
/mnt/data/shnoulle/nginx/www/develop/application/controllers/AdminController.php(163): CController->run("themes") 158 } 159 160 $this->runModuleController($action); 161 162 163 return parent::run($action); 164 } 165 166 /** 167 * Starting with LS4, 3rd party developper can extends any of the LimeSurve controllers. 168 */ |
#14 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CWebApplication.php(282): AdminController->run("themes") 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))); |
#15 |
+
–
/mnt/data/shnoulle/nginx/www/develop/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/themes") 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. |
#16 |
+
–
/mnt/data/shnoulle/nginx/www/develop/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 /** |
#17 |
+
–
/mnt/data/shnoulle/nginx/www/develop/index.php(195): CApplication->run() 190 require_once APPPATH . 'core/LSYii_Application' . EXT; 191 192 $config = require_once(APPPATH . 'config/internal' . EXT); 193 194 Yii::$enableIncludePath = false; 195 Yii::createApplication('LSYii_Application', $config)->run(); 196 197 /* End of file index.php */ 198 /* Location: ./index.php */ |