|
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 4 SQL=SELECT COUNT(*) FROM mos_ptdir LEFT JOIN mos_membership AS s1 ON s1.fullName = company 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' AND s1.id2 |
