HTTP_Exception_404 [ 404 ]: Not found

APPPATH/classes/Controller/News.php [ 21 ]

16 		
17 		$id = explode('-', $this->request->param('id'));
18 		$id = end($id);
19 		$news = ORM::factory('News', $id);
20 		if ( ! $news->loaded() or ! $news->published)
21 			throw new HTTP_Exception_404('Not found');
22 		$this->view->set('news', $news);
23 	}
24 
25 }
  1. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_News->action_single()

  2. {PHP internal call} » Kohana_Controller->execute()

  3. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 94 ] » ReflectionMethod->invoke(arguments)

  4. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  5. SYSPATH/classes/Kohana/Request.php [ 1000 ] » Kohana_Request_Client->execute(arguments)

  6. DOCROOT/index.php [ 108 ] » Kohana_Request->execute()

Environment