Exception Object ( [message:protected] => Database error: Invalid SQL: (SELECT NHD.master_name AS neighborhood, NHD.master_area AS area_name, distance, ROUND((with_univ_certificate_degree * 100), 1) AS main_field, (CASE WHEN CAST(with_univ_certificate_degree AS DECIMAL) <= Step1 THEN 'gray' WHEN CAST(with_univ_certificate_degree AS DECIMAL) > Step1 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step2 THEN 'blue' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step2 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step3 THEN 'green' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step3 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step4 THEN 'yellow' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step4 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step5 THEN 'orange' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step5 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step6 THEN 'red' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step6 THEN 'red' END) AS main_field_color FROM map_demographic_neighborhood1 AS NH LEFT JOIN map_demographic_details1 AS NHD ON NHD.cartodb_id = NH.neighbour_id LEFT JOIN map_demographic_data AS M ON M.Category = 'Education' AND M.DB_FieldName = 'with_univ_certificate_degree' WHERE master_id = '299')UNION (SELECT NHD.master_name AS neighborhood, NHD.master_area AS area_name, '0', ROUND((with_univ_certificate_degree * 100), 1) AS main_field, (CASE WHEN CAST(with_univ_certificate_degree AS DECIMAL) <= Step1 THEN 'gray' WHEN CAST(with_univ_certificate_degree AS DECIMAL) > Step1 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step2 THEN 'blue' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step2 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step3 THEN 'green' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step3 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step4 THEN 'yellow' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step4 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step5 THEN 'orange' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step5 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step6 THEN 'red' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step6 THEN 'red' END) AS main_field_color FROM map_demographic_details1 AS NHD LEFT JOIN map_demographic_data AS M ON M.Category = 'Education' AND M.DB_FieldName = 'with_univ_certificate_degree' WHERE cartodb_id = '299') ORDER BY distance ASC LIMIT 1
MySQL Error: 1021 (Disk full (/home/tmp/#sql_14bc_28.MAI); waiting for someone to free some space... (errno: 28 "No space left on device"))
[string:Exception:private] => [code:protected] => 0 [file:protected] => /home/estatebl/public_html/libs/mysql5i.php [line:protected] => 665 [trace:Exception:private] => Array ( [0] => Array ( [file] => /home/estatebl/public_html/libs/mysql5i.php [line] => 514 [function] => halt [class] => DB_Sql [type] => -> [args] => Array ( [0] => Invalid SQL: (SELECT NHD.master_name AS neighborhood, NHD.master_area AS area_name, distance, ROUND((with_univ_certificate_degree * 100), 1) AS main_field, (CASE WHEN CAST(with_univ_certificate_degree AS DECIMAL) <= Step1 THEN 'gray' WHEN CAST(with_univ_certificate_degree AS DECIMAL) > Step1 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step2 THEN 'blue' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step2 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step3 THEN 'green' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step3 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step4 THEN 'yellow' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step4 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step5 THEN 'orange' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step5 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step6 THEN 'red' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step6 THEN 'red' END) AS main_field_color FROM map_demographic_neighborhood1 AS NH LEFT JOIN map_demographic_details1 AS NHD ON NHD.cartodb_id = NH.neighbour_id LEFT JOIN map_demographic_data AS M ON M.Category = 'Education' AND M.DB_FieldName = 'with_univ_certificate_degree' WHERE master_id = '299')UNION (SELECT NHD.master_name AS neighborhood, NHD.master_area AS area_name, '0', ROUND((with_univ_certificate_degree * 100), 1) AS main_field, (CASE WHEN CAST(with_univ_certificate_degree AS DECIMAL) <= Step1 THEN 'gray' WHEN CAST(with_univ_certificate_degree AS DECIMAL) > Step1 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step2 THEN 'blue' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step2 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step3 THEN 'green' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step3 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step4 THEN 'yellow' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step4 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step5 THEN 'orange' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step5 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step6 THEN 'red' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step6 THEN 'red' END) AS main_field_color FROM map_demographic_details1 AS NHD LEFT JOIN map_demographic_data AS M ON M.Category = 'Education' AND M.DB_FieldName = 'with_univ_certificate_degree' WHERE cartodb_id = '299') ORDER BY distance ASC LIMIT 1 ) ) [1] => Array ( [file] => /home/estatebl/public_html/db_access/Demographic.php [line] => 509 [function] => query [class] => DB_Sql [type] => -> [args] => Array ( [0] => (SELECT NHD.master_name AS neighborhood, NHD.master_area AS area_name, distance, ROUND((with_univ_certificate_degree * 100), 1) AS main_field, (CASE WHEN CAST(with_univ_certificate_degree AS DECIMAL) <= Step1 THEN 'gray' WHEN CAST(with_univ_certificate_degree AS DECIMAL) > Step1 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step2 THEN 'blue' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step2 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step3 THEN 'green' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step3 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step4 THEN 'yellow' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step4 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step5 THEN 'orange' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step5 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step6 THEN 'red' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step6 THEN 'red' END) AS main_field_color FROM map_demographic_neighborhood1 AS NH LEFT JOIN map_demographic_details1 AS NHD ON NHD.cartodb_id = NH.neighbour_id LEFT JOIN map_demographic_data AS M ON M.Category = 'Education' AND M.DB_FieldName = 'with_univ_certificate_degree' WHERE master_id = '299')UNION (SELECT NHD.master_name AS neighborhood, NHD.master_area AS area_name, '0', ROUND((with_univ_certificate_degree * 100), 1) AS main_field, (CASE WHEN CAST(with_univ_certificate_degree AS DECIMAL) <= Step1 THEN 'gray' WHEN CAST(with_univ_certificate_degree AS DECIMAL) > Step1 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step2 THEN 'blue' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step2 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step3 THEN 'green' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step3 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step4 THEN 'yellow' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step4 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step5 THEN 'orange' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step5 AND CAST(with_univ_certificate_degree AS DECIMAL) < Step6 THEN 'red' WHEN CAST(with_univ_certificate_degree AS DECIMAL) >= Step6 THEN 'red' END) AS main_field_color FROM map_demographic_details1 AS NHD LEFT JOIN map_demographic_data AS M ON M.Category = 'Education' AND M.DB_FieldName = 'with_univ_certificate_degree' WHERE cartodb_id = '299') ORDER BY distance ASC LIMIT 1 ) ) [2] => Array ( [file] => /home/estatebl/public_html/component/IDXListingComponent.php [line] => 816 [function] => getNeighborhoodUniData [class] => Demographic [type] => -> [args] => Array ( [0] => Array ( [main_category] => Education [sub_category] => % with univ. certificate/degree [rel_field_name] => with_univ_certificate_degree [cartodb_id] => 299 ) ) ) [3] => Array ( [file] => /home/estatebl/public_html/listing.php [line] => 531 [function] => buildUniqueTextData [class] => IDXListingComponent [type] => -> [args] => Array ( [0] => Array ( [MLS_NUM] => R2470603 [MLSP_ID] => 1 [listing_key] => R2470603-1 [resource] => Property [class] => RA_2 [mls_board_name] => Real Estate Board of Greater Vancouver [agent_code] => V83969 [agent_key] => V83969-1 [agent_name] => Arvin Guo [office_code] => V002221 [office_key] => V002221-1 [office_name] => Royal Pacific Realty Corp. [ListingKey] => [PropertyType] => Residential Attached [PropertyTypeNew] => Townhouse [PropertyStyle] => [ListingStatus] => Active [SubType] => Townhouse [OwnershipType] => Freehold Strata [OwnershipTypeNew] => Freehold Strata [Zoning] => [BathsFull] => 2 [BathsHalf] => 1 [Baths] => 3 [Beds] => 3 [TotalAcreage] => 0 [ListPrice] => 899000 [ListMarketPercentage] => 0 [ListMarketPercentageCity] => 0 [OriginalListPrice] => 899000 [SQFT] => 0 [FloorArea] => 1360 [YearBuilt] => 2002 [TotalPhotos] => 28 [Main_Photo] => 1 [Description] => Well kept & centrally located 2 level/3 bedrooms/3 bathrooms/1 den with total 1360 sq ft, double (side by side) garage, corner unit (inside unit not on No.1 Rd) East facing townhouse in prestigious Terra Nova with easy access to all levels of schools, parks, shopping & public transit. New laminate floor, new paint. Features 9 ft ceiling on main, gas cooktop, granite fireplace. Higher ranking school catchments: J N Burnett Secondary and Spulukwuks Elementary best in Richmond. A must see, easy to show! [Description2] => [Stories] => 2 [Parking] => [Levels] => [Elementary_School] => [High_School] => [Middle_School] => [School_District] => [MaintenanceFee] => 318.59 [Tax] => 2329.68 [TaxYear] => 2020 [Region] => [ListingDate] => 2020-06-30 [LastUpdateDate] => 2020-07-03T02:41:35 [LastPhotoDate] => [Pic_Download_Flag] => N [Pic_Updated_Date] => [Pic_Download_Try_Date] => [DisplayAddress] => Yes [PublishOnInternet] => Yes [business_type_major] => [business_type_minor] => [dom] => 6 [tag] => [is_openhouse] => No [vw_is_show_only_processed] => Yes [is_mark_for_deletion] => N [Listing_Created_Date] => 2020-06-30 10:20:03 [is_price_reduced] => N [price_reduced_date] => [cartodb_id_ele_sch] => 95 [cartodb_id_ele_sch_process] => Yes [cartodb_id_mid_sch] => 0 [cartodb_id_mid_sch_process] => Yes [cartodb_id_sec_sch] => 75 [cartodb_id_sec_sch_process] => Yes [cartodb_id_crime] => 28 [cartodb_id_crime_process] => Yes [cartodb_id_demographic1] => 299 [cartodb_id_demographic1_process] => Yes [cartodb_id_demographic2] => 489 [cartodb_id_demographic2_process] => Yes [cartodb_id_flood] => 0 [cartodb_id_flood_process] => Yes [cartodb_id_roads2_bound] => Yes [cartodb_id_roads2_process] => Yes [cartodb_id_rail_skytrain_bound] => No [cartodb_id_rail_skytrain_process] => Yes [cartodb_id_airports_ports_bound] => No [cartodb_id_airports_ports_process] => Yes [cartodb_id_power_bound] => No [cartodb_id_power_process] => Yes [cartodb_id_alr] => 0 [cartodb_id_alr_process] => Yes [cartodb_id_cemeteries] => 0 [cartodb_id_cemeteries_process] => Yes [cartodb_id_city] => 2 [cartodb_id_city_process] => Yes [cartodb_id_area] => 2 [cartodb_id_area_process] => Yes [cartodb_id_subdivision] => 108 [cartodb_id_subdivision_process] => Yes [DeletedDate] => 0000-00-00 00:00:00 [rets_system_key] => 262492230 [display_on_website] => Yes [display_on_website_datetime] => 1593539827 [created_datetime] => 2020-06-30 10:20:03 [updated_datetime] => 2020-07-03 05:20:11 [vw_is_photo_downloaded] => Yes [vw_photo_download_try_datetime] => 2020-07-03 05:53:07 [is_hotdeal] => No [hotdeal_tag] => [hotdeal_description] => null [BasementArea] => [Features] => [Amenities] => [SiteInfluences] => [View] => [Frontage] => [mls_market_sef_url] => lower-mainland [mls_is_pic_url_supported] => No [ListingID_MLS] => R2470603-1 [Area] => Richmond [StreetName] => NO. 1 [StreetNumber] => 6511 [StreetType] => ROAD [UnitNo] => 8 [StreetDirection] => [ZipCode] => V7C 1T4 [CityName] => Richmond [County] => [State] => BC [Subdivision] => Terra Nova [Latitude] => 49.165453700000000 [Longitude] => -123.181389000000000 [DayOnMarket] => 6 [Pic_Path] => https://static.estateblock.com/pictures/property/R2470603-1/0 [mls_disclaimer_big] => The data relating to real estate on this website comes in part from the MLS® Reciprocity program of either the Real Estate Board of Greater Vancouver (REBGV), the Fraser Valley Real Estate Board (FVREB) or the Chilliwack and District Real Estate Board (CADREB). Real estate listings held by participating real estate firms are marked with the MLS® logo and detailed information about the listing includes the name of the listing agent. This representation is based in whole or part on data generated by either the REBGV, the FVREB or the CADREB which assumes no responsibility for its accuracy. The materials contained on this page may not be reproduced without the express written consent of either the REBGV, the FVREB or the CADREB. [PictureArr] => Array ( [0] => https://static.estateblock.com/pictures/property/default/0 ) [LA1_Char100_1] => Arvin Guo [LA1_Email] => arvinguo@royalpacific.com [LA1_LoginName] => V83969 [LA1_PhoneNumber1] => 604-338-8719 [LFD_Amenities_56] => In Suite Laundry [LFD_BasementArea_37] => None [LFD_BylawRestrictions_58] => Pets Allowed w/Rest.,Rentals Allwd w/Restrctns [LFD_Construction_41] => Frame - Wood [LFD_ExteriorFinish_42] => Mixed,Vinyl [LFD_FeaturesIncluded_55] => ClthWsh/Dryr/Frdg/Stve/DW,Fireplace Insert,Garage Door Opener [LFD_FireplaceFueledby_49] => Gas - Natural [LFD_FloorFinish_50] => Laminate,Tile [LFD_FuelHeating_48] => Electric [LFD_MaintFeeIncludes_57] => Garbage Pickup,Gardening,Management,Other,Snow removal [LFD_OutdoorArea_47] => Fenced Yard [LFD_ParkingAccess_45] => Front [LFD_Parking_44] => Garage; Double,Visitor Parking [LFD_Renovations_35] => Partly [LFD_Roof_43] => Asphalt [LFD_ServicesConnected_38] => Electricity,Natural Gas,Water [LFD_SiteInfluences_46] => Central Location,Recreation Nearby,Shopping Nearby [LFD_StyleofHome_32] => 2 Storey,Corner Unit [LFD_WaterSupply_39] => City/Municipal [LM_char100_1] => 025-502-174 [LM_Char10_10] => Attached [LM_Char10_11] => Townhouse [LM_Char10_12] => Freehold Strata [LM_Char10_13] => Yes [LM_Char10_15] => No [LM_Char10_17] => ZT47 [LM_Char10_18] => Concrete Perimeter [LM_Char10_25] => Living Room [LM_Char10_4] => Greater Vancouver [LM_Char10_5] => Terra Nova [LM_Char10_6] => Real Estate Board of Greater Vancouver [LM_char10_75] => City/Municipal [LM_Char1_1] => No [LM_Char1_2] => Yes [LM_Char1_3] => No [LM_char1_36] => Residential Attached [LM_Char1_9] => No [LM_char255_1] => 3%-1ST $100K/1% ON THE BAL [LM_Char25_16] => Main [LM_Char25_17] => Above [LM_Char25_18] => Above [LM_char30_2] => SOLUTION PROPERTY [LM_char50_11] => FRONT [LM_Char50_5] => VENICE COURT [LM_char5_10] => Main [LM_char5_11] => Dining Room [LM_char5_12] => 11'4 [LM_char5_13] => 9'6 [LM_char5_14] => Main [LM_char5_15] => Kitchen [LM_char5_16] => 9'8 [LM_char5_17] => 8'6 [LM_char5_18] => Above [LM_char5_19] => Master Bedroom [LM_char5_20] => 12'6 [LM_char5_21] => 13'10 [LM_char5_22] => Above [LM_char5_23] => Bedroom [LM_char5_24] => 9'1 [LM_char5_25] => 11'2 [LM_char5_26] => Above [LM_char5_27] => Bedroom [LM_char5_28] => 9'1 [LM_char5_29] => 12'6 [LM_char5_30] => Above [LM_char5_31] => Den [LM_char5_32] => 6'8 [LM_char5_33] => 7'8 [LM_char5_6] => Feet [LM_char5_7] => Main [LM_char5_8] => 15'10 [LM_char5_9] => 11'10 [LM_Dec_1] => 522 [LM_Dec_11] => 0.00 [LM_Dec_12] => 0.00 [LM_Dec_13] => 0.00 [LM_Dec_14] => 0.00 [LM_Dec_16] => 2329.68 [LM_Dec_2] => 838 [LM_Dec_22] => 318.59 [LM_Dec_5] => 1360 [LM_Dec_7] => 1360 [LM_Int1_1] => 2 [LM_Int1_10] => 4 [LM_Int1_11] => 4 [LM_Int1_17] => 1 [LM_Int1_18] => 2 [LM_Int1_19] => 3 [LM_Int1_2] => 1 [LM_Int1_20] => 4 [LM_Int1_4] => 3 [LM_Int1_6] => 3 [LM_Int1_7] => 7 [LM_Int1_8] => 1 [LM_Int1_9] => 2 [LM_Int2_2] => 2002 [LM_Int2_3] => 18 [LM_Int2_5] => 2020 [LM_Int2_6] => 2 [LM_Int2_7] => 2 [LM_Int4_2] => 12 [LO1_OrganizationName] => Royal Pacific Realty Corp. [LO1_PhoneNumber1] => 604-266-8989 [LO1_ShortName] => V002221 [LO1_WebPage] => http://www.royalpacific.com [LR_remarks22] => Well kept & centrally located 2 level/3 bedrooms/3 bathrooms/1 den with total 1360 sq ft, double (side by side) garage, corner unit (inside unit not on No.1 Rd) East facing townhouse in prestigious Terra Nova with easy access to all levels of schools, parks, shopping & public transit. New laminate floor, new paint. Features 9 ft ceiling on main, gas cooktop, granite fireplace. Higher ranking school catchments: J N Burnett Secondary and Spulukwuks Elementary best in Richmond. A must see, easy to show! [LV_vow_address] => Yes [LV_vow_include] => Yes [L_Address] => 8 6511 NO. 1 ROAD [L_AddressNumber] => 6511 [L_AddressStreet] => NO. 1 [L_AddressUnit] => 8 [L_Area] => Richmond [L_AskingPrice] => 899000 [L_CDOM] => 2 [L_City] => Richmond [L_DisplayId] => R2470603 [L_DOM] => 2 [L_ExpirationDate] => 2020-12-30 [L_IdxInclude] => Yes [L_InputDate] => 2020-06-30T16:47:19 [L_Last_Photo_updt] => 2020-06-30T17:12:31 [L_ListAgent1] => 60669 [L_ListingDate] => 2020-06-30 [L_ListingID] => 262492230 [L_ListOffice1] => 3336 [L_OriginalPrice] => 899000 [L_PictureCount] => 28 [L_PricePerSQFT] => 661.03 [L_Remarks] => STRATA LOT 8, BLOCK 4N, PLAN BCS89, SECTION 10, RANGE 7W, NEW WESTMINSTER LAND DISTRICT, TOGETHER WITH AN INTEREST IN THE COMMON PROPERTY IN PROPORTION TO THE UNIT ENTITLEMENT OF THE STRATA LOT AS SHOWN ON FORM V [L_State] => BC [L_Status] => Active [L_StreetDesignationId] => ROAD [L_Type_] => Townhouse [L_UpdateDate] => 2020-07-03T02:41:35 [L_Zip] => V7C 1T4 [Section] => mls ) ) ) ) [previous:Exception:private] => )