WXforum.net

Web Weather => Weather Website PHP/AJAX scripting => Topic started by: CNYWeather on February 15, 2022, 06:09:35 PM

Title: Murray's Daily Records Script - Last issue on the site move
Post by: CNYWeather 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
Title: Re: Murray's Daily Records Script - Last issue on the site move
Post by: andro700 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
Title: Re: Murray's Daily Records Script - Last issue on the site move
Post by: andro700 on May 03, 2022, 12:32:25 PM
I think we need to move this to the custom script thread.

Chuck
Title: Re: Murray's Daily Records Script - Last issue on the site move
Post by: CNYWeather 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.
Title: Re: Murray's Daily Records Script - Last issue on the site move
Post by: dasman 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.
Title: Re: Murray's Daily Records Script - Last issue on the site move
Post by: hcorrin 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
Title: Re: Murray's Daily Records Script - Last issue on the site move
Post by: CNYWeather 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.


Title: Re: Murray's Daily Records Script - Last issue on the site move
Post by: hcorrin 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