Kohana_HTTP_Exception [ 404 ]:

APPPATH/classes/Controller/Welcome.php [ 98 ]

 93             /* $pagination = Pagination::factory(array(
 94               'total_items'    => $photos_count,
 95               'items_per_page' => 36,
 96               )); */
 97             if (!$folder_title) {
 98                 throw HTTP_Exception::factory(404);
 99             }
100 
101             $photos = DB::select()->from('gallery')
102                     ->where('pid', '=', $folder_id)->order_by('id')->execute()->as_array();
103             $this->template->title .= ' | ' . $folder_title;
  1. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Welcome->action_gallery()

  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 [ 118 ] » Kohana_Request->execute()

Environment