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 ') ORDER BY `ordem` desc LIMIT 128' at line 1
#0 /var/www/paranatex/library/Zend/Db/Statement.php(284): Zend_Db_Statement_Pdo->_execute(Array) #1 /var/www/paranatex/library/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array) #2 /var/www/paranatex/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array) #3 /var/www/paranatex/library/Zend/Db/Table/Abstract.php(1485): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #4 /var/www/paranatex/library/Zend/Db/Table/Abstract.php(1304): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select)) #5 /var/www/paranatex/application/models/Mapper/ProdutosMapper.php(209): Zend_Db_Table_Abstract->fetchAll('cd_produtos_cat...', 'ordem desc', 128, NULL) #6 /var/www/paranatex/application/models/Produtos.php(816): Default_Model_Mapper_ProdutosMapper->fetchList('cd_produtos_cat...', 'ordem desc', 128, NULL) #7 /var/www/paranatex/application/controllers/SiteController.php(761): Default_Model_Produtos->fetchList('cd_produtos_cat...', 'ordem desc', 128) #8 /var/www/paranatex/library/Zend/Controller/Action.php(513): SiteController->confeccaolisoprodutoAction() #9 /var/www/paranatex/library/Zend/Controller/Dispatcher/Standard.php(289): Zend_Controller_Action->dispatch('confeccaolisopr...') #10 /var/www/paranatex/library/Zend/Controller/Front.php(946): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #11 /var/www/paranatex/library/Zend/Application/Bootstrap/Bootstrap.php(77): Zend_Controller_Front->dispatch() #12 /var/www/paranatex/library/Zend/Application.php(346): Zend_Application_Bootstrap_Bootstrap->run() #13 /var/www/paranatex/index.php(43): Zend_Application->run() #14 {main}
array(4) { ["id"]=> string(12) "819-7012-001" ["module"]=> string(7) "default" ["controller"]=> string(4) "site" ["action"]=> string(20) "confeccaoLisoProduto" }