MYSQL ERROR
Error:MySQL server has gone away
Query:SELECT SQL_CALC_FOUND_ROWS IF (FIND_IN_SET('371', `T1`.`Crossed`) > 0, 1, 0) AS `Crossed_listing`, `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`, '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 (`T1`.`Category_ID` = '371' OR (FIND_IN_SET('371', `T1`.`Crossed`) > 0) OR FIND_IN_SET('371', `T3`.`Parent_IDs`) > 0 ) ORDER BY `Featured` DESC , `BumpDate` DESC LIMIT 0, 15
Function:getListings
Class:rlListings
File:/home/sooqbash/public_html/includes/controllers/listing_type.inc.php (line# 396)