Saratoga AJAX PHP webpage inconsistancies

Hi all,

Please reference http://evansbayweather.info

In the highs and lows below the thermometer section, the times seem wrong. The high is in the future for today! Is this a problem with the TZ variable? The update time at the top is correct though.

Also, when you compare yesterdays high and lows to the station monthly report data for yesterday there is a large difference. Is this normal?

Another thing I have noticed is that the graphic above the thermometer shows rain, when the text says that it is dry #-o

Anyone have any ideas where I should be looking to get this sorted?

Thanks

I would start by looking at the creation & upload of your trends-inc.html & testtags.php files as I don’t think that they are uploading. Your Trends page is dated the 25th June. :wink:

First look in the WD program folder and make sure that the “trends-inc.txt” and testtags.txt are both in the webfiles folder.
Now make sure that you have “trends-inc.html” and “testtags.php” files in there as well. If these are in the webfiles folder then open each one in something like Notepad and look for a date & time near the top of the file and see if it’s for today. If this is the case then both files are being created but not uploaded so you’ll need to look at that side.

If you have a look through THIS THREAD then the setups for both creation and upload of these files are in there. I know it’s a large thread but they are in there, or us the Search facility to find it.
I’m at work at the moment so I can’t give you an accurate talk-through on the setup as my memory isn’t that good at 3:35am so you’ll be better searching for it. :wink:

Let us know what you find and we’ll go from there.

Excellent stuff, thanks Budgie. testtags.php and trends-inc.html were not being updated. There was some conflict with the override feature which I have now turned off.

Thanks for the pointer to the thread, it was in there that I found the comment around the override.

Everything is now looking much more normal!

Cheers!