Backtrace: File: /home/grainesc/www/PEAR-1.9.5/MDB2.php Line: 979 Class: PEAR_Error Function: PEAR_Error File: /home/grainesc/www/PEAR-1.9.5/PEAR.php Line: 531 Class: MDB2_Error Function: __construct File: /home/grainesc/www/PEAR-1.9.5/MDB2.php Line: 1500 Class: PEAR Function: raiseError File: /home/grainesc/www/PEAR-1.9.5/MDB2/Driver/mysql.php Line: 811 Class: MDB2_Driver_Common Function: raiseError File: /home/grainesc/www/PEAR-1.9.5/MDB2.php Line: 2629 Class: MDB2_Driver_mysql Function: _doQuery File: /home/grainesc/www/pacome/lib/api/sql_api.php Line: 19 Class: MDB2_Driver_Common Function: query File: /home/grainesc/www/pacome/lib/api/sql_preparation_api.php Line: 52 Class: Function: view_all_data File: /home/grainesc/www/pacome/corpus_intervention.php Line: 39 Class: Function: tableau_donnees MDB2 Error: syntax error _doQuery: [Error message: Could not execute statement] [Last executed query: SELECT * FROM corpus C LEFT OUTER JOIN support S ON ( WHERE = AND date_publication <= NOW() AND etat_validation_page="OK publication";] [Native code: 1064] [Native message: 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 'AND date_publication ]