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 'Elba' ORDER BY `Featured_date` DESC , `T1`.`date` DESC LIMIT 0, 30' at line 1
Query:SELECT SQL_CALC_FOUND_ROWS `T1`.*, `T3`.`Key` AS `Key`, `T3`.`Type` AS `Listing_type`, `T3`.`Parent_keys`, `T3`.`Parent_IDs`, `T3`.`Path` AS `Path`, IF(`T1`.`Date` != `T1`.`HighlightDate` AND `T1`.`HighlightDate` != '0000-00-00 00:00:00', '1', '0') as 'is_highlighted', IF(`T1`.`Featured_date` <> '0000-00-00 00:00:00', '1', '0') `Featured` FROM `fl_listings` AS `T1` LEFT JOIN `fl_categories` AS `T3` ON `T1`.`Category_ID` = `T3`.`ID` WHERE `T1`.`Status` = 'active' AND `T3`.`Type` = 'listings' AND `T1`.`sale_rent` = '2' AND `T1`.`time_frame` = '2' AND `T1`.`locaton` = 'Spiaggia Fetovaia, Campo nell'Elba' ORDER BY `Featured_date` DESC , `T1`.`date` DESC LIMIT 0, 30
Function:getListings
Class:rlListings
File:/hermes/bosnacweb05/bosnacweb05ak/b680/ipg.carobessi/includes/controllers/listing_type.inc.php (line# 417)