ack! query failed:
  • errorno=1064
  • error=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 '' at line 1
  • query=select distinct p.property_id from properties as p, property_categories as c where p.location_code=0 and p.property_id=c.property_id and p.propstatus!='SOLD OUT' limit ,