Page 1 of 1

Menu Link conflict

Posted: Sat Sep 08, 2012 9:25 pm
by vinset
I'm testing JL2.0 on my website. If I create a Joomleague's menu item it conflicts with a slideshow module in the frontpage and break my site. Why? Wich difference there are between Joomleague's menu items and the other menu items?

The site is www.ckcalcio.netsons.org

Re: Menu Link conflict

Posted: Sat Sep 08, 2012 10:08 pm
by vinset
After a lot of tests I find that the problem there is only with "sef url" activated!

Re: Menu Link conflict

Posted: Sun Sep 09, 2012 8:49 pm
by And_One
"conflict" ?? pls be precise, which error occured?

Re: Menu Link conflict

Posted: Mon Sep 10, 2012 4:01 am
by vinset
The site break when I open it with sef url activated and joomleague link menù published! If unpublish the joomleague's menù link the site work fine! The site work fine also if I unpublish the slideshow module!
When site break it shows only the header and menù and the rest of site disappeared!
It's very strange!

Re: Menu Link conflict

Posted: Mon Sep 10, 2012 6:06 am
by benio08
This is not problem Joomleague . Joomleague with SEF settings works without bugs .
Maybe skideshow module

Re: Menu Link conflict

Posted: Mon Sep 10, 2012 6:38 am
by vinset
Ok I'm right with you but my question is: Why i have the conflict only with the joomleague's menu items?

Re: Menu Link conflict

Posted: Mon Sep 10, 2012 7:15 am
by And_One
i can just repeat my question. wich error? php or javascript?

Re: Menu Link conflict

Posted: Mon Sep 10, 2012 11:02 am
by vinset
I don't know! I think it is a javascript error but I''m not sure! You can see it here: www.ckcalcio.netsons.org
If you open the homepage, where there is the slideshow, you can find the problem. If you open another page there insn't the problem.

Re: Menu Link conflict

Posted: Mon Sep 10, 2012 11:10 am
by vinset
It isn't a javascript error but php error

Re: Menu Link conflict

Posted: Mon Sep 10, 2012 11:15 am
by And_One
Unpublish the matches module, it has some bugs which are already reported.

Re: Menu Link conflict

Posted: Mon Sep 10, 2012 11:24 am
by vinset
The modules aren't the problem! The problem is only with the slideshow module! If I unpublish it the website workfine, also whit the JL modules!!!

Re: Menu Link conflict

Posted: Mon Sep 10, 2012 11:29 am
by And_One
Just for me it looked like a matches module error, which we are already aware of.

Re: Menu Link conflict

Posted: Mon Sep 10, 2012 11:34 am
by vinset
If I unpublish the match module the problem is the same

Re: Menu Link conflict

Posted: Fri Sep 21, 2012 11:20 am
by vinset
The error between the JL menu link and the slideshow module is:

[21-Sep-2012 09:46:05 UTC] PHP Fatal error: Cannot redeclare class PhpThumbFactory in /modules/mod_lofarticlesslideshow/libs/phpthumb/ThumbLib.inc.php on line 67

I found other users with the same problems

Re: Menu Link conflict

Posted: Sat Sep 22, 2012 4:27 pm
by vinset
I solve the problem!
In the file components/com_joomleague/assets/classes/PHPThumb/ThumbLib.inc.php there is the class PhpThumbFactory that is a very common class in a lot of component and module. It woul be better to rename this class!

This class is used only in the file administrator/components/com_joomleague/helpers/Jlcommon.php

What do you think about?

Re: Menu Link conflict

Posted: Mon Jan 07, 2013 4:01 pm
by And_One
that should prevent this error or?

Code: Select all

if( !defined('THUMBLIB_BASE_PATH') ) {
   require_once(JLG_PATH_SITE.DS.'assets'.DS.'classes'.DS.'PHPThumb'.DS.'ThumbLib.inc.php');
}

Re: Menu Link conflict

Posted: Wed May 01, 2013 4:47 pm
by Loschdi
Hi! In wich file an row i must put this in? i have the same Problem

Re: Menu Link conflict

Posted: Sat May 04, 2013 8:16 am
by Loschdi