Page 1 of 1

Error message 'unable to load KSJC data RC=404 Not Found '

Posted: Thu 25 Aug 2016 8:05 pm
by priorysc
Does anyone know what this error message means and how to resolve: -
- "unable to load KSJC data RC=404 Not Found"
thanks
Glyn

Re: Error message 'unable to load KSJC data RC=404 Not Found '

Posted: Thu 25 Aug 2016 9:10 pm
by steve
I don't think this is anything to do with Cumulus - perhaps something you are using on your web site? If you could give more information about where you see this message, someone may be able to help.

Re: Error message 'unable to load KSJC data RC=404 Not Found '

Posted: Thu 25 Aug 2016 9:18 pm
by ConligWX
is this your site? it has similar issues.

http://www.weerstationduffel.be/wxmetar.php

showing the METAR Reports not loading correctly.

Re: Error message 'unable to load KSJC data RC=404 Not Found '

Posted: Thu 25 Aug 2016 9:32 pm
by saratogaWX
That is the symptom of having an older get-metar-conditions-inc.php script. It was updated in July, 2016 to address the issue of the NWS closing down the weather.noaa.gov website (from which the METAR info was obtained).

Also, 'KSJC' is the local METAR for San Jose, California -- if that's not your location, you should change it to a METAR near you to have your conditions display be more accurate (after you update the get-metar-conditions.php script, that is).

Run (on your Saratoga template) check-fetch-times.php?show=versions to see which files need update, and get a helpful link to get a customized update package for your installation.

Best regards,
Ken

Re: Error message 'unable to load KSJC data RC=404 Not Found '

Posted: Sun 28 Aug 2016 5:20 pm
by priorysc
Thanks all, and thanks for the advice Ken, The website is priorysc.org.uk and we are based in Bedford, UK, it was working fine upto last week so not sure what has changed but I will get someone who knows about php to do this. We are now having php/wordpress issues displaying still pictures from the webcams.
regards
Glyn

Re: Error message 'unable to load KSJC data RC=404 Not Found '

Posted: Sun 28 Aug 2016 9:43 pm
by ConligWX
whats the url of your weather station website?

Re: Error message 'unable to load KSJC data RC=404 Not Found '

Posted: Mon 29 Aug 2016 5:31 am
by duke
Toxic17 wrote:whats the url of your weather station website?
http://www.priorysc.org.uk/today-at-the-club/

Re: Error message 'unable to load KSJC data RC=404 Not Found '

Posted: Tue 30 Aug 2016 8:38 pm
by saratogaWX
The issue is two-fold:

First in /Weather/Settings-weather.php you have

Code: Select all

$SITE['conditionsMETAR'] = 'KSJC';  // set to nearby METAR for current conditions icon/text
and the KSJC is actually the METAR code for San Jose, California.. not your local METAR I think.
Use http://saratoga-weather.org/wxtemplates/find-metar.php to locate a METAR near you, and update Settings-weather.php with that value.

Second, running /Weather/check-fetch-times.php?show=versions shows that there are multiple scripts that need updates.. the one causing your problem is get-metar-conditions.php V1.13 which needs to be updated to V1.14 to work again .. it uses the new website location for METAR information after the NWS has decommissioned weather.noaa.gov and www.nws.noaa.gov websites.

Best regards,
Ken

p.s. this thread should be located in the Saratoga templates forum :)

Re: Error message 'unable to load KSJC data RC=404 Not Found '

Posted: Wed 31 Aug 2016 9:21 pm
by priorysc
Hi Ken, thats great, thanks for your help. I will update at the weekend.
regards
Glyn