HTTP_Exception_404 [ 404 ]:

APPPATH/classes/Controller/Catalogue.php [ 10 ]

 5     private function get_category() {
 6         $category_url = $this->request->param('category');
 7         $category = ORM::factory('Category')->where('url', '=', $category_url)->find();
 8 
 9         if( !$category->loaded() ) {
10             throw new HTTP_Exception_404();
11         }
12 
13         return $category;
14     }
15 
  1. APPPATH/classes/Controller/Catalogue.php [ 43 ] » Controller_Catalogue->get_category()

  2. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Catalogue->action_category()

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

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

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

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

  7. DOCROOT/public_html/index.php [ 118 ] » Kohana_Request->execute()

Environment