Script Error: Query failed
select
b.name as status,
c.name as category,
d.name as property_type,
a.street_name,
a.street_direction,
a.street_number,
a.unit_number,
e.city,
f.region,
r.county,
a.postal_code,
g.neighbourhood,
h.school_district,
i.township,
j.name as zonning,
k.name as office_name,
k.phone as office_phone,
l.first_name as agent_first_name,
l.last_name as agent_last_name,
l.phone as agent_phone,
l.email as agent_email,
l.mobile as agent_mobile,
trim(to_char(a.price,'999,999,999,999')) as price,
a.listing_date,
a.mls_listing_number,
a.total_rooms,
a.bedrooms,
a.full_baths,
a.partial_baths,
a.latitude,
a.longitude,
m.new_construction,
m.farmhouse,
m.basement,
m.garage,
m.central_air,
m.water_front,
m.condo_association,
m.house_association,
m.family_room,
m.dining_room,
m.fireplace,
m.old_house,
m.swimming_pool,
m.property_age,
m.property_sqft,
m.land_sqft,
m.levels,
m.lot_dimensions,
m.total_acres,
n.name as elementary_school,
o.name as middle_school,
p.name as high_school,
m.association_fee,
m.association_fee_freq,
m.assessment_value,
m.tax_year,
m.total_real_estate_taxes,
m.trend_map_coord,
m.appointment_contact_phone,
m.buyer_person_commission,
m.dual_variable,
m.subagent_commission,
m.trans_broker_commission,
m.lb_bonus,
m.sign_on_loc,
m.model_name,
m.builder_name,
m.depth_footage,
m.front_footage,
m.virtual_tour_1,
m.virtual_tour_2,
m.virtual_tour_3,
q.directions,
q.remarks
from
property a left outer join status b on (a.status_id=b.status_id)
left outer join category c on (a.category_id=c.category_id)
left outer join property_type d on (a.property_type_id=d.property_type_id)
left outer join neighbourhood g on (a.neighbourhood_id=g.neighbourhood_id)
left outer join school_district h on (a.school_district_id=h.school_district_id)
left outer join township i on (a.township_id=i.township_id)
left outer join zoning j on (a.zoning_id=j.zoning_id)
left outer join person l on (a.person_id=l.person_id),
city e,
region f,
office k,
property_extended m
left outer join elementary_school n on (m.elementary_school_id=n.elementary_school_id)
left outer join middle_school o on (m.middle_school_id=o.middle_school_id)
left outer join high_school p on (p.high_school_id=p.high_school_id),
property_extended_b q,
county r
where
a.property_id=451586 and
a.city_id=e.city_id and
e.region_id=f.region_id and
a.office_id=k.office_id and
a.property_id=m.property_id and
a.property_id=q.property_id and
a.county_id=r.county_id
in source file at line 9 col 1
in db(trendmls-features.xml) at line 9, column 1
in db(trend_agent_features.xml) at line 6, column 1
in /var/www/netmls/site_setup.pie at line 9, column 1