HTTP_Exception_404 [ 404 ]: Imóvel não disponível no momento.

APPPATH/classes/controller/imovel.php [ 14 ]

 9         $row->where('id', '=', $this->request->param('id'))
10             ->where('ativo', '=', 1)
11             ->find();
12 
13         if (!$row->loaded())
14             throw new HTTP_Exception_404('Imóvel não disponível no momento.');
15 
16         // SEO - atualiza title do link se alterado no cadastro
17         if ($this->request->uri() !== $row->get_uri())
18             $this->request->redirect($row->get_uri(), 301);
19 
  1. {PHP internal call} » Controller_Imovel->action_index()

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

  3. SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  4. SYSPATH/classes/kohana/request.php [ 1154 ] » Kohana_Request_Client->execute(arguments)

  5. MODPATH/mosite-base/classes/request.php [ 25 ] » Kohana_Request->execute()

  6. DOCROOT/index.php [ 111 ] » Request->execute()

Environment