Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    Bug-reports    Topic: Jcommnet crashes site search
Pages: [1]   Go Down
  Print  
Author Topic: Jcommnet crashes site search  (Read 3983 times)
0 Members and 1 Guest are viewing this topic.
Deekis75
Newbie
*

Karma: 0
Offline Offline

Posts: 1


« on: July 29, 2010, 13:28:03 »

Hi there!

After installing this wonderful comment module I sadly noticed that it cause my site search to crash Sad When I try to search content from my website I get the following message:

Fatal error: Cannot redeclare sefreltoabs() (previously declared in /home/tektodes/public_html/asiakkaat/rojos/plugins/search/jcomments.php:48) in /home/tektodes/public_html/asiakkaat/rojos/templates/red_template_15/menu.php on line 159

What shoud I do and what might be the problem ?

Thanks in advance and sunny greeting from Finland!
Logged
smart
Administrator
Hero Member
*****

Karma: 146
Offline Offline

Gender: Male
Posts: 2579



WWW
« Reply #1 on: July 29, 2010, 16:51:45 »

Remove sefreltoabs declaration from /plugins/search/jcomments.php:

Code: (php)
if (!function_exists('sefreltoabs')) {
function sefRelToAbs( $s )
{
return $s;
}
}

This declaration crashes site because your Joomla's template has same code without any checks. But in this case is more simple to edit JComments' plugin code.
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
smart
Administrator
Hero Member
*****

Karma: 146
Offline Offline

Gender: Male
Posts: 2579



WWW
« Reply #2 on: October 20, 2010, 01:32:40 »

@electronicswarehouse: show me your error message?
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Bug-reports    Topic: Jcommnet crashes site search
 
Jump to: