MYSQL ERROR
Error: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 'DESCLIMIT 0, 10' at line 5
Query:SELECT IF (FIND_IN_SET('90', `T1`.`Crossed`) > 0, 1, 0) AS `Crossed_listing`, `T1`.*, `T3`.`Path` AS `Path`, `T3`.`Key` AS `Key`, `T3`.`Type` AS `Listing_type`, `T3`.`Parent_keys`, `T3`.`Modified` AS `Modified`, (CASE WHEN FIND_IN_SET('services_no_meeting', `T1`.`services`) THEN 2 WHEN `T1`.`Ad_Type` = 'system' THEN 1 ELSE 3 END) AS `ord_type`,IF(`T1`.`Featured_date`, '1', '0') `Featured` FROM `fl_listings` AS `T1` LEFT JOIN `fl_categories` AS `T3` ON `T1`.`Category_ID` = `T3`.`ID` LEFT JOIN `fl_escort_tours` AS `T8` ON `T1`.`ID` = `T8`.`Listing_ID` WHERE `T1`.`Status` = 'active' AND (`T1`.`Category_ID` = '90' OR (FIND_IN_SET('90', `T1`.`Crossed`) > 0) OR FIND_IN_SET('90', `T3`.`Parent_IDs`) > 0 ) AND `T8`.`city` = 'city_oslo' GROUP BY `T1`.`ID` ORDER BY `ord_type` ASC, (`T1`.`Ad_Type` = 'system') DESC, (`T1`.`language` = 'languages_norwegian') DESC, (`T1`.`language` = 'languages_swedish') DESC, (`T1`.`language` = 'languages_danish') DESC,`T1`.`date` DESC, `Featured` DESC, LENGTH(services) - LENGTH(REPLACE(services, ',', '')) ASC , `Pay_date` DESCLIMIT 0, 10
Function:getListings
Class:rlListings
File:/var/www/html/paratube.com/includes/controllers/rss_feed.inc.php (line# 121)