WXforum.net

Web Weather => Weather Web Site Help => Topic started by: Digit on August 14, 2018, 05:02:27 AM

Title: Wxastronomy.php query
Post by: Digit on August 14, 2018, 05:02:27 AM
Hi All,
First time I've posted so please be gentle with me. I'm setting up my weather website and it all seems to be working apart from the astronomy page. The last two sections are showing dates from last year. Here's the link  www.caerphillyweather.co.uk/wxastronomy.php . Any suggestions as to how I can correct this?
Title: Re: Wxastronomy.php query
Post by: ConligWX on August 14, 2018, 06:14:38 AM
Hi and welcome to the forums.

I think you'd need to post the wxastronomy.php file in a post so we can determine its full content and see where it is polling those values from.

my wxastronomy.php has a different layout totally so looks like yours has been edited quite heavily.

https://www.conligwx.org/wxastronomy.php
Title: Re: Wxastronomy.php query
Post by: Digit on August 14, 2018, 11:30:03 AM
Here are the two scripts.
Title: Re: Wxastronomy.php query
Post by: lddaly on August 14, 2018, 12:44:49 PM
moondetail1.gif and moondetail2.gif are Weather Display files. Is your Weather Display configured to create and upload these files?
Title: Re: Wxastronomy.php query
Post by: Digit on August 14, 2018, 02:40:06 PM
Hi Iddaly,
No they weren't set to upload, but I've corrected that in WD now.
Title: Re: Wxastronomy.php query
Post by: Digit on August 14, 2018, 02:50:45 PM
Hi Iddaly,
The date is now correct. Thank you very much.
Title: Re: Wxastronomy.php query
Post by: lddaly on August 14, 2018, 03:03:43 PM
The 2 gif files appear to be at the root of your website. You should consider putting all of your data files into a subfolder.