Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
After upgrading lightbox2 to 5.x-2.10, I received the following error with IE8.
Line: 1133
Column: 7
Error: Expected identifier, string or number
Code: 0
URL: http:///sites/all/modules/lightbox2/js/lightbox.js
The lightbox2 image popup does not work with IE. But it seems to works with Firefox, Chrome, Opera.
I got similar error with 6.x-1.10 and IE.
Comment | File | Size | Author |
---|---|---|---|
#1 | 920094.patch | 886 bytes | stella |
Comments
Comment #1
stella CreditAttribution: stella commentedTry the attached patch.
Comment #2
bkenro CreditAttribution: bkenro commentedThank you very much for the quick reply and the patch.
After applying 920094.patch, the error changed,
Line: 147
Column: 5
Error: Object doesn't support this property or method
Code: 0
URL: .../sites/all/modules/lightbox2/js/lightbox.js
and the lightbox2 links stopped to work -- i.e., nothing happen when click the image links.
Comment #3
stella CreditAttribution: stella commentedThat second error is a duplicate of #920020: Lightbox2 no longer working after upgrade to 5.x.2.10
Comment #4
bkenro CreditAttribution: bkenro commentedMany thanks for the help.
920094.patch plus operation in #920020: Lightbox2 no longer working after upgrade to 5.x.2.10 greatly resolved the error.
After applying 920094.patch, I replaced all lines that calls Drupal.t in lightbox.js (not lightbox2.js) with the corresponding lines in previous version, then applied the change in http://drupal.org/node/920020#comment-3481774 by hand.
After all the treatment, my site restarted to work fine.
Thank you so much.
Comment #5
ralfvk CreditAttribution: ralfvk commentedSame problem here... even with Firefox
Downgraded to 2.9 again and wating for an unbuggy release...
Comment #6
blueskipper CreditAttribution: blueskipper commenteddowngraded to previous version...working fine
Comment #7
stella CreditAttribution: stella commenteddisable the G2 filter
Comment #8
stella CreditAttribution: stella commentedComment #9
ralfvk CreditAttribution: ralfvk commented2.11 is working fine again, thank you !
Comment #11
borgvall CreditAttribution: borgvall commentedI'm still having this problem with 2.11.
Comment #12
zmz CreditAttribution: zmz commentedthe same problem
error on IE8
>Posted by stella on September 24, 2010 at 12:42am
>disable the G2 filter
where and how?