Author Topic: Having Problems setting Up GRLevel3  (Read 2591 times)

0 Members and 1 Guest are viewing this topic.

Offline txweathergeek

  • TXweathergeek
  • Senior Member
  • **
  • Posts: 99
    • The Weather Geek
Having Problems setting Up GRLevel3
« on: May 16, 2016, 03:05:19 PM »
Hello,

I have downloaded the file trial version of the program and I can see the radar but I want to be able to use it on my website (www.dfweathergeek.com) and this is where I am running into issues.

I think my problem is in the correct FTP path but it might be something else because I am not the most tech savvy person.

I am in testing mode and have the php file settings set the best way I can based on what I have read. When I try to view it all I get is GRLevel3 radar images are not available at this time.. I have attached the PHP file. Can someone take a look and see if I'm making any mistakes. Thanks a ton!
Txweathergeek


Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Having Problems setting Up GRLevel3
« Reply #1 on: May 16, 2016, 03:48:25 PM »
In your Settings.php, you have
Code: [Select]
// Radar settings
$SITE['noaaradar']        = 'FWS';           // LAST 3 characters of NOAA Radar Site ID
                                        // e.g. Radar KMUX has $SITE['noaaradar'] = 'MUX';
$SITE['WUregion']    = 'sp';                // Wunderground regional maps
// 'sw'=SouthWest, 'nw'=NorthWest, 'mw'=Midwest
// 'sp'=South Central, 'ne'=North East, 'se'=South East

// GRLevel3 Radar image settings (for wxgr3radar.php and radar-status.php scripts
$SITE['GR3radar']    = 'kdfw';    // set to lower-case full name of NEXRAD radar site
and the
Code: [Select]
$SITE['GR3radar']    = 'kdfw';    // set to lower-case full name of NEXRAD radar site should be
Code: [Select]
$SITE['GR3radar']    = 'kfws';    // set to lower-case full name of NEXRAD radar site for the actual radar site in Dallas/Fort Worth.
BTW.. you don't need to change the GR3-radar-inc.php script.. changes in Settings.php will override the settings built-in to the GR3-radar-inc.php script.

You should be uploading (in GRLevel3) to http://dfweathergeek.com/GR3/ directory .. is that what you have GRLevel3 set to use?
« Last Edit: May 16, 2016, 03:51:20 PM by saratogaWX »
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline txweathergeek

  • TXweathergeek
  • Senior Member
  • **
  • Posts: 99
    • The Weather Geek
Re: Having Problems setting Up GRLevel3
« Reply #2 on: May 16, 2016, 03:59:00 PM »
Thanks for the reply. I changed the station in the settings.php.

I have the images uploading to a kind of odd, long, address..

/Dfweathergeek/backup-5.3.2016_13-55-18_txweathe/homedir/public_ftp/GR3

So that's what I have changed the address to in the setting of the PHP file (attached)

Offline txweathergeek

  • TXweathergeek
  • Senior Member
  • **
  • Posts: 99
    • The Weather Geek
Re: Having Problems setting Up GRLevel3
« Reply #3 on: May 16, 2016, 04:11:30 PM »
No. not running my own server. I have a webhost. I have attached a picture of my FTP screen. Thanks!

Offline txweathergeek

  • TXweathergeek
  • Senior Member
  • **
  • Posts: 99
    • The Weather Geek
Re: Having Problems setting Up GRLevel3
« Reply #4 on: May 16, 2016, 04:21:38 PM »
I have made it simpler by pointing the images to http://dfweathergeek.com/GR3/ . I'll see if I can make it work and advise. Thanks!

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Having Problems setting Up GRLevel3
« Reply #5 on: May 16, 2016, 04:22:21 PM »
I think this is going to be a problem because the FTP directory lies next to the public_html directory where the webpages are saved, not sure about this, but I think in this case you cannot access the FTP directory from the web, it is above the top-level directory, only visible in FTP client.
I would create a new folder in public_html called grLevelX and upload the images there so that it is inside the public_html and can be viewed on the web.

But wait for what Ken says, he is the expert on this.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Having Problems setting Up GRLevel3
« Reply #6 on: May 16, 2016, 04:25:10 PM »
Thanks for the reply. I changed the station in the settings.php.

I have the images uploading to a kind of odd, long, address..

/Dfweathergeek/backup-5.3.2016_13-55-18_txweathe/homedir/public_ftp/GR3

So that's what I have changed the address to in the setting of the PHP file (attached)

Sadly, that won't work (as you have found out).  The GR3 images have to be uploaded to directory in the website's document root for it to be visible on the web.  I would think that your public_html/GR3 directory should be used to match what the script's default settings are using.  Then the images would be visible on the website as http://www.dfweathergeek.com/GR3/kfws_br1_1.jpg (etc)

Thanks Jachym... you've got it too :)
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline txweathergeek

  • TXweathergeek
  • Senior Member
  • **
  • Posts: 99
    • The Weather Geek
Re: Having Problems setting Up GRLevel3
« Reply #7 on: May 16, 2016, 04:33:07 PM »
Thanks for the reply. I changed the station in the settings.php.

I have the images uploading to a kind of odd, long, address..

/Dfweathergeek/backup-5.3.2016_13-55-18_txweathe/homedir/public_ftp/GR3

So that's what I have changed the address to in the setting of the PHP file (attached)

Sadly, that won't work (as you have found out).  The GR3 images have to be uploaded to directory in the website's document root for it to be visible on the web.  I would think that your public_html/GR3 directory should be used to match what the script's default settings are using.  Then the images would be visible on the website as http://www.dfweathergeek.com/GR3/kfws_br1_1.jpg (etc)

Thanks Jachym... you've got it too :)


I will try that and advise. Thanks!

Offline txweathergeek

  • TXweathergeek
  • Senior Member
  • **
  • Posts: 99
    • The Weather Geek
Re: Having Problems setting Up GRLevel3
« Reply #8 on: May 16, 2016, 04:58:00 PM »
OK. I can now see the image when I go to http://www.dfweathergeek.com/GR3/kfws_br1_1.jpg and I can see the images populating in the remote file.

But when I try to view the actual script I still get GRLevel3 radar images are not available at this time?

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Having Problems setting Up GRLevel3
« Reply #9 on: May 16, 2016, 06:36:40 PM »
Looks ok in the template page http://www.dfweathergeek.com/wxgr3radar.php
If you look at GR3-radar-inc.php by itself, then it won't work unless the internal settings match what you have used in Settings.php.

The page works in your template...
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline txweathergeek

  • TXweathergeek
  • Senior Member
  • **
  • Posts: 99
    • The Weather Geek
Re: Having Problems setting Up GRLevel3
« Reply #10 on: May 16, 2016, 07:53:46 PM »
Ha ha. Thanks. I was not looking in the right place. I'm going to toy around with it durning trail period. As usual your help is much appreciated.

 

anything