I'm trying to transition from Weather Display/Saratoga Weather Templates to Weewx/Saratoga, so rather than take down my hosted http/php server and local Weather Display server, I'm trying to initially duplicate the site locally with a Raspberry Pi running Weewx 4.80 and a local Ubuntu computer running Apache2 with the Sarasota USA template. I have Peet Bros 2100 weather station hardware. This system is NOT currently visible to the outside world. After debugging and a reasonable burn-in period I'll move to the hosted server.
I've got almost everything running well, with a couple of anomalies:
1) The Weather Station Status page shows that "WeeWx weather data" is "NOT CURRENT", and is showing the Unix epoch date for "Latest Update Time". The Saratoge/Weewx setup instructions indicate that the "Weather Data" status is determined from the internal date:time of the data in WEEWXtags.php. I'm no programmer (an understatement to be sure!), but I decided to do a little digging and it looks like wxstatus.php depends on include-wxstatus.php for the status info. But in include-wxstatus.php I can't see any reference to the WEEWXtags.php file. Is there something I've overlooked?
(Incidentally, the internal date and time values are current and correct in the WEEWXtags.php file)
2) I'm getting "Undefined variable: VPuv in /var/www/html/ajax-gizmo.php on line 206, referrer:
http://7040-micro-04.home/wxnwsradar.php" and other referrers including wxindex.php and wxstatus.php in the Apache2 error.log.
I don't have a UV sensor, so I set "UV" to false in Settings-weather.php. "UVscript is set to 'get-UV-forecast-inc.php'.
I tried to chase down what was happening, but my inabilities as a programmer caught up with me. Any idea what might be causing these errors?
Thanks in advance for any advice.