Query fallita:
  • Errore numero: 1064
  • Tipo di errore: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-34, 35' at line 20
  • Query: SELECT a.*, UNIX_TIMESTAMP(a.createdon) AS timestamp, UNIX_TIMESTAMP(a.modifiedon) AS modifiedon, DATE(a.modifiedon) AS date, ct.cityname,count(p.adid) AS pics_count, p.picfile, a.slug as adtitleslug,cat.slug as catslug,scat.slug as subcatslug, scat.subcatname, cat.catid, cat.catname,cou.slug AS countryslug,ct.slug AS cityslug,othercontactok, p.timestamp as imgts FROM yad_ads a JOIN yad_cities ct ON a.cityid = ct.cityid JOIN yad_countries cou ON ct.countryid=cou.countryid JOIN yad_subcats scat ON a.subcatid = scat.subcatid JOIN yad_cats cat ON scat.catid = cat.catid LEFT JOIN yad_adpics p ON a.adid = p.adid AND p.isevent = '0' LEFT JOIN yad_areas areas ON a.area = areas.areaid LEFT OUTER JOIN yad_featured feat ON a.adid = feat.adid AND feat.adtype = 'A' WHERE 1 AND a.enabled = '1' AND a.verified = '1' AND a.expireson >= NOW() AND (feat.adid IS NULL OR feat.featuredtill < NOW()) AND ct.countryid = 14 GROUP BY a.adid ORDER BY a.modifiedon DESC LIMIT -34, 35