Error: Can't create/write to file '/var/tmp/#sql_72d_0.MAI' (Errcode: 28)
Error No: 1
SELECT *, pd.name AS name, p.image FROM ohm_event p LEFT JOIN ohm_event_description pd ON (p.event_id = pd.event_id) LEFT JOIN ohm_event_to_category p2c ON (p.event_id = p2c.event_id) WHERE p.status = '1' AND p.date_available <= NOW() AND pd.language_id = '1' AND p2c.category_id = '31' AND DATE(p.date_end)>=DATE(NOW()) ORDER BY p.date_start DESC LIMIT 0,1000