SYSPATH/classes/Kohana/Route.php [ 136 ]
131 * $name = Route::name($route)
132 *
133 * @param Route $route instance
134 * @return string
135 */
136 public static function name(Route $route)
137 {
138 return array_search($route, Route::$_routes);
139 }
140
141 /**
-
SYSPATH/classes/Kohana/Route.php [ 136 ] » Kohana_Core::error_handler(arguments)
0
integer 4096
1
string(184) "Argument 1 passed to Kohana_Route::name() must be an instance of Route, null given, called in /var/www/norwik/data/www/norwik.ru …"
2
string(66) "/var/www/norwik/data/www/norwik.ru/system/classes/Kohana/Route.php"
3
integer 136
4
array(0)
131 * $name = Route::name($route) 132 * 133 * @param Route $route instance 134 * @return string 135 */ 136 public static function name(Route $route) 137 { 138 return array_search($route, Route::$_routes); 139 } 140 141 /**
-
APPPATH/views/outer/main.php [ 36 ] » Kohana_Route::name(arguments)
0
NULL
31 <? if(isset($info['products']['no_products']) && $info['products']['no_products']): ?> 32 <meta name="robots" content="noindex, nofollow"> 33 <? endif; ?> 34 <? endif; ?> 35 <? if (Request::initial()->action() !== 'catalog'): ?> 36 <link rel="canonical" href="<?= Route::url(Route::name(Request::initial()->route()), array_merge(array('controller' => Request::initial()->controller(), 'action' => Request::initial()->action()), Request::initial()->param()), 'https'); ?>"> 37 <? endif; ?> 38 </head> 39 <body> 40 <!-- Google Tag Manager --> 41 <noscript>
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0
string(67) "/var/www/norwik/data/www/norwik.ru/application/views/outer/main.php"
56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)
0
string(67) "/var/www/norwik/data/www/norwik.ru/application/views/outer/main.php"
1
array(2) ( "abs_elements" => object View(2)
{ protected _file => string(75) "/var/www/norwik/data/www/norwik.ru/application/views/outer/abs_elements.php" protected _data => array(0) }
"content" => object View(2){ protected _file => string(70) "/var/www/norwik/data/www/norwik.ru/application/views/outer/content.php" protected _data => array(0) }
)343 { 344 throw new View_Exception('You must set the file to use within your view before rendering'); 345 } 346 347 // Combine local and global data and capture the output 348 return View::capture($this->_file, $this->_data); 349 } 350 351 }
-
APPPATH/classes/HTTP/Exception/404.php [ 58 ] » Kohana_View->render()
53 $view->content = View::factory('outer/content'); 54 $view->set_global('content2', View::factory('errors/404')); 55 56 $response = Response::factory() 57 ->status(404) 58 ->body($view->render()); 59 60 return $response; 61 } 62 }
-
SYSPATH/classes/Kohana/Request.php [ 976 ] » HTTP_Exception_404->get_response()
971 if ( ! $this->_route instanceof Route) 972 { 973 return HTTP_Exception::factory(404, 'Unable to find a route to match the URI: :uri', array( 974 ':uri' => $this->_uri, 975 ))->request($this) 976 ->get_response(); 977 } 978 979 if ( ! $this->_client instanceof Request_Client) 980 { 981 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array(
-
DOCROOT/index.php [ 118 ] » Kohana_Request->execute()
113 /** 114 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 115 * If no source is specified, the URI will be automatically detected. 116 */ 117 echo Request::factory(TRUE, array(), FALSE) 118 ->execute() 119 ->send_headers(TRUE) 120 ->body(); 121 }