Sandaysoft

Support forum for Cumulus weather station software
It is currently Thu Jun 20, 2013 2:59 am
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 253 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15, 16, 17  Next
Author Message
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Fri May 27, 2011 10:08 pm 
Offline

Joined: Wed May 06, 2009 6:29 pm
Posts: 1734
Location: Cheadle Hulme, Cheshire, England
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Okay, I'm back again and this time I really am stuck.

I've loaded all the required fonts to the server and uploaded the graph folder too. I should be able to see a sample graph on this link but nothing shows. What have I done or not done?

http://www.cheadlehulmeweather.co.uk/samp-graph.php

_________________
Cheers,
Ray, Cheshire.

Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Fri May 27, 2011 10:17 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17835
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
RayProudfoot wrote:
I should be able to see a sample graph on this link but nothing shows. What have I done or not done?

It gives a 404, so you haven't uploaded a file called samp-graph.php to the root of your web space.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Fri May 27, 2011 10:26 pm 
Offline

Joined: Wed May 06, 2009 6:29 pm
Posts: 1734
Location: Cheadle Hulme, Cheshire, England
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Sorry, wrong path. It should be this one.

http://www.cheadlehulmeweather.co.uk/gr ... -graph.php

Is that what I should be seeing? It doesn't seem right.

_________________
Cheers,
Ray, Cheshire.

Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Fri May 27, 2011 10:30 pm 
Offline
User avatar

Joined: Wed Apr 08, 2009 12:38 pm
Posts: 514
Location: Weeley, Essex, UK
Weather Station: La-Crosse WS2300 Serial (Wired)
Operating System: Win XP Pro SP3 & Win 7
RayProudfoot wrote:
Sorry, wrong path. It should be this one.

http://www.cheadlehulmeweather.co.uk/gr ... -graph.php

Is that what I should be seeing? It doesn't seem right.


Right - looks like it needs to read some data from realtime.log

_________________
Jason Duncombe
La-Crosse WS2300 (Wired & Serial) - Cumulus V1.9.3
Check out the Weather Blog

Image

Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Fri May 27, 2011 10:35 pm 
Offline

Joined: Wed May 06, 2009 6:29 pm
Posts: 1734
Location: Cheadle Hulme, Cheshire, England
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Hi Jason,

I was hoping you'd turn up as I got this idea after looking at your site. So in a way, you're to blame for the last 4 hours this has been driving me mad! :lol:

I don't have a realtime.log but I do have a realtime.txt in the root folder. Can that be used and if so do I need to change that config file the name of which escapes me?

_________________
Cheers,
Ray, Cheshire.

Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Fri May 27, 2011 10:45 pm 
Offline

Joined: Wed May 06, 2009 6:29 pm
Posts: 1734
Location: Cheadle Hulme, Cheshire, England
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
I suspect it's to do with font locations. There's an error.log on the server with a lot of entries. Here are a couple of lines...

[27-May-2011 23:40:01] PHP Warning: imageloadfont(/home/admin4/public_html/jpgraph/src/fonts/FF_FONT2.gdf) [<a href='function.imageloadfont'>function.imageloadfont</a>]: failed to open stream: No such file or directory in /home/admin4/public_html/jpgraph/src/gd_image.inc.php on line 93
[27-May-2011 23:40:01] PHP Warning: imageloadfont(/home/admin4/public_html/jpgraph/src/fonts/FF_FONT1-Bold.gdf) [<a href='function.imageloadfont'>function.imageloadfont</a>]: failed to open stream: No such file or directory in /home/admin4/public_html/jpgraph/src/gd_image.inc.php on line 94
[27-May-2011 23:40:01] PHP Warning: imageloadfont(/home/admin4/public_html/jpgraph/src/fonts/FF_FONT2-Bold.gdf) [<a href='function.imageloadfont'>function.imageloadfont</a>]: failed to open stream: No such file or directory in /home/admin4/public_html/jpgraph/src/gd_image.inc.php on line 95

