Невозможно выполнить запрос к БД: 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 '-25,25' at line 45
SELECT
				imn.id as 'part_id',
				ap.subject as 'name',
				ap.price as 'price',
				ap.articul as 'art',
				imnf.fFoto as 'image',
				imn.rTrader as 'firm_id',
				cn.id as 'model_id',
				cn.l1 as 'model',
				cn.l2 as 'model_url',
				cn2.id as 'mark_id',
				cn2.l1 as 'mark',
				cn2.l2 as 'mark_url',
				cn3.l1 as 'group',
				ap.images_dir as 'images_dir',
				ap.images_disk as 'images',
				IF(ap.fid = 'yes',0,IF(ap.status_delete IS NULL,0,1)) as 'deleted',
				IF(ap.feed = 'yes',0,1) as 'no_avito'
			FROM
				Site2.IssMarketNew imn
				LEFT JOIN
					Site2.IssMarketNewFoto as imnf ON imn.id = imnf.rPosition
				INNER JOIN
					AutoBase.AvitoParts2 ap ON imn.id = ap.id_part
				INNER JOIN
					Site2.CatalogNew cn ON imn.c02 = cn.id
				INNER JOIN
					Site2.CatalogNew cn2 ON cn.rParent = cn2.id
				INNER JOIN
					Site2.CatalogNew cn3 ON imn.c01 = cn3.id
			WHERE
				ABS(imn.rDealers)=110843 AND
				imn.c01>0 AND
				imn.c02>0 AND
				cn2.l2 = 'Infiniti' AND
				cn.l1 = 'FX S50' AND
				cn3.l1 = 'Тормозная система' AND
				 imn.rTrader IN ('292320') 
			GROUP BY
				imn.id
			ORDER BY
				ap.price ASC,
				ap.subject ASC
			LIMIT
				-25,25