Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard Spread FireBoard!
error in docman (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: error in docman
#38041
error in docman 10 Months, 4 Weeks ago  
Hello.
I install Discussbot and all work fine, but when I enter to my archive (docman), I see this error Fatal error: Call to a member function on a non-object in /my/site/mambots/content/fbdiscussbot.php on line 176

on line 176:

[code:1]if ($params->get( 'intro_only' )
&& $botShowOnFrontPage == 0
&& $botEnableAutoPost == 1
&& $botAllowManualOverride == 0) {
// Since there's no way there's a tag in the article, skip all the processing!
$botDisplay[strval($row->id)] = "";
return;
}[/code:1]

please help
grigkar (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#38112
Re:error in docman 10 Months, 4 Weeks ago  
Which version of the bot are you using? The 1.0.5 version limits which components allow the bot to register for Joomla events and should prevent exactly this.

Like so:
[code:1]
// Don't register the bot functions if we're not rendering a content item.
if ($_REQUEST['option'] == 'com_content'
|| $_REQUEST['option'] == 'com_frontpage'
|| $_REQUEST['option'] == 'com_events' ) {
$_MAMBOTS->registerFunction( 'onPrepareContent', 'botfbDiscuss' );
$_MAMBOTS->registerFunction( 'onAfterDisplayContent', 'botfbReadMore' );
}
[/code:1]

-M
4umfreak (User)
Senior Boarder
Posts: 248
graphgraph
User Offline Click here to see the profile of this user
ObjectClarity.com
Logged Logged
 
The administrator has disabled public write access.  
#38138
Re:error in docman 10 Months, 4 Weeks ago  
I install new version - all fine. Thanks!
grigkar (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#38140
Re:error in docman 10 Months, 4 Weeks ago  
Please change the title to reflect this one as SOLVED please. Thank you.
grumblemarc (User)
Platinum Boarder
Posts: 3559
graph
User Offline Click here to see the profile of this user
Gender: Male
Logged Logged
 
The administrator has disabled public write access.  
Go to top