Sandaysoft

Support forum for Cumulus weather station software
It is currently Wed May 22, 2013 4:20 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, 2, 3, 4, 5, 6 ... 17  Next
Author Message
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Tue Oct 14, 2008 6:19 pm 
Offline

Joined: Sat Oct 11, 2008 3:20 pm
Posts: 111
Weather Station: Davis Vantage Pro 2 Plus
Operating System: Windows XP SP3
Paul C wrote:
I think the answer would be " I dont know"

I went to my settings for the website in general and set it up for 1 minute intervals, is that what you mean ?

thanks

No, what I mean is, did you follow this

viewtopic.php?f=14&t=130

this script will produce your realtime.log from the realtime.txt you setup in the internet settings from cumulus

so I guess you do not not use cron, but used your browser to update the realtime.log

Jozef
(sorry if i may sometimes sound rude, but i'm not native english, and this makes it difficult to expain myself correctly)

_________________
Jozef


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Tue Oct 14, 2008 6:32 pm 
Offline
User avatar

Joined: Thu Jun 19, 2008 7:45 am
Posts: 281
Location: Brampton, Cumbria, UK
Weather Station: Davis VP2 with solar
Operating System: Windows XP SP3
pinto wrote:
Paul C wrote:
I think the answer would be " I dont know"

I went to my settings for the website in general and set it up for 1 minute intervals, is that what you mean ?

thanks

No, what I mean is, did you follow this

viewtopic.php?f=14&t=130

this script will produce your realtime.log from the realtime.txt you setup in the internet settings from cumulus

so I guess you do not not use cron, but used your browser to update the realtime.log

Jozef
(sorry if i may sometimes sound rude, but i'm not native english, and this makes it difficult to expain myself correctly)


Jozef - Dont worry, you are not rude in the slightest. Hope you can understand me !! - I wouldnt have known you were from Belgium, your written English is very impressive.

As for the reply, I,m not sure what we did. Steve hosts my website and was able to add in the file. I would say that NO I didnt use cron. I have read through the forum link but its over my head.

cheers
Paul

_________________
Paul C
Brampton, Cumbria, UK
117m ASL
http://www.bramptonweather.co.uk | http://www.bramptonweather.co.uk/cumulus |
Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Tue Oct 14, 2008 6:39 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17564
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
We set up a cron job using the hosting provider's control panel, but it doesn't seem to be calling the script. I manually added a few entries by invoking the script from a browser, but we were getting errors (something about an array being expected). I looked at the baro.php script and realised that the PHP errors we were getting were because there were no entries on the hour, so I waited until quarter past the hour, generated an entry, and called the script with freq=2.

We now get: Fatal error: Call to undefined method Text::Pos() in /home/.juice/paulc/bramptonweather.co.uk/cumulus/baro.php on line 180

And we still have the problem of the cron job not executing.

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


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Tue Oct 14, 2008 6:51 pm 
Offline

Joined: Sat Oct 11, 2008 3:20 pm
Posts: 111
Weather Station: Davis Vantage Pro 2 Plus
Operating System: Windows XP SP3
steve wrote:
We now get: Fatal error: Call to undefined method Text::Pos() in /home/.juice/paulc/bramptonweather.co.uk/cumulus/baro.php on line 180
This is one for Kevin, sorry
steve wrote:
And we still have the problem of the cron job not executing.

And you made the script executable ? chmod 755 sometimes chmod 777

Jozef

_________________
Jozef


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Tue Oct 14, 2008 6:55 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17564
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
pinto wrote:
And you made the script executable ? chmod 755 sometimes chmod 777


I left that part to Paul ;)

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


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Tue Oct 14, 2008 6:56 pm 
Offline

Joined: Sat Oct 11, 2008 3:20 pm
Posts: 111
Weather Station: Davis Vantage Pro 2 Plus
Operating System: Windows XP SP3
You do have some entries, and the graphs should work,
when the cronjob is working and kevin has a solution for the fatal error

you have 4 entries you can see in the arrays at the bottom of this page

http://www.bramptonweather.co.uk/cumulu ... eq=2&debug

Jozef

_________________
Jozef


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Tue Oct 14, 2008 6:57 pm 
Offline

Joined: Mon Oct 13, 2008 3:58 pm
Posts: 56
Location: grantham.uk
Weather Station: watson
hi steve i have found a better programe weather display have you tryed it


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Tue Oct 14, 2008 6:58 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17564
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
That's interesting, I didn't cause that entry at 19:00, maybe the cron job is only executing once an hour...

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


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Tue Oct 14, 2008 7:08 pm 
Offline
User avatar

Joined: Thu Jun 19, 2008 7:45 am
Posts: 281
Location: Brampton, Cumbria, UK
Weather Station: Davis VP2 with solar
Operating System: Windows XP SP3
steve wrote:
pinto wrote:
And you made the script executable ? chmod 755 sometimes chmod 777


I left that part to Paul ;)


