DOCROOT/modules/template/vendor/Twig/Loader/Filesystem.php [ 198 ]
193 if (is_file($path.'/'.$name)) {
194 return $this->cache[$name] = $path.'/'.$name;
195 }
196 }
197
198 throw new Twig_Error_Loader(sprintf('Unable to find template "%s" (looked into: %s).', $name, implode(', ', $this->paths[$namespace])));
199 }
200
201 protected function validateName($name)
202 {
203 if (false !== strpos($name, "\0")) {
-
DOCROOT/modules/template/vendor/Twig/Loader/Filesystem.php [ 134 ] » Twig_Loader_Filesystem->findTemplate(arguments)
0
string(15) "errors/404.twig"
129 /** 130 * {@inheritdoc} 131 */ 132 public function getCacheKey($name) 133 { 134 return $this->findTemplate($name); 135 } 136 137 /** 138 * {@inheritdoc} 139 */
-
DOCROOT/modules/template/vendor/Twig/Environment.php [ 266 ] » Twig_Loader_Filesystem->getCacheKey(arguments)
0
string(15) "errors/404.twig"
261 * 262 * @return string The template class name 263 */ 264 public function getTemplateClass($name, $index = null) 265 { 266 return $this->templateClassPrefix.md5($this->getLoader()->getCacheKey($name)).(null === $index ? '' : '_'.$index); 267 } 268 269 /** 270 * Gets the template class prefix. 271 *
-
DOCROOT/modules/template/vendor/Twig/Environment.php [ 313 ] » Twig_Environment->getTemplateClass(arguments)
0
string(15) "errors/404.twig"
1
NULL
308 * 309 * @return Twig_TemplateInterface A template instance representing the given template name 310 */ 311 public function loadTemplate($name, $index = null) 312 { 313 $cls = $this->getTemplateClass($name, $index); 314 315 if (isset($this->loadedTemplates[$cls])) { 316 return $this->loadedTemplates[$cls]; 317 } 318
-
DOCROOT/modules/template/classes/Kohana/Kotwig/View.php [ 19 ] » Twig_Environment->loadTemplate(arguments)
0
string(15) "errors/404.twig"
14 15 protected static function capture($kohana_view_filename, array $kohana_view_data) 16 { 17 return Kotwig::instance() 18 ->twig 19 ->loadTemplate($kohana_view_filename) 20 ->render(array_merge($kohana_view_data, View::$_global_data)); 21 } 22 23 public function set_filename($file) 24 {
-
DOCROOT/modules/template/classes/Kohana/Kotwig/View.php [ 57 ] » Kohana_Kotwig_View::capture(arguments)
0
string(15) "errors/404.twig"
1
array(6) ( "_language" => string(2) "kz" "_user" => NULL "_token" => string(40) "d784bdefe3cc342f8e3f9421f91c5a2cfa0518a4" "_return" => string(32) "media/qmudoc/TnedDoc04_1Kaz.docx" "_menu" => object Database_MySQL_Result(7)
{ protected _internal_row => integer 0 protected _query => string(538) "SELECT `page`.`id` AS `id`, `page`.`key` AS `key`, `page`.`parent_id` AS `parent_id`, `page`.`lvl` AS `lvl`, `page`.`lft` AS `lf …" protected _result => resource(mysql result) protected _total_rows => integer 8 protected _current_row => integer 0 protected _as_object => string(10) "Model_Page" protected _object_params => NULL }
"_menu_top" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(535) "SELECT `page`.`id` AS `id`, `page`.`key` AS `key`, `page`.`parent_id` AS `parent_id`, `page`.`lvl` AS `lvl`, `page`.`lft` AS `lf …" protected _result => resource(mysql result) protected _total_rows => integer 3 protected _current_row => integer 0 protected _as_object => string(10) "Model_Page" protected _object_params => NULL }
)52 { 53 throw new Kohana_View_Exception('You must set the file to use within your view before rendering'); 54 } 55 56 // Combine local and global data and capture the output 57 return Kotwig_View::capture($this->_file, $this->_data); 58 } 59 }
-
APPPATH/classes/HTTP/Exception/404.php [ 33 ] » Kohana_Kotwig_View->render()
28 ->set('_token', Security::token()) 29 ->set('_return', $rr) 30 ->set('_menu',$menu) 31 ->set('_menu_top',$menu_top); 32 33 $response->body($view->render()); 34 35 return $response; 36 } 37 }
-
SYSPATH/classes/Kohana/Request.php [ 980 ] » HTTP_Exception_404->get_response()
975 if ( ! $this->_route instanceof Route) 976 { 977 return HTTP_Exception::factory(404, 'Unable to find a route to match the URI: :uri', array( 978 ':uri' => $this->_uri, 979 ))->request($this) 980 ->get_response(); 981 } 982 983 if ( ! $this->_client instanceof Request_Client) 984 { 985 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array(
-
DOCROOT/index.php [ 122 ] » Kohana_Request->execute()
117 /** 118 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 119 * If no source is specified, the URI will be automatically detected. 120 */ 121 echo Request::factory(TRUE, array(), FALSE) 122 ->execute() 123 ->send_headers(TRUE) 124 ->body(); 125 }