With jquery update 2.0-alpha1 or latest dev, all collapsible fieldsets of the whole drupal page (node/edit, admin/.. ,..) brake, so they can't be clicked anymore.
I got drupal 6.16 and use jquery update for wysywig image upload, but i'm sure that it is jquery upload module which causes the error.
I looked to the source code and saw that drupal doesn't add the "" tags inside the legend-tags, so the collapsible fieldset can't be opened!
My web development bar (firefox plugin) say: "uncaught exception: Syntax error, unrecognized expression: )".
Googleing this error, I also found some jQuery users having this error.
Perhaps this helps?
This could be a duplicate of this issue: http://drupal.org/node/775162 - but i think it isn't..
Comments
Comment #1
Breakerandi CreditAttribution: Breakerandi commentedSorry, an unwanted link has been created, this is the correct sentence:
I looked to the source code and saw that drupal doesn't add the "< a href="#" >" tags inside the legend-tags, so the collapsible fieldset can't be opened!
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedam really glad someone else has this problem because am having the same problem but since no one was talking about it i thought it was only i.
secondly i don't think its a problem with wysywig image upload because i disabled it and still had that problem
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedread this post for the solution.................
http://drupal.org/node/507240
Comment #4
Breakerandi CreditAttribution: Breakerandi commentedThe patches there don't solve my issue...
Comment #5
aaron CreditAttribution: aaron commentedchanging version so the issue shows up at http://drupal.org/project/issues/jquery_update?status=Open&version=409588
Comment #6
aaron CreditAttribution: aaron commentedexcept that they work for me. maybe it's the module(s) you're using? wysywig image upload
and i don't know what jquery upload is; maybe you meant jquery update?
Comment #7
ClearXS CreditAttribution: ClearXS commentedNot sure adding more to the confusion in-spite to a solution... Have had many problems in this perspective (with several modules conflicting, mostly not even able to find out which ones exactly).
Most problems however were with IE (latest version). Even with IE_CSS Optimization module. But sometimes also with other browsers. Anyway, I'm confused; my cut down site is now working. Documenting every (jQuery, JAVA, AJAX, CSS) step I take and probably will find out several conflicts between those type of modules in future.
It's a weak point of Drupal, where most other professional software works with popups a.s.o., configuring a site to do all this in Drupal, is a bit of a nightmare to me with a lot of obstacles and months of work.
Here my temporary modules list (I have to cut down, some overlap, some conflict, but don't know until I have tried them out):
http://wi-ca.org/Drupal_modules_table_here
Now I will start over after 2 months of problems (even my admin acount had been www open to anyone due to conflicts) to document exactly which such modules I activate and for what purpose:
http://wi-ca.org/Drupal_modules_grouped#JavaScript_AJAX_JQuery
Here the issues I find (just started this, have to add some I've found earlier and others I will find out later):
http://wi-ca.org/Drupal_Java_issues
=> JAVA+AJAX+jQuery issues, I even don't know what is the difference...
In this way I suppose it must be possible to make a module rich complex site with a lot of JavaScript/AJAX/jQuery features with Drupal, but I wouldn't have started this if I 3 years before had known the many problems to get only a bit near those goals...
Comment #8
ronline CreditAttribution: ronline commentedThe same prob with 6.x-2.0-alpha. Downgrading to 6.x-1.1fix the issue.
#861460: 6.x-2.x-dev issue
Comment #9
mfer CreditAttribution: mfer commented@lamachine_fr jQuery Update 1.1 provides the same version of jQuery Drupal core does. If you are not using the uncompressed or minimized options you are just using the version in core.
An error like this would be because a specific module is using JavaScript that is incompatible with jQuery 1.3.2. The key would be to identify the module so a specific issue can be filed against it. A number of features were deprecated in jQuery 1.2.6 and were removed in 1.3.2. This is causing problems with numerous JavaScripts. For these there were better ways put in place. The scripts just need to be updated.
Comment #10
mfer CreditAttribution: mfer commentedFiling as a support request. Trying to find the script causing jQuery 1.3.2 to break is not a bug.
Comment #11
mansspams CreditAttribution: mansspams commentedLightbox 2 in my case...
Comment #12
j2b CreditAttribution: j2b commented... Have not looked through in details, but fix from Russian site http://www.drupal.ru/node/45910 solved issues with Vertical tabs, Fieldsets (collapsing) and remain working Fancybox module. What basically this fix does, it asks to change jquery_update.module code TO the following:
and
NOTICE! I am not an js guru and was looking for quick solution. Applied - worked. In nearest days will go through the differences and idea. Probably there could be some side effects too. My be some one with better knowledge can explain or go through the fixes.
Comment #13
j2b CreditAttribution: j2b commentedINFO on my posted code correction!
Probably because of not clearing cache for now I get the following error:
Still have to investigate further!
Comment #14
alexis CreditAttribution: alexis commentedI was also having the broken collapsible fields problem with Drupal 6.x using jQuery Update 6.x-2.x-dev and in my case was related to broken jQuery in Better Select module.
I noticed this in Firebug:
Syntax error, unrecognized expression: [@type="checkbox"]' when calling method
I found the problem could be fixed with this patch (special thanks to markabur). The fix for better select also fixed the collapsible fields problem.
Comment #15
j2b CreditAttribution: j2b commentedI can confirm, that the problem in my case was connected with Better select module as well. I didn't applied a patch. Deployed latest dev version, but these changes are not commited to dev from 2010-Jul-11. By disabling Better select module, everything comes into their places (updated latest jquery update dev 2.x).
Comment #16
ridolfidesigns CreditAttribution: ridolfidesigns commentedNot sure if anybody had this problem but thought I would document it. I was having the whole collapsible issue too. The problem with mine was that I didn't have:
in my page.tpl.php file. The thing that is strange, is that we had a test server setup and it had that line of code on the theme on the test server but a few days after being on the production server, it seemed to not be in the template file anymore. I hope that helps somebody.
Comment #17
XiaN Vizjereij CreditAttribution: XiaN Vizjereij commentedSubscribing
Comment #18
masher CreditAttribution: masher commentedI too found that disabling Better Select (or disabling jQuery Update) solved the problem.
Comment #19
jruberto CreditAttribution: jruberto commentedDisabling jQuery Update to repair broken collapsible fields (for instance, publishing & authoring info on node edit form) does work, but definitely see patch referenced in comment #14 for simple & effective fix to Better Select that allows you to keep both modules enabled.
Comment #20
gumrol CreditAttribution: gumrol commentedSame as #11 - I was running Lightbox2 Version 6.x-1.9, when I upgraded to 6.x-1.11, the error disappeared.
Comment #21
david.riches CreditAttribution: david.riches commentedFound an issue with compact forms version 1.2.
Disabled the module and fieldsets seems to be working again.
Comment #22
MakeOnlineShop CreditAttribution: MakeOnlineShop commentedHello,
I have the same problem with an old D5 website, and all solutions here do not work, any idea ?
Thanks for your help.
Comment #23
drupalfever CreditAttribution: drupalfever commentedI got a solution to this problem that worked for a Drupal 6 website.
I had to insert some JavaScript at the hook_init of one of my modules:
This is the only thing that worked for me.
Comment #24
markhalliwellDrupal 6 reached EOL (end-of-life) on February 24, 2016.