Hata olu┼čtu

Application error

Exception information:

Message: LIMIT argument offset=-1 is not valid

Stack trace:

#0 /webpages/harunyahya.com/htdocs/apidev/library/Zend/Db/Select.php(1272): Zend_Db_Adapter_Pdo_Mysql->limit('SELECT `gallery...', 1, -1)
#1 /webpages/harunyahya.com/htdocs/apidev/library/Zend/Db/Select.php(705): Zend_Db_Select->_renderLimitoffset('SELECT `gallery...')
#2 /webpages/harunyahya.com/htdocs/apidev/library/Zend/Db/Table/Select.php(222): Zend_Db_Select->assemble()
#3 /webpages/harunyahya.com/htdocs/apidev/library/Zend/Db/Adapter/Abstract.php(456): Zend_Db_Table_Select->assemble()
#4 /webpages/harunyahya.com/htdocs/apidev/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array)
#5 /webpages/harunyahya.com/htdocs/apidev/library/Zend/Db/Select.php(686): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select))
#6 /webpages/harunyahya.com/htdocs/apidev/library/Common/Model/Gallery.php(304): Zend_Db_Select->query()
#7 /webpages/harunyahya.com/htdocs/apidev/library/Custom/Page/Module/Gallery.php(104): Common_Model_Gallery->getGalleryImage('page', false)
#8 [internal function]: Custom_Page_Module_Gallery->view()
#9 /webpages/harunyahya.com/htdocs/apidev/library/Custom/Page/Module/Gallery.php(59): call_user_func_array(Array, Array)
#10 /webpages/harunyahya.com/htdocs/apidev/library/Custom/Page/Module/Gallery.php(33): Custom_Page_Module_Gallery->init()
#11 /webpages/harunyahya.com/htdocs/apidev/modules/onyuz/application/controllers/GalleryController.php(39): Custom_Page_Module_Gallery->__construct(Object(Zend_View), Object(Zend_Controller_Action_HelperBroker), NULL, Object(Zend_Controller_Request_Http))
#12 /webpages/harunyahya.com/htdocs/apidev/library/Zend/Controller/Action.php(515): GalleryController->__call('viewAction', Array)
#13 /webpages/harunyahya.com/htdocs/apidev/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('viewAction')
#14 /webpages/harunyahya.com/htdocs/apidev/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#15 /webpages/harunyahya.com/htdocs/apidev/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#16 /webpages/harunyahya.com/htdocs/apidev/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#17 /webpages/harunyahya.com/htdocs/apidev/modules/onyuz/public/index.php(119): Zend_Application->run()
#18 {main}  

Request Parameters:

array (
  'controller' => 'gallery',
  'action' => 'view',
  'id' => 'page',
  'module' => 'default',
)