select a0.*,c.*,nom_fichier from phantom_arbre a0 inner join phantom_arbre a1 on a1.arbre_id=a0.pere inner join phantom_contenu c1 on a1.arbre_id=c1.arbre_id and c1.langue_id= and c1.nom='15' inner join phantom_arbre a2 on a2.arbre_id=a1.pere inner join phantom_contenu c2 on a2.arbre_id=c2.arbre_id and c2.langue_id= and c2.nom='01' inner join phantom_arbre a3 on a3.arbre_id=a2.pere inner join phantom_contenu c3 on a3.arbre_id=c3.arbre_id and c3.langue_id= and c3.nom='2015' inner join phantom_arbre a4 on a4.arbre_id=a3.pere inner join phantom_contenu c4 on a4.arbre_id=c4.arbre_id and c4.langue_id= and c4.nom='article' inner join phantom_arbre a5 on a5.arbre_id=a4.pere inner join phantom_contenu c5 on a5.arbre_id=c5.arbre_id and c5.langue_id= and c5.nom='actualite-medias' inner join phantom_contenu c on a0.arbre_id=c.arbre_id and c.langue_id= inner join phantom_gabarit g on g.gabarit_id=a0.gabarit_id where c.nom ='le-nouveau-siege-du-groupe-le-monde_4557039_3236.html' and a0.etat_id=1 and a0.supprimer=0 and (a0.root=1 or a0.root is null)
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 c1.nom='15' inner join phantom_arbre a2 on a2.arbre_id=a1.pere inner join ph' at line 3