Nice one :P
So you want me to do a right click and add the number 755 or 777 ?

_________________
Paul C
Brampton, Cumbria, UK
117m ASL
http://www.bramptonweather.co.uk | http://www.bramptonweather.co.uk/cumulus |
Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Tue Oct 14, 2008 7:12 pm 
Offline

Joined: Sat Oct 11, 2008 3:20 pm
Posts: 111
Weather Station: Davis Vantage Pro 2 Plus
Operating System: Windows XP SP3
Paul C wrote:
So you want me to do a right click and add the number 755 or 777 ?

Yes, that makes the script executable

@Kevin: found a possible solution

Workaround: call Text::SetPos() instead of Text::Pos()

Jozef

_________________
Jozef


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Tue Oct 14, 2008 7:19 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17564
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Paul C wrote:
So you want me to do a right click and add the number 755 or 777 ?


I don't think you need to. There's a 20:00 entry now, I think the cron job is working, but once an hour. Can you check the time settings to see if you can fix that?

Edit: Hold on, I think I fixed it for you :)

Edit again: No, I didn't :( It looks like you can't run once a minute

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


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Tue Oct 14, 2008 7:21 pm 
Offline
User avatar

Joined: Thu Jun 19, 2008 7:45 am
Posts: 281
Location: Brampton, Cumbria, UK
Weather Station: Davis VP2 with solar
Operating System: Windows XP SP3
pinto wrote:
Paul C wrote:
So you want me to do a right click and add the number 755 or 777 ?

Yes, that makes the script executable

@Kevin: found a possible solution

Workaround: call Text::SetPos() instead of Text::Pos()

Jozef


Ok so just to confirm before I take the plunge ( thats dive in at the deep end) . you want me to alter the realtime.log file

I dont understand the workaround though, where does that go ?

cheers

_________________
Paul C
Brampton, Cumbria, UK
117m ASL
http://www.bramptonweather.co.uk | http://www.bramptonweather.co.uk/cumulus |
Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Tue Oct 14, 2008 7:23 pm 
Offline
User avatar

Joined: Thu Jun 19, 2008 7:45 am
Posts: 281
Location: Brampton, Cumbria, UK
Weather Station: Davis VP2 with solar
Operating System: Windows XP SP3
steve wrote:
Paul C wrote:
So you want me to do a right click and add the number 755 or 777 ?


I don't think you need to. There's a 20:00 entry now, I think the cron job is working, but once an hour. Can you check the time settings to see if you can fix that?


Just seen this, standby

Steve - I take it in theory you could access my account if it doesnt work ?

Edit - gone into Dreamhost and made sure its set at 1 minute.

_________________
Paul C
Brampton, Cumbria, UK
117m ASL
http://www.bramptonweather.co.uk | http://www.bramptonweather.co.uk/cumulus |
Image


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Tue Oct 14, 2008 7:28 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17564
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Your cron job shows up in my control panel. I have set it to every 10 minutes, that seems to be the most frequent it can be :(

I don't know if this is any use for the intended purpose

Edit: If this is just a control panel limitation, then you could get around it by setting it up from an SSH login (Paul falls over).

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


Top
 Profile  
 
 Post subject: Re: Cumulus Server Sided JpGraph Graphs
PostPosted: Tue Oct 14, 2008 7:29 pm 
Offline

Joined: Sat Oct 11, 2008 3:20 pm
Posts: 111
Weather Station: Davis Vantage Pro 2 Plus
Operating System: Windows XP SP3
That workaround is for Kevin, maybe he needs that

I made another baro-test.php with that workaround included
Maybe you can test it(it is for the fatal error you see now)
you can upload it where the baro.php file is now and look at it from your browser

see attachement

Jozef


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

_________________
Jozef


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 253 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 17  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 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