It looks like it's looking for fonts in public_html/jpgraph/src/fonts but they're located in /public_html/fonts

I'm confused.

_________________
Cheers,
Ray, Cheshire.

Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Fri May 27, 2011 10:48 pm 
Offline
User avatar

Joined: Wed Apr 08, 2009 12:38 pm
Posts: 514
Location: Weeley, Essex, UK
Weather Station: La-Crosse WS2300 Serial (Wired)
Operating System: Win XP Pro SP3 & Win 7
RayProudfoot wrote:
Hi Jason,

I was hoping you'd turn up as I got this idea after looking at your site. So in a way, you're to blame for the last 4 hours this has been driving me mad! :lol:

I don't have a realtime.log but I do have a realtime.txt in the root folder. Can that be used and if so do I need to change that config file the name of which escapes me?


Hi Ray :D

LOL :lol:

Right'o.... You will need to open realtimelog.php in a Text Editor and edit the following settings to match yours...

$SITE['home'] = "./";
$SITE['datafile'] = "realtime.log";
$SITE['source'] = "realtime.txt";

Save the file ensuring that it remains .php and upload realtimelog.php to your ./graphs webfolder

You should then 'Call' realtimelog.php by visiting it in your web browser - It will let you know if there has been an issue - it will also create realtime.log for you!

Hope that helps :)

_________________
Jason Duncombe
La-Crosse WS2300 (Wired & Serial) - Cumulus V1.9.3
Check out the Weather Blog

Image

Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Fri May 27, 2011 11:18 pm 
Offline
User avatar

Joined: Wed Apr 08, 2009 12:38 pm
Posts: 514
Location: Weeley, Essex, UK
Weather Station: La-Crosse WS2300 Serial (Wired)
Operating System: Win XP Pro SP3 & Win 7
6719jason wrote:
$SITE['home'] = "./";
$SITE['datafile'] = "realtime.log";
$SITE['source'] = "realtime.txt";


I've just visited your website and called realtimelog.php and I think you need the following as your settings...

$SITE['home'] = "../";
$SITE['datafile'] = "realtime.log";
$SITE['source'] = "realtime.txt";

I maybe wrong - thinking back it may not do any harm to create a blank file called realtime.log ensuring that when its uploaded it remains .log and not .log.txt

_________________
Jason Duncombe
La-Crosse WS2300 (Wired & Serial) - Cumulus V1.9.3
Check out the Weather Blog

Image

Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Fri May 27, 2011 11:21 pm 
Offline

Joined: Wed May 06, 2009 6:29 pm
Posts: 1734
Location: Cheadle Hulme, Cheshire, England
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Hi Jason,

http://www.cheadlehulmeweather.co.uk/gr ... .php?debug

Shows the contents of the file but not what it should I suspect.

To clarify what I've done...

1) Created realtime.log and uploaded it to the root server folder. It's currently empty.
2) Created realtimelog.php containing what you said but with my root path entered. Uploaded to graphs folder.

I googled realtimelog.php and found this article but it's pretty heavy stuff. viewtopic.php?f=14&t=130

It's getting late. I'll give it another 20 mins for your reply but if you're tired let's leave it until later today.

_________________
Cheers,
Ray, Cheshire.

Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Fri May 27, 2011 11:24 pm 
Offline
User avatar

Joined: Wed Apr 08, 2009 12:38 pm
Posts: 514
Location: Weeley, Essex, UK
Weather Station: La-Crosse WS2300 Serial (Wired)
Operating System: Win XP Pro SP3 & Win 7
RayProudfoot wrote:
Hi Jason,

http://www.cheadlehulmeweather.co.uk/gr ... .php?debug

Shows the contents of the file but not what it should I suspect.

To clarify what I've done...

1) Created realtime.log and uploaded it to the root server folder. It's currently empty.
2) Created realtimelog.php containing what you said but with my root path entered. Uploaded to graphs folder.

I googled realtimelog.php and found this article but it's pretty heavy stuff. viewtopic.php?f=14&t=130

