WXforum.net

Weather Software => Virtual Weather Station => VWS WeatherFlash => Topic started by: WeatherBeacon on October 31, 2013, 06:42:08 PM

Title: data files not uploading
Post by: WeatherBeacon on October 31, 2013, 06:42:08 PM

Inexplicably this morning my WeatherFlash quit working. Specifically, the wflash.txt and wflash2.txt files are not uploading to the web site.

Worse, my ajax scripts pretty much drive everything from those data files, so the main page of my site itself is not even updating:

http://www.wxbeacon.com/vws/current.php (http://www.wxbeacon.com/vws/current.php)

I hadn't done anything to the PC or to the web site, so I'm stumped.

Thanks!
Title: Re: data files not uploading
Post by: Curly on October 31, 2013, 08:43:26 PM
Here are three things to check...

Have you restarted the computer?
Can the computer get on the web?
Has a user name or password been changed?

Title: Re: data files not uploading
Post by: WeatherBeacon on October 31, 2013, 09:52:06 PM

Hi, Curly.

Here are three things to check...

Have you restarted the computer?
Yep. Several times.

Can the computer get on the web?
Yep. Automatic ftp's from VWS to web site are working as verified by time stamps.

Has a user name or password been changed?
Nope.

 :-(

Kevin...
Title: Re: MORE INFO - data files not uploading
Post by: WeatherBeacon on November 01, 2013, 10:34:57 AM

Update:  Still need help.

The php script:  http://www.wxbeacon.com/PHP_verify.php (http://www.wxbeacon.com/PHP_verify.php) shows that my web host switched to php5.4.21 at the instant my  weatherflash problem arose. The instrument panel runs. It's just that the data files wflash.txt and wflash2.txt aren't being updated (and therefore ajax uses old data).

http://www.wxbeacon.com/wxflash/ (http://www.wxbeacon.com/wxflash/)

Any ideas?
Title: Re: RESOLVED - data files not uploading
Post by: WeatherBeacon on November 01, 2013, 10:41:07 AM
Problem resolved. For those who are interested and might benefit from the info, my web host provided replied:

Quote
I've fixed the script.

It was using $HTTP_GET_VARS which is depreciated as of PHP 4.1.0:

http://www.php.net/manual/en/reserved.variables.get.php
4.1.0    Introduced $_GET that deprecated $HTTP_GET_VARS.

Regards,

Kevin...

EDIT:  The webhost tech actually made the change in my weatherflash submit file himself. So according to him, that's a deprecated php4 command that still resides in the weatherflash script. So users beware?