Zend Framework Default Application

An error occurred

Application error

Exception information:

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 2

Stack trace:

#0 /home/storage/1/bd/c6/bnbimport/public_html/library/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/storage/1/bd/c6/bnbimport/public_html/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/storage/1/bd/c6/bnbimport/public_html/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Select), Array)
#3 /home/storage/1/bd/c6/bnbimport/public_html/library/Zend/Db/Select.php(686): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Select))
#4 /home/storage/1/bd/c6/bnbimport/public_html/application/modules/default/controllers/ProdutosController.php(35): Zend_Db_Select->query()
#5 /home/storage/1/bd/c6/bnbimport/public_html/library/Zend/Controller/Action.php(513): ProdutosController->indexAction()
#6 /home/storage/1/bd/c6/bnbimport/public_html/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction')
#7 /home/storage/1/bd/c6/bnbimport/public_html/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#8 /home/storage/1/bd/c6/bnbimport/public_html/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#9 /home/storage/1/bd/c6/bnbimport/public_html/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#10 /home/storage/1/bd/c6/bnbimport/public_html/index.php(39): Zend_Application->run()
#11 {main}  

Request Parameters:

array (
  'ctg' => 'tecidos',
  'sub' => 'chenilleravanliso',
  'module' => 'default',
  'controller' => 'produtos',
  'action' => 'index',
)