Page 1 of 1

Bubbamon

Posted: 05 Dec 2011, 17:54
by Puma
Excito,

Will you please take underneath change of the stat.php in the next update 2.4 ??
This to get bubbamon working as normal, now we have to do that manually every time we update :cry:

Open /usr/share/web-admin/admin/controllers/stat.php in your preferred editor.

function stat(){
parent::Controller();

require_once(APPPATH."/legacy/defines.php");
require_once(ADMINFUNCS);

if(!($this->uri->segment(2) == 'index' && $this->uri->segment(3) == 'json'))

{
$this->Auth_model->enforce_policy('web_admin','administer', 'admin');
$this->Auth_model->EnforceAuth('web_admin');
}

load_lang("bubba",THEME.'/i18n/'.LANGUAGE);

Thanks in advance,

puma

Re: Bubbamon

Posted: 06 Dec 2011, 02:55
by johannes
Hmm, I didn't know this (or perhaps I just don't recognize it). What issue does this fix? For 2.4 we have done some other stuff 6feet5 have asked for but I didn't know about this. 6feet5, can you comment?

Re: Bubbamon

Posted: 06 Dec 2011, 04:33
by Binkem
This should prevent Bubbamon form reconnecting to the server every second. We now change it manually, but every time there's a new software version we need to do this again. This gets annoying after four of five updates ;)

Re: Bubbamon

Posted: 06 Dec 2011, 11:55
by 6feet5
Hi Johannes,

This is the work around for the authorization problem I mentioned in our conversation. The code sample you showed me should correct this issue.

/Johan

Re: Bubbamon

Posted: 06 Dec 2011, 16:54
by johannes
Understood, then @Puma, this is already solved and will be in the 2.4 release. :)

Re: Bubbamon

Posted: 10 Dec 2011, 15:45
by Puma
Hi Johannes,

Thanks, this is very appreciated!

Puma

Re: Bubbamon

Posted: 11 Dec 2011, 03:51
by Ubi
I hope you did not actually put the dutch comment line in there as well? :D

Re: Bubbamon

Posted: 11 Dec 2011, 08:52
by Puma
Hello Ubi,

Thanks for your ''comments'' my dutch comments are now deleted.... :D

Puma

Re: Bubbamon

Posted: 28 Jan 2012, 14:45
by Puma
Hi Johannes,

Thanks, for the 2.4 Release it is working faster then the last one!

But I still had to change my

/usr/share/web-admin/admin/controllers/stat.php

Maybe in next bugfix? :wink:

Puma

Re: Bubbamon

Posted: 29 Jan 2012, 16:16
by johannes
Hmm, now it's possible that I don't understand things right since I wasn't very involved in this code, but the fix is done in B3, but needs updating from Johan as well in bubbamon to use it though. Judging on the normal development speed of bubbamon I would think it's just minutes away. :D

Re: Bubbamon

Posted: 01 Feb 2012, 14:16
by 6feet5
I've started to work on the new version but discovered some problems with the interface between bubbamon and the server. Use the old fix until it's been solved.

/Johan

Re: Bubbamon

Posted: 02 Feb 2012, 02:59
by johannes
Yes, we forgot some infromation, will be added in 2.4.1 soon!