Joo!BB - Making Community
Joo!BB - Joomla! Bulletin Board
Board Index
>
Support Forum
Error when clicking on "report"
Welcome, Guest

3 Replies

by h_mechbal on 12/06/2010 11:24
Post Error when clicking on "report"

Hi There
I have the following error when user clicks on "Report":

Fatal error: Call to a member function getAuth() on a non-object in /home/miftahma/public_html/components/com_joobb/controller/joobb.php on line 832

Please help,
Thanks


h_mechbal | Joined Board: 12/06/2010 11:20 | Last Visit: 12/22/2010 14:36
Joo!BB - Newie
Registered
Posts: 2
Offline Member is Offline
View all users posts

Last Edit on 12/06/2010 11:25 by h_mechbal


by Robbie on 12/06/2010 18:18
Post Re: Error when clicking on "report"

h_mechbal,

many thx for the report. I got it. It is a bug and will be solved.

Robbie

[Edit]

I solved it. You can add the following line
Code

$joobbAuth =& JoobbAuth::getInstance();

directly above the line 832 in

JOOMLA_ROOT/components/com_joobb/controller/joobb.php

to solve it by now on your installation.


Robbie | Joined Board: 12/14/2007 10:38 | Last Visit: 05/19/2012 08:29
Joo!BB - Master
Administrator
Posts: 785
Offline Member is Offline
View all users posts

Last Edit on 12/06/2010 18:24 by Robbie


by MS on 02/02/2011 16:31
Post Fatal error: ..... joobb.php on line 832

I'm also getting the following error:

Fatal error: Call to a member function getAuth() on a non-object in /components/com_joobb/controller/joobb.php on line 832

I added the following code to joobb.php on line 832:

$joobbAuth =& JoobbAuth::getInstance();

So it now looks like this:
831 // ... otherwise leave...
832 $joobbAuth =& JoobbAuth::getInstance();
833
834 $messageQueue->addMessage(JText::_('BB_MSGTOPICNOTSPECIFIED'));
835
836 $this->setRedirect(JRoute::_('index.php?option=com_joobb&view=forum&forum='.$joobbForum->id.'&Itemid='.$Itemid, false)); return;


I am still getting the error.

Any Ideas?


MS | Joined Board: 02/02/2011 16:23 | Last Visit: 02/03/2011 01:59
Joo!BB - Newie
Registered
Posts: 1
Offline Member is Offline
View all users posts


by Gman on 03/27/2012 07:34
Post Re: Error when clicking on "report"

Had the same problem with my forum too. After looking at line 832 of my php I added the following on line 831:

$joobbAuth =& JoobbAuth::getInstance();

as the person did below.

Quote by Robbie:h_mechbal,

many thx for the report. I got it. It is a bug and will be solved.

Robbie

[Edit]

I solved it. You can add the following line
Code

$joobbAuth =& JoobbAuth::getInstance();

directly above the line 832 in

JOOMLA_ROOT/components/com_joobb/controller/joobb.php

to solve it by now on your installation.


That solved my problem but then when I click report in my bulletin board. I am now receiving this message: Your report could not be sent. Please contact the webmaster of the site. How do I correct this? Thanks in advance!


Gman | Joined Board: 02/10/2010 22:22 | Last Visit: 03/31/2012 21:02
Joo!BB - Newie
Registered
Posts: 7
Offline Member is Offline
View all users posts


3 Replies

Joo!BB - Joomla! Bulletin Board

Copyright © 2007 - 2012 Joo!BB Project - All rights reserved.