Retrouvez nous sur Facebook
Signaler un problème
SQL Error
(SELECT art.intitule_long,
art.intitule,
NULL as sartu,
art.url as artu,
cat.url as catu,
the.url as theu
FROM portail_page AS art,
portail_page AS cat,
portail_page AS the,
portail_page_parent AS par,
portail_page_parent AS pare,
portail_model_page as pm,
portail_model as m
WHERE art.id=pm.id_portail_page
AND pm.id_portail_model=m.id
AND m.id=
AND pare.id_portail_page=art.id
AND pare.id_portail_page_parent=par.id_portail_page
AND par.id_portail_page=cat.id
AND par.id_portail_page_parent=the.id
AND art.visible=1
AND art.id_portail_page_type=3)
UNION
(SELECT sart.intitule_long,
sart.intitule,
sart.url as sartu,
art.url as artu,
cat.url as catu,
the.url as theu
FROM portail_page AS sart,
portail_page AS art,
portail_page AS cat,
portail_page AS the,
portail_page_parent AS par,
portail_page_parent AS pare,
portail_page_parent AS pares,
portail_model_page as pm,
portail_model as m
WHERE sart.id=pm.id_portail_page
AND pm.id_portail_model=m.id
AND m.id=
AND pare.id_portail_page=sart.id
AND pare.id_portail_page_parent=par.id_portail_page
AND par.id_portail_page=art.id
AND par.id_portail_page_parent=pares.id_portail_page
AND pares.id_portail_page=cat.id
AND pares.id_portail_page_parent=the.id
AND sart.visible=1
AND sart.id_portail_page_type=9)
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 pare.id_portail_page=art.id
AND pare.id_portail_page_parent=par' at line 17