Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Lightbox Ultimate F.A.Q/Instructions › Lightbox Ultimate – Debugging JavaScript Errors
- This topic has 7 replies, 2 voices, and was last updated 11 years, 9 months ago by wpCommerce.
-
AuthorPosts
-
February 3, 2013 at 11:29 pm #8485wpCommerceModerator
If you are having issues with Lightbox popup It’s likely to be caused by some JavaScript errors. JavaScript errors usually occur when a plugin or theme executes a script which doesn’t follow the proper coding guideline or has errors. All JavaScript code included in our plugin is error free. We understand the importance of developing plugins without adding any JavaScript errors.
Sometimes JavaScript errors can also occur when a plugin or theme includes the same script as our plugin does, leading to multiple copies of the same JavaScript file. The following post explains more on this:
In most cases you can get rid of this issue just by deactivating the conflicting plugin or theme. But sometimes you may find it hard to find the actual source of the issue. In that case you can do some debugging by yourself and tell us more about the issue. This will help us quickly troubleshoot the issue for you.
How to do JavaScript Debugging
All major browsers have a debugging option that allows you to check for errors when the page loads. Here is how you can go to the console of your browser and see if you have JavaScript errors on your page:
a) Google Chrome or Safari
b) Firefox [Install the firebug addon. Now open firebug and switch to Console]
c) Internet Explorer 9+ [press F12. Now switch to Console]
Your aim is to have error free webpage. If you see an error on your webpage then you should investigate which plugin or theme is causing the error then get the developer of that product to fix it.
February 22, 2013 at 3:19 am #53550Swedish2goParticipantHi, I have installed the free version of WP Video Lightbox plugin on my site, and I am also a customer of your eMember, WP Affiliate and WP eStore. The WP Lightbox works perfect everywhere, exept on Explorer, which is a problem because a lot of my potential customers likely use that browser. I guess I should do a JavaScript Debugging on my page, but without any experience of this, I wonder exactly how to do it and WHEN I should press the F12. I mean, what page should be open? The editing page? The viewing page? And what do I do with the result?
Dont’ know if you can help me, but if you can, I’d be happy.
/Åsa Bouck
[http://swedish2go.com]
February 22, 2013 at 10:35 pm #53551wpCommerceModeratorHi, It’s the viewing page. Sometimes you may be need to reload the page while the console is open (that way you can see exactly how many errors you have on that particular page).
so which shortcode do you think is not working on IE?
February 22, 2013 at 11:37 pm #53552Swedish2goParticipantHi, it’s this shortcode that I am using for my Vimeo-videos and that doesn’t work on Explorer.
[video_lightbox_vimeo5 video_id=XX width=640 height=480 anchor=YY]
February 22, 2013 at 11:43 pm #53553Swedish2goParticipant…Pressing F12 and then Console in viewing page (and reloading it) doesn’t give me anything. Page is blank. Thankful for your help!
/Åsa
[http://swedish2go.com]
February 23, 2013 at 11:23 pm #53554wpCommerceModeratorHi, I think there is an issue with the vimeo embed code. Without using lightbox if you just directly copy and paste the code from vimeo it doesn’t always load in IE. We will see if this is a known issue among the vimeo users.
February 24, 2013 at 4:04 am #53555Swedish2goParticipantOk! I have asked Vimeo now, and wait for their reply. Without putting the Vimeo video in the WP Video Lightbox shortcode on my website, the video does show up, but with quite a delay.
If you hear any more about the Vimeo/Lighbox solutions, please let me know!
February 26, 2013 at 2:38 am #53556wpCommerceModeratorHi, one of the vimeo support staff has acknowledged about this issue:
[http://vimeo.com/forums/help/topic:68905]
And I have found many threads where users were having this issue with all versions of Internet Explorer.
-
AuthorPosts
- You must be logged in to reply to this topic.