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

0 Members and 1 Guest are viewing this topic.

Offline Digit

  • Member
  • *
  • Posts: 4
    • Caerphilly (Sunningdale) 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?

Offline Toxic

  • Senior Contributor
  • ****
  • Posts: 260
  • #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

Offline Digit

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

Offline lddaly

  • Forecaster
  • *****
  • Posts: 445
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 (Sunningdale) 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.

Offline Digit

  • Member
  • *
  • Posts: 4
    • Caerphilly (Sunningdale) 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.

Offline lddaly

  • Forecaster
  • *****
  • Posts: 445
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 »