HTTP_Exception_404 [ 404 ]:

APPPATH/classes/controller/product.php [ 20 ]

15     $widok = new View("product");
16     $product = ORM::factory('product')->where('slug','=',$slug)->find();  
17     
18     if(!$product->loaded()) throw new HTTP_Exception_404();
19     
20     if($product->visible == '0') throw new HTTP_Exception_404();
21     
22     $widok->product = $product; 
23     
24     $random_products = ORM::factory('product')->order_by(DB::expr('RAND()'))->limit(3)->find_all();
25     $products_view = new View("products");
  1. {PHP internal call} » Controller_Product->action_product(arguments)

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

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

  4. DOCROOT/index.php [ 111 ] » Kohana_Request->execute()

Environment