MYSQL ERROR
Error:Disk full (/tmp/#sql_874_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Query:SELECT DISTINCT `T1`.*, `T4`.`Path`, `T4`.`Parent_ID`, `T4`.`Type` AS `Listing_type` FROM `ra_listings` AS `T1` LEFT JOIN `ra_listing_plans` AS `T2` ON `T1`.`Featured_ID` = `T2`.`ID` LEFT JOIN `ra_listing_plans` AS `T3` ON `T1`.`Plan_ID` = `T3`.`ID` LEFT JOIN `ra_categories` AS `T4` ON `T1`.`Category_ID` = `T4`.`ID` LEFT JOIN `ra_accounts` AS `T7` ON `T1`.`Account_ID` = `T7`.`ID` WHERE ( TIMESTAMPDIFF(HOUR, `T1`.`Featured_date`, NOW()) <= `T2`.`Listing_period` * 24 OR `T2`.`Listing_period` = 0 ) AND ( TIMESTAMPDIFF(HOUR, `T1`.`Pay_date`, NOW()) <= `T3`.`Listing_period` * 24 OR `T3`.`Listing_period` = 0 ) AND `T4`.`Type` = 'girls' AND `T1`.`Status` = 'active' AND `T4`.`Status` = 'active' AND `T7`.`Status` = 'active' GROUP BY `T1`.`ID` ORDER BY `Last_show` ASC, RAND() LIMIT 4
Function:getFeatured
Class:rlListings
File:/home/hkchris/public_html/includes/classes/rlListings.class.php (line# 2381)