HTTP_Exception_404 [ 404 ]:

APPPATH/classes/Controller/Teachers.php [ 27 ]

22     $teacherId = (int) $this->request->param('teacher_id', 0);
23     $pageId = (int) $this->request->param('page_id', 0);
24     
25     $teacher = $this->model->get($teacherId);
26     if(empty($teacher)) {
27       throw new HTTP_Exception_404;
28     }
29     
30     $this->template->title = $teacher['name'];
31     
32     $pages = $this->model->getFullThree($teacherId);
  1. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Teachers->action_view()

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

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

Environment