Erreur générée dans le fichier /var/web/sttourisme/htdocs/lib/framework/modules/fwDatabase/fwDatabase_Query.class.php, ligne 144 :
ERREUR SQL : #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 'AND m.menuitems_bd < AND m.menus_id = "" AND m.menuitems_active = "Y" AND diff.d' at line 1
QUERY : SELECT m.menuitems_id AS m__menuitems_id, m.menus_id AS m__menus_id, m.menuitems_active AS m__menuitems_active, m.menuitems_profil AS m__menuitems_profil, m.agences_id AS m__agences_id, m.permaliens_id AS m__permaliens_id, m.menuitems_gabarit AS m__menuitems_gabarit, m.jeuxattributs_id AS m__jeuxattributs_id, m.menuitems_code AS m__menuitems_code, m.menuitems_catalogue AS m__menuitems_catalogue, m.menuitems_bg AS m__menuitems_bg, m.menuitems_bd AS m__menuitems_bd, m.menuitems_niveau AS m__menuitems_niveau, m.parents_id AS m__parents_id, m.menuitems_visible AS m__menuitems_visible, m.menuitems_cliquable AS m__menuitems_cliquable, m.menuitems_campagne AS m__menuitems_campagne, m.menuitems_format AS m__menuitems_format, m.menuitems_ancre AS m__menuitems_ancre, m.menuitems_cadeau AS m__menuitems_cadeau, t.menuitems_id AS t__menuitems_id, t.lang AS t__lang, t.meta_title AS t__meta_title, t.meta_description AS t__meta_description, t.meta_keywords AS t__meta_keywords, t.alt_bandeau AS t__alt_bandeau, t.alt_image AS t__alt_image, t.menuitems_libellemenu AS t__menuitems_libellemenu, t.menuitems_libellepage AS t__menuitems_libellepage, t.menuitems_bandeau AS t__menuitems_bandeau, t.menuitems_image AS t__menuitems_image, t.menuitems_accroche AS t__menuitems_accroche, t.menuitems_resume AS t__menuitems_resume, t.menuitems_description AS t__menuitems_description, t.menuitems_lien AS t__menuitems_lien, t.menuitems_target AS t__menuitems_target, pl.permaliens_id AS pl__permaliens_id, pl.permaliens_active AS pl__permaliens_active, pl.permaliens_type AS pl__permaliens_type, pl.permaliens_301 AS pl__permaliens_301, plt.permaliens_id AS plt__permaliens_id, plt.lang AS plt__lang, plt.permaliens_lien AS plt__permaliens_lien, me.menus_id AS me__menus_id, me.menus_active AS me__menus_active, me.menus_code AS me__menus_code, me.menus_accueil AS me__menus_accueil, me.menus_ordre AS me__menus_ordre, met.menus_id AS met__menus_id, met.lang AS met__lang, met.menus_libelle AS met__menus_libelle, diff.domaines_id AS diff__domaines_id, diff.instances_id AS diff__instances_id, diff.instances_type AS diff__instances_type, diff.domaines_diffusion_active AS diff__domaines_diffusion_active, t.menuitems_libellemenu AS menuitems_instance FROM menuitems m LEFT JOIN menuitems_translation t ON m.menuitems_id = t.menuitems_id LEFT JOIN permaliens pl ON m.permaliens_id = pl.permaliens_id LEFT JOIN permaliens_translation plt ON pl.permaliens_id = plt.permaliens_id AND plt.lang = "fr" LEFT JOIN menus me ON m.menus_id = me.menus_id LEFT JOIN menus_translation met ON me.menus_id = met.menus_id LEFT JOIN domaines_diffusion diff ON me.menus_id = diff.instances_id AND diff.instances_type = "menus" WHERE m.menuitems_bg > AND m.menuitems_bd < AND m.menus_id = "" AND m.menuitems_active = "Y" AND diff.domaines_id = 1 AND diff.domaines_diffusion_active = "Y" AND t.lang = "fr" AND met.lang = "fr" ORDER BY m.menus_id ASC, m.menuitems_bg ASC