Keyword

K2 JavaScript problems

  • ak2user
  • ak2user's Avatar Topic Author
  • Offline
  • New Member
More
14 years 8 months ago #87973 by ak2user
K2 JavaScript problems was created by ak2user
K2 v2.3

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.

More
14 years 8 months ago #87974 by william white
Replied by william white on topic K2 JavaScript problems
The editor stripped out your code. Put it in a text file and attach it to your comments or add a screen shot of the code along with the screen with the error message

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #87975 by Lefteris
Replied by Lefteris on topic K2 JavaScript problems
Hi. Probably it has to do with the unofficial standalone versions or Internet Explorer that you are using. K2 has been tested on every version of Internet Explorer and works fine. You can also post the site URL here and let some users to access it using Internet Explorer.

Please Log in or Create an account to join the conversation.

  • ak2user
  • ak2user's Avatar Topic Author
  • Offline
  • New Member
More
14 years 8 months ago #87976 by ak2user
Replied by ak2user on topic K2 JavaScript problems
Interesting.

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.
Attachments:

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #87977 by Scott Hoenes
Replied by Scott Hoenes on topic K2 JavaScript problems
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.

More
14 years 7 months ago #87978 by Scott Hoenes
Replied by Scott Hoenes on topic K2 JavaScript problems
Well, my fix was update mootools.js in the theme folder. Don't know if that will work for you, but that at least lets the page load, I still get js errors but the page loads, so it's a step in the right direction.

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
  • ak2user's Avatar Topic Author
  • Offline
  • New Member
More
14 years 7 months ago #87979 by ak2user
Replied by ak2user on topic K2 JavaScript problems
"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.

More
14 years 7 months ago #87980 by Scott Hoenes
Replied by Scott Hoenes on topic K2 JavaScript problems
perhaps I spoke too soon, as I have gone back to disabling the "System - K2" plug in and everything works again, even the blog page. So I don't know how that's working correctly, but it is.

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
  • ak2user's Avatar Topic Author
  • Offline
  • New Member
More
14 years 7 months ago #87981 by ak2user
Replied by ak2user on topic K2 JavaScript problems
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.

More
14 years 7 months ago #87982 by Scott Hoenes
Replied by Scott Hoenes on topic K2 JavaScript problems
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.

More
14 years 7 months ago #87983 by Doc Chaos
Replied by Doc Chaos on topic K2 JavaScript problems
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.

More
14 years 7 months ago #87984 by Scott Hoenes
Replied by Scott Hoenes on topic K2 JavaScript problems
yea, i have the same problem with the mootools control panel, I get the site to load in ie6 now, but the reCaptcha for the comments won't load if mootools control is enabled.

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.

More
14 years 7 months ago #87985 by Lefteris
Replied by Lefteris on topic K2 JavaScript problems
Joomla! 1.5.20 comes with a system plugin that updates mootools. If you enable this plugin you should update K2 to version 2.4.1. Version 2.3 does not support the mootools update.

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #87986 by Pete Thompson
Replied by Pete Thompson on topic K2 JavaScript problems
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.

More
14 years 7 months ago #87987 by Lefteris
Replied by Lefteris on topic K2 JavaScript problems
What do you mean exactly? Do you get any javascript errors?



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.

More
14 years 4 months ago #87988 by Neha Goyal
Replied by Neha Goyal on topic K2 JavaScript problems
Hello,

 

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.

More
14 years 4 months ago #87989 by Neha Goyal
Replied by Neha Goyal on topic K2 JavaScript problems
M using may components and modules in my site. Will upgrading mootools affect any module or component or functionality of the site?

Please Log in or Create an account to join the conversation.

More
14 years 4 months ago #87990 by Neha Goyal
Replied by Neha Goyal on topic K2 JavaScript problems
M using virtuemart, jomsocial, kksougoogleweather module, calender module, lyftenbloggie component, google currency converter, single video flash player module.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum