Application Error

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 ') ORDER BY `id` ASC' at line 1' in /home/associatvy/www/PHP-INF/library/Zend/Db/Statement/Pdo.php:238 Stack trace: #0 /home/associatvy/www/PHP-INF/library/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array) #1 /home/associatvy/www/PHP-INF/library/Zend/Db/Adapter/Abstract.php(406): Zend_Db_Statement->execute(Array) #2 /home/associatvy/www/PHP-INF/library/Zend/Db/Adapter/Pdo/Abstract.php(206): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array) #3 /home/associatvy/www/PHP-INF/library/Zend/Db/Table/Abstract.php(1185): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #4 /home/associatvy/www/PHP-INF/library/Zend/Db/Table/Abstract.php(1040): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select)) #5 /home/associatvy/www/PHP-INF/FrontOffice/controllers/CollectionController.php(228): Zend_Db_Table_Abstract->fetchAll('id_artiste = ', 'id') #6 /home/associatvy/www/PHP-INF/FrontOffice/controllers/CollectionController.php(199): CollectionController->milieufiche() #7 /home/associatvy/www/PHP-INF/library/Zend/Controller/Action.php(502): CollectionController->milieuAction() #8 /home/associatvy/www/PHP-INF/library/Zend/Controller/Dispatcher/Standard.php(293): Zend_Controller_Action->dispatch('milieuAction') #9 /home/associatvy/www/PHP-INF/library/Zend/View/Helper/Action.php(136): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #10 [internal function]: Zend_View_Helper_Action->action('milieu', 'collection') #11 /home/associatvy/www/PHP-INF/library/Zend/View/Abstract.php(300): call_user_func_array(Array, Array) #12 /home/associatvy/www/PHP-INF/FrontOffice/views/scripts/collection/layout.phtml(134): Zend_View_Abstract->__call('action', Array) #13 /home/associatvy/www/PHP-INF/FrontOffice/views/scripts/collection/layout.phtml(134): Zend_View->action('milieu', 'collection') #14 /home/associatvy/www/PHP-INF/library/Zend/View.php(46): include('/home/associatv...') #15 /home/associatvy/www/PHP-INF/library/Zend/View/Abstract.php(769): Zend_View->_run('PHP-INF/FrontOf...') #16 /home/associatvy/www/PHP-INF/library/Zend/Layout.php(728): Zend_View_Abstract->render('collection/layo...') #17 /home/associatvy/www/PHP-INF/library/Zend/Layout/Controller/Plugin/Layout.php(142): Zend_Layout->render() #18 /home/associatvy/www/PHP-INF/library/Zend/Controller/Plugin/Broker.php(337): Zend_Layout_Controller_Plugin_Layout->postDispatch(Object(Zend_Controller_Request_Http)) #19 /home/associatvy/www/PHP-INF/library/Zend/Controller/Front.php(925): Zend_Controller_Plugin_Broker->postDispatch(Object(Zend_Controller_Request_Http)) #20 /home/associatvy/www/index.php5(102): Zend_Controller_Front->dispatch() #21 {main}