DEBUG MODE: ON MySQL error message: SQL Query: select count(*) as cnt from bre_lang1_properties a, bre_lang1_countries b where a.country=b.id and (a.country = 173 AND type = 5 AND sale = 1 AND (status = 1 OR status = 3 OR status = 4)) and status!=2 ORDER BY status asc ,price asc DEBUG MODE: ON MySQL error message: SQL Query: select a.*,b.continent from bre_lang1_properties a, bre_lang1_countries b where a.country=b.id and (a.country = 173 AND type = 5 AND sale = 1 AND (status = 1 OR status = 3 OR status = 4)) and status!=2 ORDER BY status asc ,price asc LIMIT 120, 20