MYSQL ERROR
Error:Error writing file '/tmp/MYfd=993' (OS errno 28 - No space left on device)
Query:SELECT IF (FIND_IN_SET('79', `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`.`Parent_IDs`, IF( `T1`.`Sub_status`='invisible' OR `T1`.`Sub_status` = 'visible', `T1`.`Main_photo`, IF(`T1`.`Main_photo`='',`T1`.`Main_photo`,CONCAT( SUBSTRING_INDEX(`T1`.`Main_photo`, '.', 1), '_', `T1`.`Sub_status` ,'_en', '.', SUBSTRING_INDEX(`T1`.`Main_photo`, '.', -1)))) AS `Main_photo` ,IF( `T1`.`Sub_status`='invisible' OR `T1`.`Sub_status` = 'visible', `T1`.`Main_photo_x2`, IF(`T1`.`Main_photo_x2`='',`T1`.`Main_photo_x2`,CONCAT( SUBSTRING_INDEX(`T1`.`Main_photo_x2`, '.', 1), '_', `T1`.`Sub_status` ,'_en', '.', SUBSTRING_INDEX(`T1`.`Main_photo_x2`, '.', -1)))) AS `Main_photo_x2` ,IF(`T1`.`Featured_date`, IF(`T1`.`Plan_ID` = 41 || `T1`.`Plan_ID` = 44, '3', IF(`T1`.`Plan_ID` = 41 || `T1`.`Plan_ID` = 44, '2', 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` = '79' OR (FIND_IN_SET('79', `T1`.`Crossed`) > 0) OR FIND_IN_SET('79', `T3`.`Parent_IDs`) > 0 ) AND `T1`.`Sub_status` <> 'invisible' ORDER BY `Featured` DESC , `T1`.`date` DESC LIMIT 1770, 30
Function:getListings
Class:rlListings
File:/var/www/html/includes/controllers/listing_type.inc.php (line# 399)