Fatel error message
5 posts
• Page 1 of 1
Fatel error message
At the bottom of my sitemap I see the following and my footer is not present:
Fatal error: Call to a member function registerEvent() on a non-object in .../mambots/content/mgmediabot2.php on line 12
Here is a link to my sitemap http://www.harvestpointecc.com/component/option,com_xmap/Itemid,128/
It wasn't there before. I'm not sure when it started showing up but do you have any ideas on why it is there?
Thanks
Fatal error: Call to a member function registerEvent() on a non-object in .../mambots/content/mgmediabot2.php on line 12
Here is a link to my sitemap http://www.harvestpointecc.com/component/option,com_xmap/Itemid,128/
It wasn't there before. I'm not sure when it started showing up but do you have any ideas on why it is there?
Thanks
- webharvest
- Fresh Boarder

- Posts: 14
- Joined: Fri Jan 25, 2008 12:22 pm
Re:Fatel error message
Hi, do you know which is that mambot "mgmediabot2"?
The problem seems to be there but I'd like to take a look at that file if i just could download that mambot from anywhere!
The problem seems to be there but I'd like to take a look at that file if i just could download that mambot from anywhere!
-

guilleva - Administrator

- Posts: 1517
- Joined: Wed Sep 12, 2007 3:10 am
- Location: San José, Costa Rica
Re:Fatel error message
Here is the link
http://www.needful.de/mgmediabot-demo/downloads/archive/2.html
It looks like there is an update. I'm using 2-0.5 of the bot and 2-1.3 of the component.
Thanks
http://www.needful.de/mgmediabot-demo/downloads/archive/2.html
It looks like there is an update. I'm using 2-0.5 of the bot and 2-1.3 of the component.
Thanks
- webharvest
- Fresh Boarder

- Posts: 14
- Joined: Fri Jan 25, 2008 12:22 pm
Re:Fatel error message
I upgraded to the latest versions but I still get the error. Any ideas?
Thanks
Thanks
- webharvest
- Fresh Boarder

- Posts: 14
- Joined: Fri Jan 25, 2008 12:22 pm
Re:Fatel error message
Hi, try adding the line
global $mainframe;
before:
$mainframe->registerEvent( 'onPrepareContent', 'botmgmediabot215' );
at line #12;
so that should look something like this:
global $mainframe;
before:
$mainframe->registerEvent( 'onPrepareContent', 'botmgmediabot215' );
at line #12;
so that should look something like this:
- Code: Select all
// parsing
if (defined( '_JEXEC' )) {
global $mainframe;
$mainframe->registerEvent( 'onPrepareContent', 'botmgmediabot215' );
} elseif (defined( '_VALID_MOS' )) {
$_MAMBOTS->registerFunction( 'onPrepareContent', 'botmgmediabot210' );
}
Last edited by guilleva on Thu Jan 01, 1970 12:00 am, edited 65535 times in total.
Reason: 1
Reason: 1
-

guilleva - Administrator

- Posts: 1517
- Joined: Wed Sep 12, 2007 3:10 am
- Location: San José, Costa Rica
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: Exabot [Bot] and 2 guests