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 /home/special/public_html/Zend/Db/Statement/Pdo.php:238 Stack trace: #0 /home/special/public_html/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array) #1 /home/special/public_html/Zend/Db/Adapter/Abstract.php(433): Zend_Db_Statement->execute(Array) #2 /home/special/public_html/Zend/Db/Adapter/Pdo/Abstract.php(230): Zend_Db_Adapter_Abstract->query('SELECT A.*,C.*,...', Array) #3 /home/special/application/controllers/IndexController.php(47): Zend_Db_Adapter_Pdo_Abstract->query('SELECT A.*,C.*,...') #4 /home/special/public_html/Zend/Controller/Action.php(503): IndexController->indexAction() #5 /home/special/public_html/Zend/Controller/Dispatcher/Standard.php(285): Zend_Controller_Action->dispatch('indexAction') #6 /home/special/public_html/Zend/Controller/Front.php(934): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #7 /usr/share/php/Zend/Application/Bootstrap/Bootstrap.php(77): Zend_Controller_Front->dispatch() #8 /usr/share/php/Zend/Application.php(358): Zend_Application_Bootstrap_Bootstrap->run() #9 /home/special/public_html/index.php(30): Zend_Application->run() #10 {main}