WXforum.net

Web Weather => Weather Website PHP/AJAX scripting => Topic started by: Tailspin45 on November 11, 2013, 10:37:05 AM

Title: $doZoneTitles = true doesn't change output
Post by: Tailspin45 on November 11, 2013, 10:37:05 AM
In atom-advisory.php I've set $doZoneTitles = true, but the zone code is still displayed. I've googled and noodled without success.

BUT, I have a bigger issue that might be related, to wit: WeatherCat seems to be doing it's thing...at least as far as WeatherUnderground, CWOP and custom web services are concerned (according to the WCT status). But my site still reports that it's NOT CURRENT since Nov 4th. Nothing out of the ordinary occurred on 11/4, as far as I know, but something obviously changed.

My guess is I have an ajax issue, but I haven't a clue where it might be ...or how to fix it. Or, more to the point, how I broke it to begin with so i don't do it again.

Thanks in advance for your help.
Title: Re: $doZoneTitles = true doesn't change output
Post by: Maumelle Weather on November 11, 2013, 11:34:03 AM
Hi,

Check and make sure your WCT_realtime.txt file is uploading onto your webhost, and check the date on it there. If this isn't uploading, your site isn't going to update.

John
Title: Re: $doZoneTitles = true doesn't change output
Post by: Tailspin45 on November 11, 2013, 11:44:32 AM
Yup, it's dated 11/4. Thanks for the suggestion...now I just have to figure out why it's not updating.

I did check the files, and they seems to be original distribution, and haven't been parsed by mistake, and atom-advisory-CAZ043.txt has been created.

Thanks!
Title: Re: $doZoneTitles = true doesn't change output
Post by: dnavarrojr on November 11, 2013, 05:16:12 PM
I think PHP is case sensitive, so you might try "TRUE" instead of "true".
Title: Re: $doZoneTitles = true doesn't change output
Post by: Tailspin45 on November 12, 2013, 09:48:52 AM
Update problem solved (updates going to the wrong place), but still getting zone abbreviation.

The script's instructions say to use 'true' or 'false' and "TRUE' or 'FALSE" does't fix it...but thanks for the idea.