Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

B3 support questions: php issues & migration B2 -> B3

Got problems with your B2 or B3? Share and get helped!
Post Reply
essoussi
Posts: 5
Joined: 02 Jan 2009, 06:34

B3 support questions: php issues & migration B2 -> B3

Post by essoussi »

Hi,
Just got my B3 up and running.
Since there is no B3 support forum, I take my chances on this one.
I am missing the old user manual from B2 all I can find is the getting started, which I have already :wink:

Now to my problem.
The web interface throws the follwing at me :

"A PHP Error was encountered
Severity: Notice
Message: Undefined variable: browsers
Filename: libraries/Browscap_raw.php
Line Number: 381

A PHP Error was encountered
Severity: Notice
Message: Undefined variable: userAgents
Filename: libraries/Browscap_raw.php
Line Number: 382

A PHP Error was encountered
Severity: Notice
Message: Undefined variable: patterns
Filename: libraries/Browscap_raw.php
Line Number: 383

A PHP Error was encountered
Severity: Notice
Message: Undefined variable: properties
Filename: libraries/Browscap_raw.php
Line Number: 384

A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: libraries/Browscap_raw.php
Line Number: 257

A PHP Error was encountered
Severity: Notice
Message: Undefined index: Browser
Filename: default/main_view.php
Line Number: 22 "

1) Is this a known problem?
2) How can I get the errors corrected?
3) Any ideas of how to copy the content on B2 to my B3 in the easiest and quickest(!) way?

Otherwise very pleased with the B3, it's much faster and better performing.
I have a feeling it gets a little more warmer than my B2 but I might be mistaken.
essoussi
Posts: 5
Joined: 02 Jan 2009, 06:34

Re: B3 support questions: php issues & migration B2 -> B3

Post by essoussi »

No one having the same issue?
jallee
Posts: 49
Joined: 12 Jun 2009, 13:15

Re: B3 support questions: php issues & migration B2 -> B3

Post by jallee »

Which webb reader do you use?
I had something like this on the LVM menu on the B2, but it was self configured..
So if you only use the standard config.. Then do a reinstall.

Regards // Jalle
essoussi
Posts: 5
Joined: 02 Jan 2009, 06:34

Re: B3 support questions: php issues & migration B2 -> B3

Post by essoussi »

[quote="jallee"]Which webb reader do you use?
I had something like this on the LVM menu on the B2, but it was self configured..
So if you only use the standard config.. Then do a reinstall.]

Hi Jalle,
Thanks for replying,
Both Chromium and firefox throws the errors.
I am using it out-of-the-box installation
How do a reinstall?
//Hans
jallee
Posts: 49
Joined: 12 Jun 2009, 13:15

Re: B3 support questions: php issues & migration B2 -> B3

Post by jallee »

This is for B2 http://download.excito.net/web/BubbaTwo ... ndex.html# and scroll down to reinstalling software. It's the same procedure for B3, use this img for B3. http://update.excito.net/install/latest/b3/
And this is how you make the USB-stick. http://forum.excito.net/viewtopic.php?f=8&t=1347
MVH // Jalle
essoussi
Posts: 5
Joined: 02 Jan 2009, 06:34

Re: B3 support questions: php issues & migration B2 -> B3

Post by essoussi »

Jalle,
Thanks for your rapid replies, but I am baffled by your suggestion of reinstalling the server :shock: , I have made no major changes to it. I thought you were talking about reinstalling the php and/or apache SW.
I can probably live with the annoyance until an update of the bubba-frontend is released given no one else is having these issues.
But it's a bit weird unless it was a installation error at Excito in the first place.

Anyone at Excito that can take a shot? It looks as a programming error in on or two php-files .....
//Hans
jallee
Posts: 49
Joined: 12 Jun 2009, 13:15

Re: B3 support questions: php issues & migration B2 -> B3

Post by jallee »

essoussi wrote:Jalle,
Thanks for your rapid replies, but I am baffled by your suggestion of reinstalling the server :shock: , I have made no major changes to it. I thought you were talking about reinstalling the php and/or apache SW.
I can probably live with the annoyance until an update of the bubba-frontend is released given no one else is having these issues.
But it's a bit weird unless it was a installation error at Excito in the first place.
I believe that something is wrong whit your box. Therefore, I gave the proposal on reinstalling the server.
Before you have tweaked it to much..
Regards // Jalle
essoussi
Posts: 5
Joined: 02 Jan 2009, 06:34

Re: B3 support questions: php issues & migration B2 -> B3

Post by essoussi »

So, for anyone having the same problems here is how I got rid of the errors.
I have not seen any immediate problems, the gui seems to be working for the activities I perform ...

1) For the first 4 errors :
In the file /usr/share/web-admin/admin/libraries/Browscap_raw.php
Change the following lines in the function _loadCache
$this->_browsers = $browsers;
$this->_userAgents = $userAgents;
$this->_patterns = $patterns;
$this->_properties = $properties;
to
$browsers = $this->_browsers;
$userAgents = $this->_userAgents;
$patterns = $this->_patterns;
$properties = $this->_properties;
2) For the last error
Comment the following in /usr/share/web-admin/admin/views/default/main_view.php
(unless you use a safari browser which I don't :mrgreen: )
<!-- The following 3 lines throws an error in admin web
<?if($browser['Browser'] === 'Safari'):?>
<link rel="stylesheet" type="text/css" href="<?=FORMPREFIX.'/views/'.THEME?>/_css/Safaristyles.css" />
<?endif?>
-->
3) restart the apache server (# /etc/init.d/apache2 restart)

//Hans
johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Re: B3 support questions: php issues & migration B2 -> B3

Post by johannes »

essoussi, did you get the problem solved? If not, what in earth did you do to make this happen?

If you can reproduce the problem, an email to [email protected] describing the bug is appreciated, so we can fix it. :)

Thanks,
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)
Post Reply