There is an update on-line with all changed scripts: http://wd34.weather-template.com/
The moon-block.php and two new supporting scripts in the other/ folder could take care of it.
Wim
To check what is happening, the URL to the pwsWD/ folder is essential. At home I can inspect and find it in the HTML. When traveling with an iPad no way. So this embedded / I Frame??? script will have to wait till tomorrow, sorry
Wim
There were only minor changes to this script for checking if the file exists and has a minimal length a.s.o.
Your file seems not to be in ./demodata/ as that one is from 2018-12, so I can not check the length of your file
The message you have occurs when: the file-location is not set or the file is less then 10 characters length. Be aware that an URL to the file will not work on some webservers as the returned file-length is then incorrect.
[s]
The demo site display correct data, when it loads the file from the ./demodata/NSRealtime.txt file
I moved the file to the jsondata/ folder => works OK
And renamed the demodata one to be sure => works OK
When I make a typing error in the file location in easyweather I get your message.
So please check the typing. Otherwise PM me the easyweather password so I can check.[/s]
The setting used a full URL “http://adaddad.xx/nxdata.txt”
That should not be done as the checks for incomplete uploads fail in that case.
Always use relative address “…/nxdata.txt” when the file is in the root.
No problem! (Reminds me a bit of the old version I am still running that had a fine tune setting for moonrise/set in easyweathersetup, presumably to allow for daylight saving time!)
In the meantime I’ve temporarily added an hour offset in moon_popup.php so that moon block and moon popup rise/set agree. . . I’ll keep an eye on it.
If WeatherDisplay supports it and it is the clientraw, OK
But otherwise, how would the a script on the webserver know that there is snow at your place?
Wim