Author Topic: Murray's Daily Records Script - Last issue on the site move  (Read 1212 times)

0 Members and 1 Guest are viewing this topic.

Offline CNYWeather

  • Forecaster
  • *****
  • Posts: 2296
    • CNYWeather
Murray's Daily Records Script - Last issue on the site move
« on: February 15, 2022, 06:09:35 PM »
Last unworking part from my website move. The Daily Records Script from Murry at Wildwood Weather.
I assume this may be a PHP 8.0 issue possibly since I'm getting a bunch of undefined array errors.
I have the most recent version of the script.

 [ You are not allowed to view attachments ]

I really like this script if someone can point me to something to fix to get it working again, it would be appreciated.
Link to the page on my site for it: https://www.cnyweather.com/wxnoaarecords.php
Tony




Offline andro700

  • Chuck
  • Forecaster
  • *****
  • Posts: 420
    • Gobles Weather Page
Re: Murray's Daily Records Script - Last issue on the site move
« Reply #1 on: April 29, 2022, 03:18:49 PM »
I am having the same issue as well. It is when I upgraded to PHP 8.1. It shows a blank screen.

Chuck

Offline andro700

  • Chuck
  • Forecaster
  • *****
  • Posts: 420
    • Gobles Weather Page
Re: Murray's Daily Records Script - Last issue on the site move
« Reply #2 on: May 03, 2022, 12:32:25 PM »
I think we need to move this to the custom script thread.

Chuck

Offline CNYWeather

  • Forecaster
  • *****
  • Posts: 2296
    • CNYWeather
Re: Murray's Daily Records Script - Last issue on the site move
« Reply #3 on: May 03, 2022, 03:47:38 PM »
Sorry, just saw your reply Chuck.

I took a look at the errors I was getting and it's probably an upgraded PHP issue
but I am not sure how to fix it.  I think it was from 2014 originally so it would may involve a bunch of changed code.

It was working with PHP 7.x just fine. It's a great script and I miss checking it.
Tony




Offline dasman

  • Forecaster
  • *****
  • Posts: 491
    • Wx Peotone
Re: Murray's Daily Records Script - Last issue on the site move
« Reply #4 on: July 24, 2022, 03:59:40 PM »
I have the same issue. When I set the site to php 7.4 the script works. but when I select php version 8.0 or 8.1 it is blank. Its too bad, I love this script.
Dave Sommerfed
Peotone Illinois USA
CW7762, KILPEOT1
NWS COOP, CoCoRaHS, Spotter Network

Offline hcorrin

  • Contributor
  • ***
  • Posts: 128
    • Ballaugh Weather
Re: Murray's Daily Records Script - Last issue on the site move
« Reply #5 on: July 25, 2022, 03:12:15 PM »
you may want to check here https://www.wxforum.net/index.php?topic=44140.new#new
it may or may not be of use

Offline CNYWeather

  • Forecaster
  • *****
  • Posts: 2296
    • CNYWeather
Re: Murray's Daily Records Script - Last issue on the site move
« Reply #6 on: July 26, 2022, 07:34:02 AM »
Yes, this fixed the issue for now. Just take a look at that discussion.

Still 1 thing left. On my snow records, it will only show the records for the day.
In my https://cnyweather.com/climate/climatedataout.html file, it shows the snowfall for the each day.

I'm missing a setting somewhere but can not figure out where.


« Last Edit: July 26, 2022, 07:52:35 AM by CNYWeather »
Tony




Offline hcorrin

  • Contributor
  • ***
  • Posts: 128
    • Ballaugh Weather
Re: Murray's Daily Records Script - Last issue on the site move
« Reply #7 on: July 26, 2022, 03:01:15 PM »
although i got most of it working the snow month and year are still a problem and my under standing of php is limited
what i do know is that the errors of which there are a lot and i do mean a lot relate to the snow from lines 192 to 418 and is beyond my capabilities to resolve sorry
Harold