Author Topic: Setting Up VWS to talk to WeatherFlash  (Read 3382 times)

0 Members and 1 Guest are viewing this topic.

Offline Dr_Mudd

  • Member
  • *
  • Posts: 8
Setting Up VWS to talk to WeatherFlash
« on: March 21, 2009, 11:16:55 PM »
You get three choices to use for sending data from VWS to WeatherFlash. My problem is I can't make any of them work. My web host supports php and my weatherflash demo program works fine and locks when loaded but nothing is being uploaded from VWS. Is there something I am missing? This is the path I am using to a remote server http://www.mdbrull.com/Scripts/submit.php? I then click the active box and nothing happens. I have checked my connection and everything is wotking. I am not sure what to put in the other two choices. Which one of the 3 is the most dependable? 1. Local Web Server
2. FTP to remote server or
3. ASP or PHP on remote server. Please help Thanks in advance.

Doc.

Offline WeatherBeacon

  • Chief
  • Forecaster
  • *****
  • Posts: 1369
    • http://www.wxbeacon.com
Re: Setting Up VWS to talk to WeatherFlash
« Reply #1 on: March 21, 2009, 11:29:33 PM »

Definitely php is the best (if your host supports it).

You say that WxFlash is on your web page. Can you give us the URL to WxFlash?
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 Dr_Mudd

  • Member
  • *
  • Posts: 8
Re: Setting Up VWS to talk to WeatherFlash
« Reply #2 on: March 21, 2009, 11:55:27 PM »
Weatherflash is on my web site at this address www.mdbrull.com/weatherflash hope this helps you let me know what to do. Thanks in advance.

Doc

Offline WeatherBeacon

  • Chief
  • Forecaster
  • *****
  • Posts: 1369
    • http://www.wxbeacon.com
Re: Setting Up VWS to talk to WeatherFlash
« Reply #3 on: March 22, 2009, 08:57:11 AM »
Okay.

For one, I can see that you have a folder on your server called

Code: [Select]
http://www.mdbrull.com/weatherflash/scripts/
That's okay, except in your first post you said you have

Code: [Select]
http://www.mdbrull.com/weatherflash/Scripts/submit.php?
in VWS (under Internet > WeatherFlash > Active Server Page). So in VWS, change

Code: [Select]
http://www.mdbrull.com/weatherflash/Scripts/submit.php?
to

Code: [Select]
http://www.mdbrull.com/weatherflash/scripts/submit.php?
(Scripts to scripts)

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 Dr_Mudd

  • Member
  • *
  • Posts: 8
Re: Setting Up VWS to talk to WeatherFlash
« Reply #4 on: March 22, 2009, 01:37:30 PM »
I changed that and still nothing is uploading all my gauges are inactive. What settings should I have in my server firle location, I am really frustrated and can not figure this out. I did chane Script to script but it still didn't upload.

Doc

Offline WeatherBeacon

  • Chief
  • Forecaster
  • *****
  • Posts: 1369
    • http://www.wxbeacon.com
Re: Setting Up VWS to talk to WeatherFlash
« Reply #5 on: March 22, 2009, 02:20:48 PM »

Hey, Doc.

We'll get it figured out one way or another. Anyone else, please feel free to chime in any time.

First, make sure your web host supports php.

On your web host server in folder weatherflash, there's a file called site.txt. Replace this line

Code: [Select]
&SiteURL=
with this line

Code: [Select]
&SiteURL=http://www.mdbrull.com
Also, in VWS go to Internet > WeatherFlash. Under UserID, enter DEMO. Make sure all the boxes on the left side are unckecked, but check the Activate box under Active Server Page. In that line, enter

Code: [Select]
http://www.mdbrull.com/weatherflash/scripts/submit.php?
Make sure you include the question mark at the end.

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 Dr_Mudd

  • Member
  • *
  • Posts: 8
