Skip to Content Skip to Menu

Bug in joomlapolis blog

  • mikko
  • mikko
  • OFFLINE
  • Posts: 2223
  • Thanks: 2
  • Karma: 115
18 years 5 months ago #1916 by mikko
Bug in joomlapolis blog was created by mikko
Clicking the title of blog gives an error

Fatal error: Call to a member function on a non-object in /home/joomlapo/public_html/mambots/content/akocommentbot.php on line 11

The URL for the erroneous page is: www.joomlapolis.com/component/option,com_mamblog/Itemid,42/task,show/action,view/id,187/Itemid,42/

mikko

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 25531
  • Thanks: 1830
  • Karma: 877
18 years 5 months ago #1930 by nant
Replied by nant on topic Re:Bug in joomlapolis blog
This has been identified and I have posted over at the appropriate mamboblog forum - no solution yet.

Please Log in or Create an account to join the conversation.

  • silexian
  • silexian
  • OFFLINE
  • Posts: 94
  • Thanks: 0
  • Karma: -2032
18 years 5 months ago #1959 by silexian
Replied by silexian on topic Re:Bug in joomlapolis blog
Well, look into the Mambo.TheYard forum (mamblog owner) and search for that problem into its forum. I got the same problem too

help me decrease my Karma ! i AM a bad boy ;) Hurry up or i'm gonna eat your soul :p

Please Log in or Create an account to join the conversation.

  • dsendecki
  • dsendecki
  • OFFLINE
  • Posts: 385
  • Thanks: 1
  • Karma: 14
18 years 3 months ago #6145 by dsendecki
Replied by dsendecki on topic Re:Bug in joomlapolis blog
From the Mambo at the Yard forums:

I had the same error in my Mamblog upgrade with Akocomment 2.0 activated.

I got around it by modifying the mamblog.html.php file so the title link to the entry is the same as the one used for the "View/Add Comments" link at the bottom of the entry.

Find line 205 of mamblog.html.php:

[code:1] <a href="<?php echo sefRelToAbs( "index.php?option=$option&Itemid=$Itemid&task=show&action=view&id=$blog->id&Itemid=$Itemid" ); ?>"><?php echo $blog->title; ?></a>[/code:1]


and replace it with this:

[code:1] <a href="<?php echo sefRelToAbs( "index.php?option=com_content&task=view&id=$blog->id" ); ?>"><?php echo $blog->title; ?></a>[/code:1]

Note: If you modify mamblog.html.php as described above, you will not be able to use the Mamblog admin panel to hide the Akocomment form when viewing each entry because you are now viewing a regular content/news item, not the Mamblog-filtered version.

Post edited by: dsendecki, at: 2006/02/12 03:41

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum

Facebook Twitter LinkedIn