Can't create/write to file '/tmp/#sql_346_0.MAI' (Errcode: 28 "No space left on device")SELECT a.*, COUNT(*) AS piccount, p.picfile,
UNIX_TIMESTAMP(a.createdon) AS timestamp, ct.cityname,
UNIX_TIMESTAMP(a.starton) AS starton, UNIX_TIMESTAMP(a.endon) AS endon
FROM phpas_events a
INNER JOIN phpas_featured feat ON a.adid = feat.adid AND feat.adtype = 'E' AND feat.featuredtill >= NOW()
INNER JOIN phpas_cities ct ON a.cityid = ct.cityid
LEFT OUTER JOIN phpas_adpics p ON a.adid = p.adid AND p.isevent = '1'
WHERE (starton <= '2020-10-22' AND endon >= '2020-10-22')
AND a.enabled = '1' AND a.verified = '1' AND a.expireson >= NOW()
AND a.cityid = 68
GROUP BY a.adid
ORDER BY a.starton DESC |