Jquery Issue

8 years 4 months ago #203350 by godweb
Jquery Issue was created by godweb
Joomla! 2.5.6
CB: 1.8.1

Hi,

I'm having problems with some jquery conflict (some modules/components don't work).

If it's can be useful, I have this on the control panel of my template:

System Check1 potential issue(s) detected.
Multiple jQuery Libraries found. Please make sure these don't conflict each other.
/components/com_comprofiler/js/jquery-1.3.2/jquery-1.3.2.js
/components/com_comprofiler/js/jquery-1.3.2/jquery-1.3.2.min.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.ajaxfileupload.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.ajaxfileupload.min.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.autogrow.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.autogrow.min.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.cluetip.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.cluetip.min.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.excanvas.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.excanvas.min.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.flot.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.flot.min.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.flydom.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.flydom.min.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.form.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.form.min.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.jeditable.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.jeditable.min.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.jmap.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.jmap.min.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.maskedinput.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.maskedinput.min.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.metadata.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.metadata.min.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.rating.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.rating.min.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.slimbox2.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.slimbox2.min.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.ui-all.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.ui-all.min.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.validate.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.validate.min.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.wysiwyg.js
/components/com_comprofiler/js/jquery-1.3.2/jquery.wysiwyg.min.js
/components/com_comprofiler/js/jquery-1.4.2/jquery-1.4.2.js
/components/com_comprofiler/js/jquery-1.4.2/jquery-1.4.2.min.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.ajaxfileupload.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.ajaxfileupload.min.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.autogrow.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.autogrow.min.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.cluetip.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.cluetip.min.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.excanvas.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.excanvas.min.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.flot.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.flot.min.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.flydom.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.flydom.min.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.form.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.form.min.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.jeditable.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.jeditable.min.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.jmap.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.jmap.min.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.maskedinput.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.maskedinput.min.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.metadata.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.metadata.min.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.rating.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.rating.min.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.slimbox2.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.slimbox2.min.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.ui-all.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.ui-all.min.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.validate.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.validate.min.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.wysiwyg.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.wysiwyg.min.js
/components/com_comprofiler/js/jquery-1.5.2/jquery-1.5.2.js
/components/com_comprofiler/js/jquery-1.5.2/jquery-1.5.2.min.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.ajaxfileupload.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.ajaxfileupload.min.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.autogrow.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.autogrow.min.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.cluetip.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.cluetip.min.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.colorinput.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.colorinput.min.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.excanvas.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.excanvas.min.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.flot.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.flot.min.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.flydom.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.flydom.min.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.form.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.form.min.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.jeditable.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.jeditable.min.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.jmap.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.jmap.min.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.maskedinput.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.maskedinput.min.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.metadata.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.metadata.min.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.rating.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.rating.min.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.slimbox2.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.slimbox2.min.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.ui-all.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.ui-all.min.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.validate.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.validate.min.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.wysiwyg.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.wysiwyg.min.js
/media/com_akeeba/js/jquery-ui.js
/media/com_akeeba/js/jquery.js
/modules/mod_minifrontpage/library/jquery-1.7.1.min.js
/modules/mod_tabs_gk5/scripts/engine.jquery.js
/modules/mod_we_ufeed_display/colorbox/jquery-1.5.2.min.js
/modules/mod_we_ufeed_display/colorbox/jquery.colorbox-min.js
/modules/mod_xpertcontents/interface/js/jquery-1.6.1.min.js
/modules/mod_xperttabs/tmpl/jquery-1.6.1.min.js
/plugins/content/jw_sigpro/jw_sigpro/includes/js/jquery_colorbox/colorbox/jquery.colorbox-min.js
/plugins/content/jw_sigpro/jw_sigpro/includes/js/jquery_colorbox/colorbox/jquery.colorbox.js
/plugins/content/jw_sigpro/jw_sigpro/includes/js/jquery_fancybox/fancybox/helpers/jquery.fancybox-buttons.js
/plugins/content/jw_sigpro/jw_sigpro/includes/js/jquery_fancybox/fancybox/helpers/jquery.fancybox-thumbs.js
/plugins/content/jw_sigpro/jw_sigpro/includes/js/jquery_fancybox/fancybox/jquery.fancybox.js
/plugins/content/jw_sigpro/jw_sigpro/includes/js/jquery_fancybox/fancybox/jquery.fancybox.pack.js
/plugins/content/jw_sigpro/jw_sigpro/includes/js/jquery_fancybox/fancybox/lib/jquery.mousewheel-3.0.6.pack.js
/plugins/content/jw_sigpro/jw_sigpro/includes/js/jquery_prettyphoto/js/jquery.prettyPhoto.js

I'm not an expert, but I'm thinking that this is not normal ;) Any suggest?

Please Log in to join the conversation.

8 years 4 months ago - 8 years 4 months ago #203352 by krileon
Replied by krileon on topic Re: Jquery Issue
CB 1.8.1 loads its jQuery in a deep no conflict. It can't conflict with other jQuery. However, if other jQuery fails to use noConflict it could result in the jQuery object being overwritten. Nothing we can do about this, sorry; instruct the developer of your template to use noConflict. Your modules/components may not be working due to a fatal JS error rather then a jQuery conflict however (a problem with the module or components JS).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

8 years 4 months ago #203362 by godweb
Replied by godweb on topic Re: Jquery Issue
Hi krileon,

thanks for your answer. Have you looked the files?

I can read:

/components/com_comprofiler/js/jquery-1.3.2/jquery.ajaxfileupload.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.ajaxfileupload.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.ajaxfileupload.js

/components/com_comprofiler/js/jquery-1.3.2/jquery.autogrow.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.autogrow.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.autogrow.js

/components/com_comprofiler/js/jquery-1.3.2/jquery.cluetip.js
/components/com_comprofiler/js/jquery-1.4.2/jquery.cluetip.js
/components/com_comprofiler/js/jquery-1.5.2/jquery.cluetip.js

etc
etc
etc

I suspect I have one call for each my previous version of CB...

Please Log in to join the conversation.

8 years 4 months ago #203392 by krileon
Replied by krileon on topic Re: Jquery Issue
Only the latest release ever loads. I've no idea why your template is reporting those. You can delete all of them except 1.5.2 from components/com_comprofiler/js/.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

8 years 3 months ago - 8 years 3 months ago #205148 by siflaar
Replied by siflaar on topic Re: Jquery Issue
I think you are using a YOOtheme template?
If so just try to all rename the jquery-... folders to something else or remove them completely.
YOOtheme loads already on every page all jquery libraries, so everything will still work.
It did solve my problems.

Good luck
Patrick

Please Log in to join the conversation.

8 years 3 months ago - 8 years 3 months ago #205153 by siflaar
Replied by siflaar on topic Re: Jquery Issue
okay, so deleting the whole folder is not the correct way.
So I have to search what are the duplicate jQuery scripts CB and YOOtheme are using.

!!!!!!!!
Why don't programmers check if the latest version is already loaded so they don't load there own (older) version?
Please CB read the following article: http://www.yootheme.com/widgetkit/documentation/troubleshooting/javascript-errors-2
!!!!!!!!

CB is using 1.5.2 and YOOtheme is using the latest jQuery versions. (currently 1.7.1)

If I find out what jQueries are loaded by YOOtheme and tested the removal of them in CB I will let you know.

greetings,
Patrick
The following user(s) said Thank You: godweb

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.428 seconds

Facebook Twitter LinkedIn