Author Topic: Error on SPC Reports page  (Read 523 times)

0 Members and 1 Guest are viewing this topic.

Offline rrrick8

  • Senior Contributor
  • ****
  • Posts: 224
    • Vermilion weather
Error on SPC Reports page
« on: June 22, 2018, 08:33:12 AM »
Noticed yesterday was getting long error reported on SPC Reports page. Cancelled the error reporting and the map displays ok but the details below are not working. I checked Ken's page and his is the same so I know it is not just mine.

https://saratoga-weather.org/SPCreports.php
Severe Weather Manager-Vermilion County EMA
CWOP-CW9931 KILDANVI5

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: Error on SPC Reports page
« Reply #1 on: June 22, 2018, 09:31:12 AM »
Noticed yesterday was getting long error reported on SPC Reports page. Cancelled the error reporting and the map displays ok but the details below are not working. I checked Ken's page and his is the same so I know it is not just mine.

https://saratoga-weather.org/SPCreports.php
Check here: https://www.wxforum.net/index.php?topic=34038.msg351726#msg351726
SPC changed to https and is using a 304 redirect.
You have to change the http:// links to https:// in the reports script.
Or to follow the redirect add at line 547 in /inc-SPCreports.php
Code: [Select]
curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1); // follow Location: redirect allowed
curl_setopt($ch, CURLOPT_MAXREDIRS, 1);

Wim

Offline rrrick8

  • Senior Contributor
  • ****
  • Posts: 224
    • Vermilion weather
Re: Error on SPC Reports page
« Reply #2 on: June 22, 2018, 03:00:40 PM »
Thanks. Thought I had changed that earlier but after looking I hadn't . Was a different SPC page that I did.

Thanks again.
Severe Weather Manager-Vermilion County EMA
CWOP-CW9931 KILDANVI5

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Error on SPC Reports page
« Reply #3 on: June 22, 2018, 03:26:19 PM »
I've updated Curly's SPC script with the URL changes in the Legacy Scripts area to 1.04a with the https: changes.

lddaly notified me that there was an issue with 1.04a displaying tornado warnings.. He offered a 1.09 version, and I fixed the one PHP7 issue with that script, so now the legacy script is updated to 1.09
« Last Edit: June 22, 2018, 04:15:48 PM by saratogaWX »
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline rrrick8

  • Senior Contributor
  • ****
  • Posts: 224
    • Vermilion weather
Re: Error on SPC Reports page
« Reply #4 on: June 23, 2018, 08:33:12 AM »
Thanks Ken.
Severe Weather Manager-Vermilion County EMA
CWOP-CW9931 KILDANVI5