DB function failed with error number 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 (publish_up = '0000-00-00 00:00:00' OR publish_up <= NOW())
AND (publish_do' at line 3 SQL=Select count(*) from mos_ptdir
WHERE catid=
AND (publish_up = '0000-00-00 00:00:00' OR publish_up <= NOW())
AND (publish_down = '0000-00-00 00:00:00' OR publish_down >= NOW())
AND state > 0
AND access<='0'
ORDER BY nom_pilote