Ошибка в SQL-запросе: SELECT DISTINCT one_catalog.*, one_tree.* FROM one_catalog INNER JOIN one_tree ON one_catalog.tree=one_tree.id WHERE site=1 AND one_tree.id IN (7914,8096,8095,8041,8040,8039,7968,7967,7966,7961,7951,7945,7924,7920,7919,7915) AND one_catalog.vendor=2418 AND one_tree.visible=1 ORDER BY available DESC, one_tree.num LIMIT 0,100