It's getting late. I'll give it another 20 mins for your reply but if you're tired let's leave it until later today.


Hi Ray - Not sure if you have seen my previous post or not - I've attached my realtimelog.php to this message as I'm not quite sure whats in your realtimelog.php

It can be a bit heavy but we'll get you there :)


You do not have the required permissions to view the files attached to this post.

_________________
Jason Duncombe
La-Crosse WS2300 (Wired & Serial) - Cumulus V1.9.3
Check out the Weather Blog

Image

Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Fri May 27, 2011 11:27 pm 
Offline

Joined: Wed May 06, 2009 6:29 pm
Posts: 1734
Location: Cheadle Hulme, Cheshire, England
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Jason,

Thanks but I can't open rar files. Can you upload as a standard Windows zip please?

_________________
Cheers,
Ray, Cheshire.

Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Fri May 27, 2011 11:28 pm 
Offline
User avatar

Joined: Wed Apr 08, 2009 12:38 pm
Posts: 514
Location: Weeley, Essex, UK
Weather Station: La-Crosse WS2300 Serial (Wired)
Operating System: Win XP Pro SP3 & Win 7
RayProudfoot wrote:
Jason,

Thanks but I can't open rar files. Can you upload as a standard Windows zip please?


Sure - all done and attached! :)


You do not have the required permissions to view the files attached to this post.

_________________
Jason Duncombe
La-Crosse WS2300 (Wired & Serial) - Cumulus V1.9.3
Check out the Weather Blog

Image

Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Fri May 27, 2011 11:35 pm 
Offline

Joined: Wed May 06, 2009 6:29 pm
Posts: 1734
Location: Cheadle Hulme, Cheshire, England
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Thanks Jason. What does this look like? Good or bad?

http://www.cheadlehulmeweather.co.uk/re ... .php?debug

_________________
Cheers,
Ray, Cheshire.

Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Fri May 27, 2011 11:36 pm 
Offline
User avatar

Joined: Wed Apr 08, 2009 12:38 pm
Posts: 514
Location: Weeley, Essex, UK
Weather Station: La-Crosse WS2300 Serial (Wired)
Operating System: Win XP Pro SP3 & Win 7
RayProudfoot wrote:
Thanks Jason. What does this look like? Good or bad?

http://www.cheadlehulmeweather.co.uk/re ... .php?debug


Thats is bonza me ole mate!

Check out my similar output!

Current directory is: D:\Sites\weeleyweather.co.uk\public_html
Changing directory to: ./
Current directory is: D:\Sites\weeleyweather.co.uk\public_html
Attempting to load: realtime.txt
We loaded: 1 - Should be 1
Found 59 Fields
Saving Data as: 2011-05-28 00:35:50 11.4 73 6.7 1.3 0.0 270 0.0 0.0 1016.7 W 1 mph C hPa mm 0.6 -0.2 5.2 122.6 0.0 21.9 47 11.4 -0.2 11.4 00:32 10.9 00:00 2.1 00:25 6.4 00:21 1016.9 00:00 1016.4 00:21 1.9.1 989 6.2 11.4 11.4 0 0 0 277 0.0 0 0 0 W 1906 ft 10.2 0.0 0 0
COMPLETE

_________________
Jason Duncombe
La-Crosse WS2300 (Wired & Serial) - Cumulus V1.9.3
Check out the Weather Blog

Image

Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Fri May 27, 2011 11:40 pm 
Offline

Joined: Wed May 06, 2009 6:29 pm
Posts: 1734
Location: Cheadle Hulme, Cheshire, England
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Excellent but I'm still confused. If I try to view the sample graphs via this link
http://www.cheadlehulmeweather.co.uk/gr ... -graph.php
I keep getting those error messages.

I'm attaching an error log from the graphs folder. This will hopefully tell us what it doesn't like.


You do not have the required permissions to view the files attached to this post.

_________________
Cheers,
Ray, Cheshire.

Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 253 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15, 16, 17  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group