Kohana_Exception [ 404 ]: Article 433 not found

APPPATH/classes/controller/article.php [ 583 ]

578      * @throws Kohana_Exception
579      */
580     public function action_show()
581     {
582         if (!$id = $this->request->param('id') or !$article = Doctrine::instance()->getRepository('Model_Article')->findOneById($id) or $article->deleted) {
583             throw new Kohana_Exception('Article ' . $this->request->param('id') . ' not found', null, 404);
584         }
585 
586         $user = Helper_User::getUser();
587 
588         if (!$this->hasRole("editor") && ((!$article->active || !$article->ready_for_publish) && !$article->isOwnedByCurrentUser())) {
  1. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Article->action_show()

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

Environment