Application error

exception 'PDOException' 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 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Db/Statement/Pdo.php:228 Stack trace: #0 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #1 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array) #2 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #3 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array) #4 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Db/Table/Abstract.php(1575): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #5 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Db/Table/Abstract.php(1390): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select)) #6 /home/c/ci81505/atmosfera-rent/public_html/application/modules/default/views/scripts/index/item.phtml(55): Zend_Db_Table_Abstract->fetchAll('item_id =') #7 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/View.php(108): include('/home/c/ci81505...') #8 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/View/Abstract.php(888): Zend_View->_run('/home/c/ci81505...') #9 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Controller/Action/Helper/ViewRenderer.php(900): Zend_View_Abstract->render('index/item.phtm...') #10 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Controller/Action/Helper/ViewRenderer.php(921): Zend_Controller_Action_Helper_ViewRenderer->renderScript('index/item.phtm...', NULL) #11 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Controller/Action/Helper/ViewRenderer.php(960): Zend_Controller_Action_Helper_ViewRenderer->render() #12 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch() #13 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch() #14 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('itemAction') #15 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #16 /home/c/ci81505/atmosfera-rent/public_html/index.php(27): Zend_Controller_Front->dispatch() #17 {main} Next 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 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Db/Statement/Pdo.php:234 Stack trace: #0 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array) #1 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #2 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array) #3 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Db/Table/Abstract.php(1575): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #4 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Db/Table/Abstract.php(1390): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select)) #5 /home/c/ci81505/atmosfera-rent/public_html/application/modules/default/views/scripts/index/item.phtml(55): Zend_Db_Table_Abstract->fetchAll('item_id =') #6 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/View.php(108): include('/home/c/ci81505...') #7 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/View/Abstract.php(888): Zend_View->_run('/home/c/ci81505...') #8 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Controller/Action/Helper/ViewRenderer.php(900): Zend_View_Abstract->render('index/item.phtm...') #9 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Controller/Action/Helper/ViewRenderer.php(921): Zend_Controller_Action_Helper_ViewRenderer->renderScript('index/item.phtm...', NULL) #10 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Controller/Action/Helper/ViewRenderer.php(960): Zend_Controller_Action_Helper_ViewRenderer->render() #11 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch() #12 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch() #13 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('itemAction') #14 /home/c/ci81505/atmosfera-rent/public_html/application/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #15 /home/c/ci81505/atmosfera-rent/public_html/index.php(27): Zend_Controller_Front->dispatch() #16 {main}