WXforum.net
May 21, 2013, 04:14:50 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
Members: 6615  •  Posts: 178462  •  Topics: 18110
Please welcome Christea, our newest member.
Welcome to the the new hosting for WXforum.net.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Unable to get wxgraphic.php to work  (Read 392 times)
0 Members and 1 Guest are viewing this topic.
HugoWX
Member
*
Offline Offline

Posts: 18


WWW
« on: July 26, 2012, 06:23:58 PM »

I've had a couple requests from my local community for weather banners that others can use on their own site.

I've tried in vain to get the wxgraphic.php script up and working, and I can't even download wxlogo.php as I think the link at http://saratoga-weather.org/wxtemplates/plugins.php is either broken or I'm too stupid to figure it out!  Confused

You can view my trainwreck at http://hugowx.com/wxgraphic.wxgraphic.php.  The data file is located at http://hugowx.com/WXGraphic_tags.txt

Thanks in advance for your help!
Logged
HugoWX
Member
*
Offline Offline

Posts: 18


WWW
« Reply #1 on: July 29, 2012, 12:35:19 PM »

Just bumping this back up as I'm still not having any luck getting this to work.
Logged
Curly
Forecaster
*****
Offline Offline

Posts: 476


WWW
« Reply #2 on: July 29, 2012, 01:55:55 PM »

The path for the data file needs adjusted.
Open wxgraphic/config.txt
Find this line:
Code:
$data_file_path  = '/./WXGraphic_tags.txt';

Change it to this:
Code:
$data_file_path  = '../WXGraphic_tags.txt';

There may be other settings in other files that need adjusting but this is the only file that I can see.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.114 seconds with 19 queries.