I installed script .It was working fine since one month but today this error is coming.Please be advice.
Link SELECT a.*, UNIX_TIMESTAMP(a.createdon) AS timestamp, ct.cityname, COUNT(*) AS piccount, p.picfile, scat.subcatname, cat.catid, cat.catname FROM clf_ads a INNER JOIN clf_cities ct ON a.cityid = ct.cityid INNER JOIN clf_subcats scat ON a.subcatid = scat.subcatid INNER JOIN clf_cats cat ON scat.catid = cat.catid LEFT OUTER JOIN clf_adxfields axf ON a.adid = axf.adid LEFT OUTER JOIN clf_adpics p ON a.adid = p.adid AND p.isevent = '0' LEFT OUTER JOIN clf_featured feat ON a.adid = feat.adid AND feat.adtype = 'A' WHERE scat.catid = 1 AND a.enabled = '1' AND a.verified = '1' AND a.expireson >= NOW() AND (feat.adid IS NULL OR feat.featuredtill < NOW()) AND a.cityid = 21 GROUP BY a.adid ORDER BY a.createdon DESC LIMIT 0, 50Can't create/write to file '/root/tmp/#sql_ddc_0.MYI' (Errcode: 2)

9 Years
Discussion Span
Last Post by johnsquibb
Can't create/write to file '/root/tmp/#sql_ddc_0.MY

might be a permissions issue. Make sure folder /root/tmp/ has writable permissions

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.