HTTP_Exception_404 [ 404 ]: File not found

APPPATH/classes/Controller/Index/Page.php [ 22 ]

17 		$geography = Widget::load('geography');
18 		$services = Widget::load('services');
19         $page_alias = $this->request->param('page_alias');
20         $page = ORM::factory('Page')->where('alias', '=', $page_alias)->find();
21 		if(!$page->loaded()){
22             throw new HTTP_Exception_404('File not found');
23         }
24 		
25         if (isset($_POST['send'])) {
26             $data = Arr::extract($_POST, array('name', 'phone', 'email', 'adres'));
27             $admin_email = Kohana::$config->load('settings.admin_email');
  1. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Index_Page->action_index()

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

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

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

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

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

Environment