/var/www/html/protected/libs/Twig/Template.php(279)
267 $e->setTemplateFile($this->getTemplateName()); 268 } 269 270 // this is mostly useful for Twig_Error_Loader exceptions 271 // see Twig_Error_Loader 272 if (false === $e->getTemplateLine()) { 273 $e->setTemplateLine(-1); 274 $e->guess(); 275 } 276 277 throw $e; 278 } catch (Exception $e) { 279 throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, null, $e); 280 } 281 } 282 283 /** 284 * Auto-generated method to display the template with the given context. 285 * 286 * @param array $context An array of parameters to pass to the template 287 * @param array $blocks An array of blocks to pass to the template 288 */ 289 abstract protected function doDisplay(array $context, array $blocks = array()); 290 291 /**
#0 |
+
–
/var/www/html/protected/libs/Twig/Template.php(238): Twig_Template->displayWithErrorHandling(array("person" => Person, "jsonVideos" => "[]", "this" => SiteController, "App" => CWebApplication, ...), array("breadcrumbs" => array(__TwigTemplate_e1c48399166edc54bfee5952b0e3df70, "block_breadcrumbs"), "content" => array(__TwigTemplate_e1c48399166edc54bfee5952b0e3df70, "block_content"))) 233 /** 234 * {@inheritdoc} 235 */ 236 public function display(array $context, array $blocks = array()) 237 { 238 $this->displayWithErrorHandling($this->env->mergeGlobals($context), $blocks); 239 } 240 241 /** 242 * {@inheritdoc} 243 */ |
#1 |
+
–
/var/www/html/protected/runtime/twig_cache/e1/c4/8399166edc54bfee5952b0e3df70.php(31): Twig_Template->display(array("person" => Person, "jsonVideos" => "[]", "this" => SiteController, "App" => CWebApplication, ...), array("breadcrumbs" => array(__TwigTemplate_e1c48399166edc54bfee5952b0e3df70, "block_breadcrumbs"), "content" => array(__TwigTemplate_e1c48399166edc54bfee5952b0e3df70, "block_content"))) 26 $context["pageTitle"] = $this->getAttribute((isset($context["person"]) ? $context["person"] : null), "name"); 27 // line 4 28 $context["ogDescription"] = $this->getAttribute((isset($context["person"]) ? $context["person"] : null), "slogan"); 29 // line 5 30 $context["ogImage"] = $this->getAttribute($this->getAttribute((isset($context["person"]) ? $context["person"] : null), "image"), "getThumbnail", array(0 => 280, 1 => 280, 2 => array("mode" => "thumbnail", "noLoad" => true)), "method"); 31 $this->parent->display($context, array_merge($this->blocks, $blocks)); 32 } 33 34 // line 7 35 public function block_breadcrumbs($context, array $blocks = array()) 36 { |
#2 |
+
–
/var/www/html/protected/libs/Twig/Template.php(264): __TwigTemplate_e1c48399166edc54bfee5952b0e3df70->doDisplay(array("person" => Person, "jsonVideos" => "[]", "this" => SiteController, "App" => CWebApplication, ...), array()) 259 } 260 261 protected function displayWithErrorHandling(array $context, array $blocks = array()) 262 { 263 try { 264 $this->doDisplay($context, $blocks); 265 } catch (Twig_Error $e) { 266 if (!$e->getTemplateFile()) { 267 $e->setTemplateFile($this->getTemplateName()); 268 } 269 |
#3 |
+
–
/var/www/html/protected/libs/Twig/Template.php(238): Twig_Template->displayWithErrorHandling(array("person" => Person, "jsonVideos" => "[]", "this" => SiteController, "App" => CWebApplication, ...), array()) 233 /** 234 * {@inheritdoc} 235 */ 236 public function display(array $context, array $blocks = array()) 237 { 238 $this->displayWithErrorHandling($this->env->mergeGlobals($context), $blocks); 239 } 240 241 /** 242 * {@inheritdoc} 243 */ |
#4 |
+
–
/var/www/html/protected/libs/Twig/Template.php(249): Twig_Template->display(array("person" => Person, "jsonVideos" => "[]", "this" => SiteController)) 244 public function render(array $context) 245 { 246 $level = ob_get_level(); 247 ob_start(); 248 try { 249 $this->display($context); 250 } catch (Exception $e) { 251 while (ob_get_level() > $level) { 252 ob_end_clean(); 253 } 254 |
#5 |
+
–
/var/www/html/protected/extensions/ETwigViewRenderer.php(146): Twig_Template->render(array("person" => Person, "jsonVideos" => "[]", "this" => SiteController)) 141 { 142 // current controller properties will be accessible as {{ this.property }} 143 $data['this'] = $context; 144 145 $sourceFile = substr($sourceFile, $this->_basePathLength); 146 $template = $this->_twig->loadTemplate($sourceFile)->render($data); 147 148 if ($return) { 149 return $template; 150 } 151 |
#6 |
+
–
/var/www/html/protected/libs/framework/web/CBaseController.php(93): ETwigViewRenderer->renderFile(SiteController, "/var/www/html/protected/views/site/biographyView.twig", array("person" => Person, "jsonVideos" => "[]"), true) 88 */ 89 public function renderFile($viewFile,$data=null,$return=false) 90 { 91 $widgetCount=count($this->_widgetStack); 92 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 93 $content=$renderer->renderFile($this,$viewFile,$data,$return); 94 else 95 $content=$this->renderInternal($viewFile,$data,$return); 96 if(count($this->_widgetStack)===$widgetCount) 97 return $content; 98 else |
#7 |
+
–
/var/www/html/protected/libs/framework/web/CController.php(869): CBaseController->renderFile("/var/www/html/protected/views/site/biographyView.twig", array("person" => Person, "jsonVideos" => "[]"), true) 864 */ 865 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 866 { 867 if(($viewFile=$this->getViewFile($view))!==false) 868 { 869 $output=$this->renderFile($viewFile,$data,true); 870 if($processOutput) 871 $output=$this->processOutput($output); 872 if($return) 873 return $output; 874 else |
#8 |
+
–
/var/www/html/protected/libs/framework/web/CController.php(782): CController->renderPartial("biographyView", array("person" => Person, "jsonVideos" => "[]"), true) 777 */ 778 public function render($view,$data=null,$return=false) 779 { 780 if($this->beforeRender($view)) 781 { 782 $output=$this->renderPartial($view,$data,true); 783 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 784 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 785 786 $this->afterRender($view,$output); 787 |
#9 |
+
–
/var/www/html/protected/controllers/SiteController.php(1471): CController->render("biographyView", array("person" => Person, "jsonVideos" => "[]")) 1466 } 1467 1468 $this->render('biographyView', [ 1469 'person' => $person, 1470 'jsonVideos' => json_encode($jsonVideos), 1471 ]); 1472 } 1473 1474 public function actionInitiativeCategoryView($id, $type = 'initiative') 1475 { 1476 $page = isset($_GET['page']) ? $_GET['page'] : 1; |
#10 |
unknown(0): SiteController->actionBiographyView("omarov-magomedrasul-magomedalievich")
|
#11 |
+
–
/var/www/html/protected/libs/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(SiteController, array("omarov-magomedrasul-magomedalievich")) 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#12 |
+
–
/var/www/html/protected/libs/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(SiteController, ReflectionMethod, array("id" => "omarov-magomedrasul-magomedalievich")) 42 { 43 $methodName='action'.$this->getId(); 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 else 49 return $controller->$methodName(); 50 } 51 52 } |
#13 |
+
–
/var/www/html/protected/libs/framework/web/CController.php(308): CInlineAction->runWithParams(array("id" => "omarov-magomedrasul-magomedalievich")) 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; |
#14 |
+
–
/var/www/html/protected/libs/framework/web/CController.php(286): CController->runAction(CInlineAction) 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(); |
#15 |
+
–
/var/www/html/protected/libs/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, 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); |
#16 |
+
–
/var/www/html/protected/libs/framework/web/CWebApplication.php(282): CController->run("biographyView") 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))); |
#17 |
+
–
/var/www/html/protected/libs/framework/web/CWebApplication.php(141): CWebApplication->runController("site/biographyView") 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. |
#18 |
+
–
/var/www/html/protected/libs/framework/base/CApplication.php(180): CWebApplication->processRequest() 175 public function run() 176 { 177 if($this->hasEventHandler('onBeginRequest')) 178 $this->onBeginRequest(new CEvent($this)); 179 register_shutdown_function(array($this,'end'),0,false); 180 $this->processRequest(); 181 if($this->hasEventHandler('onEndRequest')) 182 $this->onEndRequest(new CEvent($this)); 183 } 184 185 /** |
#19 |
+
–
/var/www/html/index.php(17): CApplication->run() 12 defined('YII_DEBUG') or define('YII_DEBUG', Config::$debug); 13 14 require_once ROOT_PATH . '/protected/libs/framework/yii.php' ; 15 $config = ROOT_PATH . '/configs/yii.php'; 16 17 Yii::createWebApplication($config)->run(); |