Ошибка базы данных: не валидный SQL: SELECT rel.id as relid, rel.pid as pid, s.title as title, s.keywords as keywords, s.description as description FROM new_relations as rel
LEFT JOIN new_structure as s on s.id = rel.cid
WHERE rel.id in ( ) GROUP BY s.id ORDER by s.ordMySQL Error:1064You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') GROUP BY s.id ORDER by s.ord' at line 3Ошибка базы данных: не валидный SQL: SELECT adv.bname as bname, adv.width as width, adv.height as height, rel.id FROM new_adv_types as adv
LEFT JOIN new_relations as rel on rel.cid = adv.id
WHERE rel.pid = GROUP BY rel.idMySQL Error:1064You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUP BY rel.id' at line 3Ошибка базы данных: не валидный SQL: SELECT *, s.name as name, rel.id as id, IF(s.url = '', CONCAT('/', pub.module, '/', rel.id, '/'), s.url) as url FROM new_relations as rel
LEFT JOIN new_structure as s on s.id = rel.cid
LEFT JOIN new_news_cat as cn on cn.id = s.id
LEFT JOIN new_pubtypes as pub on pub.id = 9
WHERE rel.pid= AND s.type = 9 AND s.close = 0 GROUP by rel.idMySQL Error:1064You 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 s.type = 9 AND s.close = 0 GROUP by rel.id' at line 5Ошибка базы данных: не валидный SQL: SELECT grel.id as id, grel.pid as pid, s.closemenu as closemenu, cf.series as series, s.name as name, IF(s.url = '', CONCAT('/', pub.module, '/', grel.id, '/'), s.url) as url FROM new_relations as r1 left JOIN new_relations as r2 on r2.pid = r1.id left JOIN new_relations as r3 on r3.pid = r2.id left JOIN new_structure as s on s.id in (r2.cid, r3.cid)
LEFT JOIN new_pubtypes as pub on pub.id = s.type
LEFT JOIN new_cfolders as cf on cf.id = s.id
LEFT JOIN new_relations as grel on grel.cid = s.id and grel.id in (r1.id, r2.id, r3.id) WHERE r1.id in () AND s.menu1!=1 AND s.menu2!=1 AND s.menu3!=1 AND s.menu4!=1 AND s.type in(1, 2, 3) AND s.close=0 GROUP BY s.id ORDER by s.ord, s.idMySQL Error:1064You 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 s.menu1!=1 AND s.menu2!=1 AND s.menu3!=1 AND s.menu4!=1 AND s.type in(1, 2' at line 4Ошибка базы данных: не валидный SQL: SELECT grel.id as id, grel.pid as pid, s.closemenu as closemenu, cf.series as series, s.name as name, IF(s.url = '', CONCAT('/', pub.module, '/', grel.id, '/'), s.url) as url FROM new_relations as r1 left JOIN new_relations as r2 on r2.pid = r1.id left JOIN new_structure as s on s.id in (r2.cid)
LEFT JOIN new_pubtypes as pub on pub.id = s.type
LEFT JOIN new_cfolders as cf on cf.id = s.id
LEFT JOIN new_relations as grel on grel.cid = s.id and grel.id in (r1.id, r2.id) WHERE r1.id in () AND s.menu1=1 AND s.menu2!=1 AND s.menu3!=1 AND s.menu4!=1 AND s.type in(1, 2, 3) AND s.close=0 GROUP BY s.id ORDER by s.ord, s.idMySQL Error:1064You 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 s.menu1=1 AND s.menu2!=1 AND s.menu3!=1 AND s.menu4!=1 AND s.type in(1, 2,' at line 4