Example sheds a genial ray which men are apt to borrow, so first improve yourself today, and then your friends tomorrow. - unknown
 

Text Links


Joomla, Akocomment & Mamblog PDF Print E-mail
Written by SVTechie   
Tuesday, 28 March 2006

Call to a member function on a non-object in /xxx/xxx/xxx/cms/mambots/content/akocommentbot.php on line 11

What?? I fixed it long time ago? This fix I found here http://forum.joomla.org/index.php?topic=42485.msg272945

How come it has resurface. Looks like Mamblog is the crappiest component around Yell and I still love it. It is one blog system which behaves like blog system with "no-bells and whistles". But again it doesn't have necessary stuff too! That's why I had to develop MBSidebar.

Anyway I had to modify Mamblog to suit my needs, like support catagory based view using Mamblog Component. (MBSidebar uses Joomla Standard Catagory View). Also to support daily/monthly listing in MBSidebar, I may need to modify Mamblog Component as I can not use Joomla Standard Components here. But then again I may just add a small component by myself. Okay, enough!! I like Mamblog + MBSidebar Cool So what if little modification needs to be made. If you need help, drop a line!!

Now we are back to above problem. What happens is that Mamblog works perfectly if Blog Items are viewed using standard joomla component. But using Mamblog to view a listing doesn't work and above error resurfaces. Ironically, the fix which I applied long time ago to solve this issue only fixes a part of problem. How to fix it? See below

Solution is that don't use mamblog component to see individual entries. Instead use Joomla Standard compnent by doing following

Locate following lines:

<a class="blogsection" xhref="<?php echo sefRelToAbs(  "index.php?option=$option&task=show&action=view &id={$rows[$i]->id}&Itemid=$Itemid" );?>">

And Replace each occurance with following:

<a class="blogsection" xhref="<?php echo sefRelToAbs( "index.php?option=com_content&task=view&id={$rows[$i]->id}" );?>">

Problem Solved Smile But I guess somebody needs to rewrite Mamblog with some more bells and whistles!!

Last Updated ( Monday, 03 April 2006 )
 
< Prev   Next >
Flights | Loan | Loan Secured | Auto Insurance | Fuente De
© 2008 SVTechie :: Online Resources For Techies BY Techies
Joomla! is Free Software released under the GNU/GPL License.