Kohana_HTTP_Exception [ 404 ]:

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

501           ->set('pagination', $pagination)
502           ->render();
503       } else {
504         $data = $nm->getNew($id);
505         if(!$data){
506             throw HTTP_Exception::factory(404);
507         }
508         $readmore_tag = Kohana::$config->load('global')->get('readmore-tag');
509         $data['text'] = str_replace($readmore_tag, '', $data['text']);
510         $this->template->title = $data['title'];
511         $this->template->content = View::factory('news_page')->set('data', $data)->render();
  1. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Welcome->action_news()

  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 [ 993 ] » Kohana_Request_Client->execute(arguments)

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

Environment