Trouble with WU forecasts
Posted: Mon 17 Jan 2022 8:00 am
So in my Cumulus Settings.php file, I changed this line accordingly:
$SITE['fcsturlWC'] = 'Maryborough, Queensland, Australia|-25.5385,152.7034'; // default forecast, should match first line in $SITE['WCforecasts']
So then below, as specified I add:
$SITE['WCforecasts'] = array(
// Location name to display|lat,long (separated by | character)
'Maryborough, Queensland, Australia|-25.5385,152.7034',
'Saratoga, CA, USA|37.27465,-122.02295',
<more towns here>
But after I reupload my Settings file, the forecasts are still stuck on the default (Saratoga's) conditions, despite adding my city to the $SITE['fcsturlWC'] line.
But here's the kicker; if I just add the line 'Maryborough, Queensland, Australia|-25.5385,152.7034', at the bottom of the other cities under ['WCforecasts'], without modifying the ['fcsturlWC'] line, it works perfectly. But of course, the drawback is my city is not the default and I instead have to select it at the bottom of the dropdown box.
Any help would be greatly appreciated. My website is here, still in progress of setting up.
Big Edit:: It's working fine now, and I should mention to anyone else who runs into this problem, the settings above were correct; it just took a little time to take effect.
But I do have a second query; I'm about to look into it but any ideas as to why CumulusMX weather data is NOT Current? If I pull my CUtags from my site they appear to be up to date yeah?
$SITE['fcsturlWC'] = 'Maryborough, Queensland, Australia|-25.5385,152.7034'; // default forecast, should match first line in $SITE['WCforecasts']
So then below, as specified I add:
$SITE['WCforecasts'] = array(
// Location name to display|lat,long (separated by | character)
'Maryborough, Queensland, Australia|-25.5385,152.7034',
'Saratoga, CA, USA|37.27465,-122.02295',
<more towns here>
But after I reupload my Settings file, the forecasts are still stuck on the default (Saratoga's) conditions, despite adding my city to the $SITE['fcsturlWC'] line.
But here's the kicker; if I just add the line 'Maryborough, Queensland, Australia|-25.5385,152.7034', at the bottom of the other cities under ['WCforecasts'], without modifying the ['fcsturlWC'] line, it works perfectly. But of course, the drawback is my city is not the default and I instead have to select it at the bottom of the dropdown box.
Any help would be greatly appreciated. My website is here, still in progress of setting up.
Big Edit:: It's working fine now, and I should mention to anyone else who runs into this problem, the settings above were correct; it just took a little time to take effect.
But I do have a second query; I'm about to look into it but any ideas as to why CumulusMX weather data is NOT Current? If I pull my CUtags from my site they appear to be up to date yeah?