Erreur : SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND mp.lang_id=1 AND p.lang_id=1 AND mp.projet_id = 1 ORDER BY mp.position' at line 3 N∞ : 42000 Query : SELECT mp.*, p.rewrite_url, p.lang_id, p.template_id, p.id as p_id, p.parent_id as p_parent_id FROM `linguizzetta_menu_page` as mp
LEFT JOIN `linguizzetta_page` as p ON p.id = mp.page_id
WHERE mp.page_id= AND mp.lang_id=1 AND p.lang_id=1 AND mp.projet_id = 1 ORDER BY mp.position
Erreur : SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND mp.lang_id=1 AND p.lang_id=1 AND mp.projet_id = 1 ORDER BY mp.position' at line 3 N∞ : 42000 Query : SELECT mp.*, p.rewrite_url, p.lang_id, p.template_id, p.id as p_id, p.parent_id as p_parent_id FROM `linguizzetta_menu_page` as mp
LEFT JOIN `linguizzetta_page` as p ON p.id = mp.page_id
WHERE mp.page_id= AND mp.lang_id=1 AND p.lang_id=1 AND mp.projet_id = 1 ORDER BY mp.position Erreur : SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND lang_id=1 AND projet_id = 1 LIMIT 1' at line 1 N∞ : 42000 Query : SELECT * FROM `linguizzetta_page` WHERE id= AND lang_id=1 AND projet_id = 1 LIMIT 1 Erreur : SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND lang_id=1 AND projet_id = 1 LIMIT 1' at line 1 N∞ : 42000 Query : SELECT * FROM `linguizzetta_menu_page` WHERE page_id= AND lang_id=1 AND projet_id = 1 LIMIT 1