Re: Setting Up VWS to talk to WeatherFlash
« Reply #6 on: March 22, 2009, 04:51:22 PM »
I checked with my server and Yes they support php. I then entered thw script like you suggested and nothing happened. Right now I am using FTP to remote server and it is sending every 15 seconds but it is not doing anythig on the weatherflash page all the gauges are still doing nothing. here is the path that it is sending to on the FTP remote server
 C:\vws\data\wflash2.txtto/public_html/weather/wflash.txt 

Doc

Offline WeatherBeacon

  • Chief
  • Forecaster
  • *****
  • Posts: 1369
    • http://www.wxbeacon.com
Re: Setting Up VWS to talk to WeatherFlash
« Reply #7 on: March 22, 2009, 05:32:16 PM »
I checked with my server and Yes they support php. I then entered thw script like you suggested and nothing happened. Right now I am using FTP to remote server and it is sending every 15 seconds but it is not doing anythig on the weatherflash page all the gauges are still doing nothing. here is the path that it is sending to on the FTP remote server
 C:\vws\data\wflash2.txtto/public_html/weather/wflash.txt 

Doc

Doc:

You don't want to ftp the WeatherFlash data files to the server. That's the purpose of using php or asp...they're much more efficient.

On your web host server in folder weatherflash, there's a file called site.txt. Replace this line

Code: [Select]
&SiteURL=
with this line

Code: [Select]
&SiteURL=http://www.mdbrull.com
I don't know that it matters, but since we're looking for something to fix, let's try it.

Also, some people have had problems with file permissions. For now, set all permissions to 777 (for all weatherflash files and folders Config, Data, and scripts).

Also, in file submit.php in the scripts folder (on your server), make sure this line appears with DEMO (about the 6th line):

Code: [Select]
if ($HTTP_GET_VARS["I"]=="DEMO" ){
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 microweather

  • Member
  • *
  • Posts: 1
Re: Setting Up VWS to talk to WeatherFlash
« Reply #8 on: June 27, 2009, 08:29:46 AM »
You get three choices to use for sending data from VWS to WeatherFlash. My problem is I can't make any of them work. My web host supports php and my weatherflash demo program works fine and locks when loaded but nothing is being uploaded from VWS. Is there something I am missing? This is the path I am using to a remote server http://www.mdbrull.com/Scripts/submit.php? I then click the active box and nothing happens. I have checked my connection and everything is wotking. I am not sure what to put in the other two choices. Which one of the 3 is the most dependable? 1. Local Web Server
2. FTP to remote server or
3. ASP or PHP on remote server. Please help Thanks in advance.

Doc.
 
I don't think I am the the point of talking yet but I can not get the DEMO to run.  It will only come up LOADING and then a blank screen.  I know PHP is supported.  In the directions it says move all installed files and folder to website but had to find them in a temp folder.  Please tell me what folders and names that belong on the website I might have guessed wrong.

Thank you for any help.

Offline jay_hoehn

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 656
    • Jay's Woodcrafts
Re: Setting Up VWS to talk to WeatherFlash
« Reply #9 on: June 27, 2009, 02:27:22 PM »
microweather,

Make sure you upload all files and folders exactly as unzipped from the downloaded file.  The directory tree is critical for the package to work.  You might try unzipping them to a folder called weatherflash and uploading that folder to the server.  Then you could call the url as www.yourwebsite/weatherflash/index.htm

Make sure you follow the instructions for setting up Weatherflash PHP on VWS.  The only box you need to check on VWS is in the Active Server Page box.

Jay
Davis Vantage Pro2 Plus
VVP
Weather Display


Offline jay_hoehn

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 656
    • Jay's Woodcrafts
Re: Setting Up VWS to talk to WeatherFlash
« Reply #10 on: June 27, 2009, 02:30:58 PM »
Doc,

Your link appears to be unavailable.  I tried just now.  No luck!  Kevin seems to be on the right track with his help.  I'll look in later to see if it is active.

Jay
Davis Vantage Pro2 Plus
VVP
Weather Display


 

anything