- Posts: 19
COMMUNITY FORUM
K2 JavaScript problems
- ak2user
-
Topic Author
- Offline
- New Member
K2 JavaScript causes “Internet Explorer cannot open the Internet site - Operation aborted” error.
If I disable System - K2 plug-in, the page loads normally.
Specifically this bit of code seems to be responsible:
Problems occur in ie6 and ie7, ie8 seems to be ok. But I have ie7, ie8 as portable applications (Utilu IE Collection).
My question is, how can I stop this bit of JavaScript from loading? And I did not even plan to use rating functionality for anything.
More info about the “Internet Explorer cannot open the Internet site - Operation aborted” error:
social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/334e42a4-241d-4ca0-9521-c805660921f8
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Please Log in or Create an account to join the conversation.
- ak2user
-
Topic Author
- Offline
- New Member
- Posts: 19
I have ie6 on xp sp3. I never use ie for internet browsing and I never update it or windows.
Probably, Microsoft issued some fix for the “Internet Explorer cannot open the Internet site - Operation aborted” error and all k2 testing was done on systems with that fix installed.
I cannot provide url for my site as I am developing it on localhost. But if my supposition is correct the error should manifest on any k2 (v2.3) site opened with ie6 without the appropriate fix installed.
I am attaching a text file with the code stripped by the editor.
I singled out this code by saving my page as a static page and then removing the code.
Still, how can I stop this code from loading, as I said before I do not need rating functionality on this particular site. I guess that would require editing these files: \plugins\system\k2.php and \components\com_k2\js\k2.js.
Please Log in or Create an account to join the conversation.
- Scott Hoenes
-
- Offline
- New Member
- Posts: 5
As soon as I deactivate k2, the site works.
site is located here, (www.pagovernorsconferenceforwomen.org/) as soon as I turn off "System - K2" it works fine.
I'm sure k2 works in ie6, I just don't know what else is wrong that it would make my entire site go blank if I go to any of the pages in the navigation menu.
Please Log in or Create an account to join the conversation.
- Scott Hoenes
-
- Offline
- New Member
- Posts: 5
Scott Hoenes said:I get the exact same problem on a site we're working on. I can't make any sense of it either, been searching for two days for some answer.
As soon as I deactivate k2, the site works.
site is located here, (www.pagovernorsconferenceforwomen.org/) as soon as I turn off "System - K2" it works fine.
I'm sure k2 works in ie6, I just don't know what else is wrong that it would make my entire site go blank if I go to any of the pages in the navigation menu.
Please Log in or Create an account to join the conversation.
- ak2user
-
Topic Author
- Offline
- New Member
- Posts: 19
How is this done?
Please Log in or Create an account to join the conversation.
- Scott Hoenes
-
- Offline
- New Member
- Posts: 5
As far as updating of mootools went, inside my template folder there's a js folder with all the javascript pertaining to that theme, I updated the mootools.js that was in there.
ak2user said:"Well, my fix was update mootools.js in the theme folder."
How is this done?
Please Log in or Create an account to join the conversation.
- ak2user
-
Topic Author
- Offline
- New Member
- Posts: 19
Please Log in or Create an account to join the conversation.
- Scott Hoenes
-
- Offline
- New Member
- Posts: 5
ak2user said:After reading your statements I enabled the “System - Update Mootools” plug-in. Now my pages load in ie6 without showing any errors. There are some display issues for certain elements but these are due to a complex template I am using (separate style sheets for different versions of ie, etc).
Please Log in or Create an account to join the conversation.
- Doc Chaos
-
- Offline
- Junior Member
- Posts: 23
Scott Hoenes said:where did you find "System - Mootools Update" I could only find the Ki Mootools Control, and I still have issues.
ak2user said:After reading your statements I enabled the “System - Update Mootools” plug-in. Now my pages load in ie6 without showing any errors. There are some display issues for certain elements but these are due to a complex template I am using (separate style sheets for different versions of ie, etc).
Please Log in or Create an account to join the conversation.
- Scott Hoenes
-
- Offline
- New Member
- Posts: 5
Doc Chaos said:It was introduced in a newer release of Joomla I think, I didn't have it until 1.5.20 but now its in my plugins list, of course enabling it breaks other parts of my site that I have to have :(
Scott Hoenes said:where did you find "System - Mootools Update" I could only find the Ki Mootools Control, and I still have issues. ak2user said:After reading your statements I enabled the “System - Update Mootools” plug-in. Now my pages load in ie6 without showing any errors. There are some display issues for certain elements but these are due to a complex template I am using (separate style sheets for different versions of ie, etc).
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Please Log in or Create an account to join the conversation.
- Pete Thompson
-
- Offline
- New Member
- Posts: 3
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Pete Thompson said:I'm running the new version of k2, but they're not playing nice with the mootools upgrade plugin, so no luck for me. Do I need to clear the cache for the server or something?
Please Log in or Create an account to join the conversation.
- Neha Goyal
-
- Offline
- New Member
- Posts: 7
I do have the same issue with IE7 due to K2. I m using version 2.4.1 of K2. If I enable system-mootools upgrade plugin, what other parts of site will it break?
Thanks
Neha
Please Log in or Create an account to join the conversation.
- Neha Goyal
-
- Offline
- New Member
- Posts: 7
Please Log in or Create an account to join the conversation.
- Neha Goyal
-
- Offline
- New Member
- Posts: 7
Please Log in or Create an account to join the conversation.