Author Topic: Wxastronomy.php query  (Read 1015 times)

0 Members and 1 Guest are viewing this topic.

Offline Digit

  • Member
  • *
  • Posts: 4
    • Caerphilly Weather
Wxastronomy.php query
« 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?
Davis Vantage Pro 2

Offline ConligWX

  • Forecaster
  • *****
  • Posts: 840
  • #conligwx
    • conligwx.org
Re: Wxastronomy.php query
« Reply #1 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
Regards Simon
Davis Vantage Pro2 Plus (6162UK) • Daytime FARS • WeatherLink Live • AirLink • PurpleAir PA-II-SD • CumulusMX •


Offline Digit

  • Member
  • *
  • Posts: 4
    • Caerphilly Weather
Re: Wxastronomy.php query
« Reply #2 on: August 14, 2018, 11:30:03 AM »
Here are the two scripts.
Davis Vantage Pro 2

Offline lddaly

  • Forecaster
  • *****
  • Posts: 490
Re: Wxastronomy.php query
« Reply #3 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?

Offline Digit

  • Member
  • *
  • Posts: 4
    • Caerphilly Weather
Re: Wxastronomy.php query
« Reply #4 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.
Davis Vantage Pro 2

Offline Digit

  • Member
  • *
  • Posts: 4
    • Caerphilly Weather
Re: Wxastronomy.php query
« Reply #5 on: August 14, 2018, 02:50:45 PM »
Hi Iddaly,
The date is now correct. Thank you very much.
Davis Vantage Pro 2

Offline lddaly

  • Forecaster
  • *****
  • Posts: 490
Re: Wxastronomy.php query
« Reply #6 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.
« Last Edit: August 14, 2018, 03:07:50 PM by lddaly »