HTTP_Exception_404 [ 404 ]: File not found!

APPPATH/classes/controller/park.php [ 158 ]

153 		  $city = ORM::factory('city')->where('alias', '=', $city_alias)->find();
154 		  if(!$city->loaded()) throw new HTTP_Exception_404('File not found!');
155 		}
156 		$cars = ORM::factory('cars', array('alias' => $alias));
157 		if(empty($cars->id)){
158 			 throw new HTTP_Exception_404('File not found!');
159 		}
160 
161         $id = $cars->id;
162         $this->template->site = $city->alias;
163         $this->template->title =  $cars->title ? $cars->title : $cars->name . ' в аренду ' . $city->name2 . ' > Взять автомобиль ' . $cars->name . ' напрокат';
  1. {PHP internal call} » Controller_Park->action_item()

  2. SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)

  3. SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  4. SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client->execute(arguments)

  5. DOCROOT/index.php [ 112 ] » Kohana_Request->execute()

Environment