Author Topic: data files not uploading  (Read 5013 times)

0 Members and 1 Guest are viewing this topic.

Offline WeatherBeacon

  • Chief
  • Forecaster
  • *****
  • Posts: 1369
    • http://www.wxbeacon.com
data files not uploading
« 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

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

Thanks!
Mae govannen!
Kevin  (Member AMS) http://www.wxbeacon.com               Genesee County, Michigan
Hardware:  Davis Vantage Pro Wireless, Midland WR-300
Software: VWS 14.01p43, WeatherFlash, & GRLevel3

Offline Curly

  • Forecaster
  • *****
  • Posts: 724
    • Michiana Weather
Re: data files not uploading
« Reply #1 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?


Offline WeatherBeacon

  • Chief
  • Forecaster
  • *****
  • Posts: 1369
    • http://www.wxbeacon.com
Re: data files not uploading
« Reply #2 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...
Mae govannen!
Kevin  (Member AMS) http://www.wxbeacon.com               Genesee County, Michigan
Hardware:  Davis Vantage Pro Wireless, Midland WR-300
Software: VWS 14.01p43, WeatherFlash, & GRLevel3

Offline WeatherBeacon

  • Chief
  • Forecaster
  • *****
  • Posts: 1369
    • http://www.wxbeacon.com
Re: MORE INFO - data files not uploading
« Reply #3 on: November 01, 2013, 10:34:57 AM »

Update:  Still need help.

The php script:  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/

Any ideas?
Mae govannen!
Kevin  (Member AMS) http://www.wxbeacon.com               Genesee County, Michigan
Hardware:  Davis Vantage Pro Wireless, Midland WR-300
Software: VWS 14.01p43, WeatherFlash, & GRLevel3

Offline WeatherBeacon

  • Chief
  • Forecaster
  • *****
  • Posts: 1369
    • http://www.wxbeacon.com
Re: RESOLVED - data files not uploading
« Reply #4 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?
« Last Edit: November 01, 2013, 10:48:50 AM by WeatherBeacon »
Mae govannen!
Kevin  (Member AMS) http://www.wxbeacon.com               Genesee County, Michigan
Hardware:  Davis Vantage Pro Wireless, Midland WR-300
Software: VWS 14.01p43, WeatherFlash, & GRLevel3