I updated this module on a site yesterday, and now the arrows to expand fieldsets are not longer visible, so fieldsets cannot be expanded. This is not a theme issue as i have checked with core themes.
Has anyone else noted this? Any ideas on what it is/a conflict with another module.
All modules are up to date - several were updated the same time as Lightbox. Switching Lightbox off resolves the issue.
Contrib modules used/enabled are:
Ad
Admin menu
CCK
Global redirect
Imaegcache
Imagefield gallery (issue exists without this module enabled)
google analtics
IMCE
Logintobogan
Mollom
Path redirect
Pathauto
poormanscron
tinymce
Token
update status
video Filter
Panels
jQuery update
external links
views
XML sitemap
Comments
Comment #1
yingtho commentedI have the same problem. I just went back to 2.8 and everything works fine again.
Comment #2
tsavino commentedI am having the same problem with 2.9 and 2.8 I had to go back to 2.7 for it to work right...
Comment #3
yingtho commentedI found out the problem seems to be the version of jQuery. After i updated with jQuery Update 1.0 to 2.0 then Ligthbox2 problem disappeared.
Comment #4
0000sir commentedstill not works for me.
Lightbox2 5.x-2.9
jQuery Update 5.x-2.0
No error reports.
I cannt upgrade to drupal6 because of a multisite hosting on this.
Comment #5
0000sir commentedOh, I got a script error after enable firebug (sorry for forget it )
$("#lightboxAutoModal").triggerHandler is not a function
http://cg6.nacta.edu.cn/sites/all/modules/lightbox2/js/lightbox.js
Line 1111
Comment #6
0000sir commentedit works after I fallback to 2.7 and ** CLEAN THE TEMP FILES OF MY BROWSER **
Comment #7
stella commentedThis issue may be fixed in the latest dev version of the module. I certainly can't reproduce it.
If you can reproduce it, can you let me know what version of the jquery_update module you are using?
Comment #8
Countzero commentedSame problem here :
Message in Firebug console : $("#lightboxAutoModal").triggerHandler is not a function
... which disappeared after downgrade to 5.x-2.7.
Tried the dev version to no avail. Cleared cache between tests.
jquery_update 2
Comment #9
Meeyo commentedI don't know if my understanding on the question is right but its almost the same anyway. Its my first time to use lightbox2 and after a fresh install I can't set it up because the arrow in the fieldsets are not expandable. I read somewhere on forums to change: sites/all/modules/lightbox2/js/lightbox.js on line 1111
$('#lightboxAutoModal').triggerHandler('click');
to
// $('#lightboxAutoModal').triggerHandler('click');
and it worked for me.
It's fulfilling to see this module work on our site! =)
Comment #10
stella commentedor you upgrade to the latest dev version...
Comment #11
alan d. commentedI just hit this and discovered that it was simply a Browser caching issue. Latest Lightbox and JQuery update.
Maybe the javascript above should be:
if(typeof triggerHandler == 'function') {
$('#lightboxAutoModal').triggerHandler('click');
}
as an bridging step to avoid this issue.
Comment #12
stella commentedPlease use jquery update version 5.x-2.x and you should not have this issue. The jquery_update-5.x-1.x version is no longer supported.
Also, please remember that every time you upgrade your Drupal installation, you will need to re-copy all the js files from the
jquery_update/misc/directory to your Drupal installation'smisc/directory. You may need to clear your browser cache after doing this. Also, if using compressed javascript files, you may need to regenerate them.If this is still an issue for you, after completing all of the above steps, please provide a link to your site where I can see it in action.
Cheers,
Stella
Comment #13
kitchen_man commentedHey,
Just jumping in here because I think I am having the same issue. Here's the setup...
I have either of these links (below). One a test with a basic image and the other, a setup that was working till I updated. It was swfs embedded with a rel="lightframe"
I have tried both jquery_update 1.0 and 2.0 but currently using 2.0
With lightbox 2.7, the image links work but, swf won't. After upgrading to 2.8, 2.9 or 2.x-dev, neither loads and the result is the correctly sized lightbox with the loading gif, stuck in loading mode. I'm not sure if the actual image or swf is actually loading into the lightbox div but, the lightbox does change size approporiately for the image which is not having dimpnsions passed through the link.
The odd thing is that this was all working great until I updated but, the mistake I made was not remembering which version I was running specifically. Side note would also be that I installed the filefield, mimedetect and taxonomy-hide modules, not sure if they could effect lightbox?
and help is greatly apprecaited
cheers
-Dan
Comment #14
stella commentedThis doesn't sound like the same issue. This issue is regarding collapsed fieldsets not working. I think your problem may be a duplicate of #362039: Displaying video content (.swf) not working or #370883: Unable to get SWF working. If it's not, then please open a separate issue.
Comment #15
kitchen_man commentedI suppose it's not the same issue in terms of the field sets but, I was experiencing the same triggerHandler error. Also, I had originally thought it was specifically a video issue but, even basic image links aren't working, the lightbox loads, resizes but, never appears to load the image. Although, if I look in the html, the links to the image are there. Below is an example of an standard image link that gives this result.
thanks
-Dan
Comment #16
kitchen_man commentedI suppose it's not the same issue in terms of the field sets but, I was experiencing the same triggerHandler error. Also, I had originally thought it was specifically a video issue but, even basic image links aren't working, the lightbox loads, resizes but, never appears to load the image. Although, if I look in the html, the links to the image are there. Below is an example of an standard image link that gives this result.
thanks
-Dan
Comment #17
stella commentedCan you check if you've installed jquery_update correctly? Every time you upgrade your Drupal installation, you will need to re-copy all the js files from the jquery_update/misc/ directory to your Drupal installation's misc/ directory. You may need to clear your browser cache after doing this. Also, if using compressed javascript files, you may need to regenerate them.
If this is still an issue for you, after completing all of the above steps, please provide a link to your site where I can see it in action.
Comment #18
kitchen_man commentedThanks for the quick reply Stella. I have updated the files a few times (about 6 of them) and also cleared the cache. The only one I am not sure about it the compressed js files but, I'm pretty sure that things are updating ok because if I roll back to lightbox 2.7, the lightbox will display an image. I am going to send you a link to my site where you can see whats happening using jquery 2 and lightbox 2.9
thanks
-Dan
Comment #20
stella commentedI had a quick look at your site, you're running an old version of jquery. Please ensure you've followed _all_ of the instructions in the jquery_update module's README file. You need to copy all of the js files to Drupal's misc/ directory.
Comment #21
kitchen_man commentedBingo, I had updated the files but, on the wrong installation. The company sysadmin had changed the base install directory for drupal so I wasn't updating the right /misc directory. So, now running lightbox 2.9 and jquery 2.0 works fine. Thanks for your help.
Great job on the module and also with support (I am a support person myself so I really appreciate great support)
cheers
-Dan
Comment #22
shane birley commentedI just want to throw my two cents in but I have been experiencing this issue on some Drupal 6 websites. If jquery_update.module is running and you turn the lightbox2.module on, the collapsible fields fail.
I just started experiencing this. Testing this on a base install of Drupal 6.12 with only a few nodes and running Garland. Running the latest dev of lightbox2.module and the latest dev of jquery_update.module.
Firebug popped out this error right after I turned lightbox2.module on.
[Exception... "'Syntax error, unrecognized expression: )' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "" data: no]
Line 0
Comment #23
shane birley commentedAlso kills any conditional fields collapses (cck conditional fields) and vertical tabs. From what I can tell, it looks like incompatibility with lightbox2.module and jquery.1.3.x - but still looking.
I find it interesting that no matter what I do to the config, if I turn lightbox2.module on that it seems to break everything.
Comment #24
shane birley commentedWhat was the solution on this issue? http://drupal.org/node/453210
Comment #25
shane birley commentedOoo! I found a fix!
Now, of course, this is for Drupal 6 - not Drupal 5. Thanks to Roberto from www.speedtech.it for helping out with this.
Comment #27
csc4 commentedHow is this fixed? This incomaptability has just hit me as there's nothing on the project page warning of this compatability issue. I have tried JQuery 1 and 2 and neither work.
Comment #28
agileware commentedMarked #601736: Toggling collapsible fieldsets doesn't work as a duplicate of this issue
Comment #29
agileware commentedThis was marked fixed because if you install jQuery update 5.x-2.0 the problem goes away.
If you go to your status report page (admin/logs/status) for the jquery update row it should say
If it does say that you should not have a problem.
Comment #30
stella commentedComment #31
mike_r1977 commentedAfter installing Lightbox 6.x-1.10 update, I'm suddenly experiencing this issue. I run Drupal 6.19 with jQuery 1.2.6. I had to uninstall 6.x-1.10 and install the previous version since I'm in a production environment and editors can't work like this, but since 6.x-1.10 is a security update I'd really like to update. Am I the only one with this problem?
Comment #32
stella commentedI can't reproduce this. Also you shouldn't upgrade production sites before testing it in a test/staging environment. Did you run update.php? Perhaps try clearing the caches. If you're still having problems, and none of the other 6.x-1.10 issues in the queue solve the problem either, then please open a separate issue as this one is closed and was for a different version of the module.
Resetting issue settings.
Comment #33
mike_r1977 commentedThank you for the quick reply, I know I should have tested it before but I was so worried about the security aspect that I wanted to close the backdoor quickly.
I did run update.php and cleared my caches in production, but it didn't work. I've downgraded the module in production and am currently replicating the production environment in test (my current test environment has other updates I haven't pushed to production yet), where I'm going to try the dev version to see if it helps.
Sorry for reopening the issue, since it's the same problem I thought it was preferrable to creating a duplicate, but I didn't think about the versions.
Comment #34
mike_r1977 commentedComment #35
stella commentedIf you're still having problems feel free to open a new ticket, perhaps also provide a link to the site.