/var/www/u1302250/data/home/wb/waysbook/server/vendor/twig/twig/lib/Twig/Template.php(148)
136 $block = $this->blocks[$name][1]; 137 } else { 138 $template = null; 139 $block = null; 140 } 141 142 if (null !== $template) { 143 try { 144 $template->$block($context, $blocks); 145 } catch (Twig_Error $e) { 146 throw $e; 147 } catch (Exception $e) { 148 throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $template->getTemplateName(), $e); 149 } 150 } elseif (false !== $parent = $this->getParent($context)) { 151 $parent->displayBlock($name, $context, array_merge($this->blocks, $blocks)); 152 } 153 } 154 155 /** 156 * Renders a parent block. 157 * 158 * This method is for internal use only and should never be called 159 * directly. 160 *
#0 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/protected/runtime/twigCache/e5/09/214370e9699ca5415b303b0ed59472f1550d9a5fa4b886fdaef521b234ba.php(83): Twig_Template->displayBlock("bodyContent", array("country" => Country, "region" => Region, "city" => City, "this" => EncyclopediaController, ...), array("cityContent" => array(__TwigTemplate_f5f62184a7599a94282d9c1c7f62def74e62b04d52579b4891b37091a8bdf940, "block_cityContent"))) 78 echo "</head> 79 80 <body> 81 "; 82 // line 36 83 $this->displayBlock('bodyContent', $context, $blocks); 84 // line 37 85 echo "<script> 86 window.params = { 87 userFollowUrl: '"; 88 // line 39 |
#1 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/vendor/twig/twig/lib/Twig/Template.php(278): __TwigTemplate_e509214370e9699ca5415b303b0ed59472f1550d9a5fa4b886fdaef521b234ba->doDisplay(array("country" => Country, "region" => Region, "city" => City, "this" => EncyclopediaController, ...), array("bodyContent" => array(__TwigTemplate_f1ec8e464827d1bfeaed1147492731ee2dc5e4e6000d314bcfe79bbdc1c2e590, "block_bodyContent"), "cityContent" => array(__TwigTemplate_f5f62184a7599a94282d9c1c7f62def74e62b04d52579b4891b37091a8bdf940, "block_cityContent"))) 273 } 274 275 protected function displayWithErrorHandling(array $context, array $blocks = array()) 276 { 277 try { 278 $this->doDisplay($context, $blocks); 279 } catch (Twig_Error $e) { 280 if (!$e->getTemplateFile()) { 281 $e->setTemplateFile($this->getTemplateName()); 282 } 283 |
#2 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/vendor/twig/twig/lib/Twig/Template.php(252): Twig_Template->displayWithErrorHandling(array("country" => Country, "region" => Region, "city" => City, "this" => EncyclopediaController, ...), array("bodyContent" => array(__TwigTemplate_f1ec8e464827d1bfeaed1147492731ee2dc5e4e6000d314bcfe79bbdc1c2e590, "block_bodyContent"), "cityContent" => array(__TwigTemplate_f5f62184a7599a94282d9c1c7f62def74e62b04d52579b4891b37091a8bdf940, "block_cityContent"))) 247 /** 248 * {@inheritdoc} 249 */ 250 public function display(array $context, array $blocks = array()) 251 { 252 $this->displayWithErrorHandling($this->env->mergeGlobals($context), $blocks); 253 } 254 255 /** 256 * {@inheritdoc} 257 */ |
#3 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/protected/runtime/twigCache/4a/c1/8d929f8805f44961c179d52bfde977c4645cf33ef6781101174fc03c1917.php(23): Twig_Template->display(array("country" => Country, "region" => Region, "city" => City, "this" => EncyclopediaController, ...), array("bodyContent" => array(__TwigTemplate_f1ec8e464827d1bfeaed1147492731ee2dc5e4e6000d314bcfe79bbdc1c2e590, "block_bodyContent"), "cityContent" => array(__TwigTemplate_f5f62184a7599a94282d9c1c7f62def74e62b04d52579b4891b37091a8bdf940, "block_cityContent"))) 18 return "base.twig"; 19 } 20 21 protected function doDisplay(array $context, array $blocks = array()) 22 { 23 $this->parent->display($context, array_merge($this->blocks, $blocks)); 24 } 25 26 public function getTemplateName() 27 { 28 return "encyclopedia/_layout.twig"; |
#4 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/vendor/twig/twig/lib/Twig/Template.php(278): __TwigTemplate_4ac18d929f8805f44961c179d52bfde977c4645cf33ef6781101174fc03c1917->doDisplay(array("country" => Country, "region" => Region, "city" => City, "this" => EncyclopediaController, ...), array("bodyContent" => array(__TwigTemplate_f1ec8e464827d1bfeaed1147492731ee2dc5e4e6000d314bcfe79bbdc1c2e590, "block_bodyContent"), "cityContent" => array(__TwigTemplate_f5f62184a7599a94282d9c1c7f62def74e62b04d52579b4891b37091a8bdf940, "block_cityContent"))) 273 } 274 275 protected function displayWithErrorHandling(array $context, array $blocks = array()) 276 { 277 try { 278 $this->doDisplay($context, $blocks); 279 } catch (Twig_Error $e) { 280 if (!$e->getTemplateFile()) { 281 $e->setTemplateFile($this->getTemplateName()); 282 } 283 |
#5 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/vendor/twig/twig/lib/Twig/Template.php(252): Twig_Template->displayWithErrorHandling(array("country" => Country, "region" => Region, "city" => City, "this" => EncyclopediaController, ...), array("bodyContent" => array(__TwigTemplate_f1ec8e464827d1bfeaed1147492731ee2dc5e4e6000d314bcfe79bbdc1c2e590, "block_bodyContent"), "cityContent" => array(__TwigTemplate_f5f62184a7599a94282d9c1c7f62def74e62b04d52579b4891b37091a8bdf940, "block_cityContent"))) 247 /** 248 * {@inheritdoc} 249 */ 250 public function display(array $context, array $blocks = array()) 251 { 252 $this->displayWithErrorHandling($this->env->mergeGlobals($context), $blocks); 253 } 254 255 /** 256 * {@inheritdoc} 257 */ |
#6 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/protected/runtime/twigCache/f1/ec/8e464827d1bfeaed1147492731ee2dc5e4e6000d314bcfe79bbdc1c2e590.php(25): Twig_Template->display(array("country" => Country, "region" => Region, "city" => City, "this" => EncyclopediaController, ...), array("bodyContent" => array(__TwigTemplate_f1ec8e464827d1bfeaed1147492731ee2dc5e4e6000d314bcfe79bbdc1c2e590, "block_bodyContent"), "cityContent" => array(__TwigTemplate_f5f62184a7599a94282d9c1c7f62def74e62b04d52579b4891b37091a8bdf940, "block_cityContent"))) 20 return "encyclopedia/_layout.twig"; 21 } 22 23 protected function doDisplay(array $context, array $blocks = array()) 24 { 25 $this->parent->display($context, array_merge($this->blocks, $blocks)); 26 } 27 28 // line 3 29 public function block_bodyContent($context, array $blocks = array()) 30 { |
#7 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/vendor/twig/twig/lib/Twig/Template.php(278): __TwigTemplate_f1ec8e464827d1bfeaed1147492731ee2dc5e4e6000d314bcfe79bbdc1c2e590->doDisplay(array("country" => Country, "region" => Region, "city" => City, "this" => EncyclopediaController, ...), array("cityContent" => array(__TwigTemplate_f5f62184a7599a94282d9c1c7f62def74e62b04d52579b4891b37091a8bdf940, "block_cityContent"))) 273 } 274 275 protected function displayWithErrorHandling(array $context, array $blocks = array()) 276 { 277 try { 278 $this->doDisplay($context, $blocks); 279 } catch (Twig_Error $e) { 280 if (!$e->getTemplateFile()) { 281 $e->setTemplateFile($this->getTemplateName()); 282 } 283 |
#8 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/vendor/twig/twig/lib/Twig/Template.php(252): Twig_Template->displayWithErrorHandling(array("country" => Country, "region" => Region, "city" => City, "this" => EncyclopediaController, ...), array("cityContent" => array(__TwigTemplate_f5f62184a7599a94282d9c1c7f62def74e62b04d52579b4891b37091a8bdf940, "block_cityContent"))) 247 /** 248 * {@inheritdoc} 249 */ 250 public function display(array $context, array $blocks = array()) 251 { 252 $this->displayWithErrorHandling($this->env->mergeGlobals($context), $blocks); 253 } 254 255 /** 256 * {@inheritdoc} 257 */ |
#9 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/protected/runtime/twigCache/f5/f6/2184a7599a94282d9c1c7f62def74e62b04d52579b4891b37091a8bdf940.php(24): Twig_Template->display(array("country" => Country, "region" => Region, "city" => City, "this" => EncyclopediaController, ...), array("cityContent" => array(__TwigTemplate_f5f62184a7599a94282d9c1c7f62def74e62b04d52579b4891b37091a8bdf940, "block_cityContent"))) 19 return "encyclopedia/city/_layout.twig"; 20 } 21 22 protected function doDisplay(array $context, array $blocks = array()) 23 { 24 $this->parent->display($context, array_merge($this->blocks, $blocks)); 25 } 26 27 // line 3 28 public function block_cityContent($context, array $blocks = array()) 29 { |
#10 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/vendor/twig/twig/lib/Twig/Template.php(278): __TwigTemplate_f5f62184a7599a94282d9c1c7f62def74e62b04d52579b4891b37091a8bdf940->doDisplay(array("country" => Country, "region" => Region, "city" => City, "this" => EncyclopediaController, ...), array()) 273 } 274 275 protected function displayWithErrorHandling(array $context, array $blocks = array()) 276 { 277 try { 278 $this->doDisplay($context, $blocks); 279 } catch (Twig_Error $e) { 280 if (!$e->getTemplateFile()) { 281 $e->setTemplateFile($this->getTemplateName()); 282 } 283 |
#11 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/vendor/twig/twig/lib/Twig/Template.php(252): Twig_Template->displayWithErrorHandling(array("country" => Country, "region" => Region, "city" => City, "this" => EncyclopediaController, ...), array()) 247 /** 248 * {@inheritdoc} 249 */ 250 public function display(array $context, array $blocks = array()) 251 { 252 $this->displayWithErrorHandling($this->env->mergeGlobals($context), $blocks); 253 } 254 255 /** 256 * {@inheritdoc} 257 */ |
#12 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/vendor/twig/twig/lib/Twig/Template.php(263): Twig_Template->display(array("country" => Country, "region" => Region, "city" => City, "this" => EncyclopediaController)) 258 public function render(array $context) 259 { 260 $level = ob_get_level(); 261 ob_start(); 262 try { 263 $this->display($context); 264 } catch (Exception $e) { 265 while (ob_get_level() > $level) { 266 ob_end_clean(); 267 } 268 |
#13 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/protected/components/TwigViewRenderer.php(54): Twig_Template->render(array("country" => Country, "region" => Region, "city" => City, "this" => EncyclopediaController)) 49 $sourceFile = substr($file, $this->_themeBasePathLength); 50 } else { 51 $sourceFile = substr($file, $this->_basePathLength); 52 } 53 54 $result = $this->_twig->loadTemplate($sourceFile)->render($data); 55 if ($return) { 56 return $result; 57 } else { 58 echo $result; 59 } |
#14 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/vendor/yiisoft/yii/framework/web/CBaseController.php(93): TwigViewRenderer->renderFile(EncyclopediaController, "/var/www/u1302250/data/home/wb/waysbook/server/protected/views/e...", array("country" => Country, "region" => Region, "city" => City, "this" => EncyclopediaController), 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 |
#15 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/vendor/yiisoft/yii/framework/web/CController.php(869): CBaseController->renderFile("/var/www/u1302250/data/home/wb/waysbook/server/protected/views/e...", array("country" => Country, "region" => Region, "city" => City), 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 |
#16 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/vendor/yiisoft/yii/framework/web/CController.php(782): CController->renderPartial("city/index", array("country" => Country, "region" => Region, "city" => City), 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 |
#17 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/protected/controllers/EncyclopediaController.php(169): CController->render("city/index", array("country" => Country, "region" => Region, "city" => City)) 164 $context ['forum_id'] = $forum_id; 165 break; 166 default: 167 throw new CHttpException(404); 168 } 169 $this->render($templateName, $context); 170 } 171 172 173 public function actionTransport($country, $region, $city, $transport) 174 { |
#18 |
unknown(0): EncyclopediaController->actionCity(Country, Region, City, "", ...)
|
#19 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/vendor/yiisoft/yii/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(EncyclopediaController, array("italija", "lacio", "Rome", "", ...)) 103 elseif($param->isDefaultValueAvailable()) 104 $ps[]=$param->getDefaultValue(); 105 else 106 return false; 107 } 108 $method->invokeArgs($object,$ps); 109 return true; 110 } 111 } |
#20 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/vendor/yiisoft/yii/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(EncyclopediaController, ReflectionMethod, array("country" => "italija", "region" => "lacio", "city" => "Rome")) 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 } |
#21 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/vendor/yiisoft/yii/framework/web/CController.php(308): CInlineAction->runWithParams(array("country" => "italija", "region" => "lacio", "city" => "Rome")) 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; |
#22 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/vendor/yiisoft/yii/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(); |
#23 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/vendor/yiisoft/yii/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); |
#24 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): CController->run("city") 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))); |
#25 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController("encyclopedia/city") 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. |
#26 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/vendor/yiisoft/yii/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 /** |
#27 |
+
–
/var/www/u1302250/data/home/wb/waysbook/server/www/index.php(21): CApplication->run() 16 17 require_once(dirname(__FILE__) . '/../protected/components/Application.php'); 18 $config = require($configPath); 19 $app = Yii::createApplication('Application', $config); 20 $app->debug = YII_DEBUG; 21 $app->run(); |