India / Delhi Classifieds / Services / Others
MySQL server has gone away : SELECT COUNT(a.adid) AS adcount FROM adoos_ads a INNER JOIN adoos_cities ct ON a.cityid = ct.cityid INNER JOIN adoos_subcats scat ON a.subcatid = scat.subcatid INNER JOIN adoos_cats cat ON scat.catid = cat.catid LEFT OUTER JOIN adoos_adxfields axf ON a.adid = axf.adid LEFT OUTER JOIN adoos_featured feat ON a.adid = feat.adid AND feat.adtype = 'A' WHERE a.subcatid = 78 AND a.enabled = '1' AND a.verified = '1' AND a.expireson >= NOW() AND a.paid <> '0' AND (feat.adid IS NULL OR feat.featuredtill < NOW()) AND a.cityid = 4