Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I noticed several errors in other javascripts on a site with the Shadowbox module installed. Strangely, they only occurs in IE.
Once I uninstall the shadowbox module, the errors disappear.
I'm using Shadowbox version 3.0.2, with jQ adapter. However, I tried several other combinations, but that didn't change anything.
Here are some examples of the errors :
Cufon module - text replacement still occurs
Message: 'nodeType' is null or not an object
Line: 7
Char: 10399
Code: 0
URI: http:/xxx/sites/all/modules/contrib/cufon/js/cufon-yui.js?D
Views AJAX pager - paging keeps on working
Message: Object doesn't support this property or method
Line: 69
Char: 5
Code: 0
URI: http://xxx/sites/all/modules/contrib/views/js/base.js?D
Anyone else experienced this?
Comments
Comment #1
nicholas.alipaz CreditAttribution: nicholas.alipaz commentedyou are likely seeing issues because the 3.0.2 version of shadowbox library is not compatible with 6.x-3.x versions of shadowbox module. You will need to upgrade to 6.x-4.x version of shadowbox module.
# Shadowbox 6.x-3.x works with Shadowbox 3.0rc1.
# Shadowbox 6.x-4.x works with Shadowbox 3.0.x.
Please report back if you are still experiencing similar issues after the upgrade.
Comment #2
alippai CreditAttribution: alippai commentedI get the same errors in IE, with Shadowbox (Drupal 4.1 + js 3.0.2), Cufon and Views installed.
Downgrade to Shadowbox (Drupal 2.1 + js 2.0) solved my problem.
Comment #3
alippai CreditAttribution: alippai commentedAnd it's critical since it breaks functionality in IE7 (in IE8 everything works as expected, just errors are thrown :)).
Comment #4
nicholas.alipaz CreditAttribution: nicholas.alipaz commentedalippai, without a little more details I can't really troubleshoot this. "It doesn't work for me" doesn't really tell me what happened.
You said you have Drupal 4.1? eehhh? Maybe you are saying:
Shadowbox Module 6.x-4.1
Shadowbox JS 3.0.2
If this is the case, I cannot reproduce the issue. Can you give steps to reproduce this?
Comment #5
alippai CreditAttribution: alippai commentedYes, you are right I meant Shadowbox Module 6.x-4.1 and Shadowbox JS 3.0.2 with jQuery adapter.
Views version is the current 6.x stable, cufon is the most recent 6.x-dev version.
Tomorrow I can post the details of the problem (so I can setup a clear drupal, with the only modules needed to reproduce the "bug"), the error messages are the same as described by interX.
Comment #6
sbrattla CreditAttribution: sbrattla commentedI've got the same problem.
I am running Drupal 6.15, ShadowBox Module 6.x.4.1 (with Shadowbox 3.0.3). ShadowBox interferes with Cufon, and the result is that Cufon does not work at all. This only affects MSIE 7.0.
Error:
Line 8
Char: 10399
Error: nodeType is null or not an object.
Code: 0
When Shadowbox is uninstalled, everything works great.
Comment #7
harryadu CreditAttribution: harryadu commentedHi, I am not sure if this is the right place for this issue. I am running Drupal 6.16, Shadowbox 6.x-4.1, JS 3.0.3. I can't seem to get it working in IE. It works perfectly in all the other browser except that. Meaning, it just simply opens up the image without using the Lightbox, what am I missing?
Thanks,
Comment #8
nicholas.alipaz CreditAttribution: nicholas.alipaz commentedharryadu, your issue could be due to a missing or incorrect doctype, but your issue seems a bit unrelated here. I suggest a new support thread.
For the issue at hand. I have done some research on the subject and found there are reported conflicts on this throughout the net. It is not so much an issue with this module as it seems to be an issue with cufon and shadowbox libraries being used together.
http://github.com/sorccu/cufon/issues/issue/114
http://github.com/sorccu/cufon/issues#issue/107
http://shadowbox-js.1309102.n2.nabble.com/Shadowbox-making-cufon-text-di...
There are also other issues I have found within google searches for the errors and problems discussed here. I don't know what else we can do other than making a racket together on those threads that I posted above.
If I had a Status for "can't fix" then I would use that, however I will have to mark as by design I guess.
--
Los Angeles Web Design and development for Drupal.
Comment #9
david.a.king CreditAttribution: david.a.king commentedi've got an almost certainly related problem with the simplemap module - gives error
Message: 'undefined' is null or not an object
Line: 73
Char: 20
Code: 0
URI: http://www.###.com/modules/simplemap/script/jquery.simplemap1.0-min.js?s
in IE 6/7/8
and the marker is not displayed on the map.
disabling shadowbox eliminates the problem - i see that downgrading could solve the problem but i can't find an older version of shadowbox.. any other solutions?
thanks
Comment #10
smd_ksu CreditAttribution: smd_ksu commentedAnyone found a fix for this?
Comment #11
klimpI have the same problem too.
I try working with Lightbox module. So IE8 works correctly, but in 6 and 7 versions cufon doesnt work, although it has no errors.
Have anyone find issue for this?
Comment #12
manfer CreditAttribution: manfer commentedThis issue is againts 6.x-4.1 and the recommended version of this module is 6.x-4.2. So if you are using 6.x-4.1 version you must consider updating to 6.x-4.2.
If the problem persists after the update or if you are using 6.x-4.2 open a new issue please againts that version and a link to a page with the problem would be of great help.