21
Weather Website PHP/AJAX scripting / Re: Warning: Undefined array key "properties" in advforecast2.php on line 2412
« Last post by saratogaWX on Yesterday at 07:49:08 PM »You do have a few updates to do from 30-Jan-2024, but like you say, it doesn't impact advforecast2.php V5.19 which is current.
Your Settings.php has
Also change
Hopefully, that will fix the issue...
Your Settings.php has
Quote
$SITE['NWSforecasts'] = array( // for the advforecast2.php V3.xx version scriptand the Zone has recently changed for your selected location to be ORZ118 so that should appear as
// use "Zone|Location|Point-printableURL", as entries .. first one will be the default forecast.
"ORZ008|Springfield|http://forecast.weather.gov/MapClick.php?CityName=Springfield&state=OR&site=PQR&lat=44.058&lon=-123.006"
);
Quote
$SITE['NWSforecasts'] = array( // for the advforecast2.php V3.xx version script
// use "Zone|Location|Point-printableURL", as entries .. first one will be the default forecast.
"ORZ118|Springfield|http://forecast.weather.gov/MapClick.php?CityName=Springfield&state=OR&site=PQR&lat=44.058&lon=-123.006"
);
Also change
Quote
$SITE['noaazone'] = 'ORZ008';to
Quote
$SITE['noaazone'] = 'ORZ118';
Hopefully, that will fix the issue...