WXforum.net
Web Weather => Weather Website PHP/AJAX scripting => Topic started 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
-
I am having the same issue as well. It is when I upgraded to PHP 8.1. It shows a blank screen.
Chuck
-
I think we need to move this to the custom script thread.
Chuck
-
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.
-
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.
-
you may want to check here https://www.wxforum.net/index.php?topic=44140.new#new
it may or may not be of use
-
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.
-
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