Zend Framework Default Application

An error occurred

Application error

Exception information:

Message: Gallery with ID 40 not found

Stack trace:

#0 /home/crystald/public_html/shop/application/modules/default/controllers/GalleryController.php(29): Shop_Gallery->__construct('40')
#1 /home/crystald/public_html/shop/library/Zend/Controller/Action.php(513): GalleryController->viewAction()
#2 /home/crystald/public_html/shop/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('viewAction')
#3 /home/crystald/public_html/shop/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#4 /home/crystald/public_html/shop/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#5 /home/crystald/public_html/shop/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#6 /home/crystald/public_html/shop/public/index.php(30): Zend_Application->run()
#7 {main}	  

Request Parameters:

array (
  'id' => '40',
  'controller' => 'gallery',
  'action' => 'view',
)