The following error occurred:
exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1' in /library/Zend/Db/Statement/Pdo.php:227 Stack trace: #0 /library/Zend/Db/Statement.php(298): Zend_Db_Statement_Pdo->_execute(Array) #1 /library/Zend/Db/Adapter/Abstract.php(279): Zend_Db_Statement->execute(Array) #2 /library/Zend/Db/Adapter/Pdo/Abstract.php(206): Zend_Db_Adapter_Abstract->query('SELECT COUNT(*)...', Array) #3 /library/Zend/Db/Adapter/Abstract.php(486): Zend_Db_Adapter_Pdo_Abstract->query('SELECT COUNT(*)...', Array) #4 /application/controllers/ProductController.php(760): Zend_Db_Adapter_Abstract->fetchAll('SELECT COUNT(*)...') #5 /library/Zend/Controller/Action.php(497): ProductController->showlistAction() #6 /library/Zend/Controller/Dispatcher/Standard.php(237): Zend_Controller_Action->dispatch('showlistAction') #7 /library/Zend/Controller/Front.php(911): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #8 /index.php(52): Zend_Controller_Front->dispatch() #9 {main}