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) "en" "_user" => NULL "_token" => string(40) "8b08ba4d961bddb074edfc52468c6f5252d49698" "_return" => string(17) "contents/list/962" "_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/Client/Internal.php [ 108 ] » HTTP_Exception_404->get_response()
103 } 104 } 105 catch (HTTP_Exception $e) 106 { 107 // Get the response via the Exception 108 $response = $e->get_response(); 109 } 110 catch (Exception $e) 111 { 112 // Generate an appropriate Response object 113 $response = Kohana_Exception::_handler($e);
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(57) "<language>(/<controller>(/<action>(/<id>))(/page-<page>))" protected _regex => array(5) ( "language" => string(10) "(ru|kz|en)" "controller" => string(13) "([A-Za-z\-]+)" "action" => string(13) "([A-Za-z\-]+)" "id" => string(5) "(\d+)" "page" => string(5) "(\d+)" ) protected _defaults => array(2) ( "controller" => string(7) "welcome" "action" => string(5) "index" ) protected _route_regex => string(141) "#^(?P<language>(ru|kz|en))(?:/(?P<controller>([A-Za-z\-]+))(?:/(?P<action>([A-Za-z\-]+))(?:/(?P<id>(\d+)))?)?(?:/page-(?P<page>( …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(8) "Contents" protected _action => string(4) "list" protected _uri => string(20) "en/contents/list/962" protected _external => bool FALSE protected _params => array(2) ( "language" => string(2) "en" "id" => string(3) "962" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}1
object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0)
{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => NULL }109 $orig_response = $response = Response::factory(); 110 111 if (($cache = $this->cache()) instanceof HTTP_Cache) 112 return $cache->execute($this, $request, $response); 113 114 $response = $this->execute_request($request, $response); 115 116 // Execute response callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header))
-
SYSPATH/classes/Kohana/Request.php [ 990 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(57) "<language>(/<controller>(/<action>(/<id>))(/page-<page>))" protected _regex => array(5) ( "language" => string(10) "(ru|kz|en)" "controller" => string(13) "([A-Za-z\-]+)" "action" => string(13) "([A-Za-z\-]+)" "id" => string(5) "(\d+)" "page" => string(5) "(\d+)" ) protected _defaults => array(2) ( "controller" => string(7) "welcome" "action" => string(5) "index" ) protected _route_regex => string(141) "#^(?P<language>(ru|kz|en))(?:/(?P<controller>([A-Za-z\-]+))(?:/(?P<action>([A-Za-z\-]+))(?:/(?P<id>(\d+)))?)?(?:/page-(?P<page>( …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(8) "Contents" protected _action => string(4) "list" protected _uri => string(20) "en/contents/list/962" protected _external => bool FALSE protected _params => array(2) ( "language" => string(2) "en" "id" => string(3) "962" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}985 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 986 ':uri' => $this->_uri, 987 )); 988 } 989 990 return $this->_client->execute($this); 991 } 992 993 /** 994 * Returns whether this request is the initial request Kohana received. 995 * Can be used to test for sub requests.
-
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 }