Ошибка в 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 (3342,4707,4706,4705,4704,4703,4702,4701,4700,4699,4698,4697,4696,4695,4694,4691,4690,4689,4688,4687,4686,3362,3360,3359,3358,3357,3361,3356,3355,3350,3349,3348,3351,3352,3353,3354) AND one_catalog.vendor=705 AND one_tree.visible=1 ORDER BY available DESC, one_tree.num LIMIT 0,100