Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    Bug-reports    Topic: “Internet Explorer Cannot Open the Internet Site Operation Aborted”
Pages: 1 2 [3]   Go Down
  Print  
Author Topic: “Internet Explorer Cannot Open the Internet Site Operation Aborted”  (Read 38610 times)
0 Members and 1 Guest are viewing this topic.
lorz
Newbie
*

Karma: 0
Offline Offline

Posts: 7


« Reply #30 on: December 16, 2009, 02:34:01 »

here i am again. I've tried not to activate some 3rd party extensions... and this is the message (see the image loaded) i got when using ietester (a software which test with different versions of internet explorer).

In fact, i have to told u one disfunction i observe. In the configuration panel, i notice that the configuration of authorization doesn't appear... So last time i went directly in the data base, and i make the changes i need... So i think this must have a consequence on the component...

Thks!


* erreur.jpg (138.34 KB, 1280x800 - viewed 869 times.)
Logged
smart
Administrator
Hero Member
*****

Karma: 163
Offline Offline

Gender: Male
Posts: 2161



WWW
« Reply #31 on: December 16, 2009, 02:47:24 »

lorz, please check PM, I'll send you link to test build of upcoming JComments version. Lets check this error with it...
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
lorz
Newbie
*

Karma: 0
Offline Offline

Posts: 7


« Reply #32 on: December 16, 2009, 03:25:20 »

ok... wonderful... i'll try it right now
Logged
avaenuha
Newbie
*

Karma: 0
Offline Offline

Posts: 1


« Reply #33 on: December 22, 2009, 13:52:15 »

I also have the same issue - IE6 gives the 'operation aborted' error on any page that has the JComments comment panel open. IE7 opens the page without a problem.
  • My HTML and CSS validate correctly
  • I've tried the behaviour.php and tlp_form.php changes
  • I've tried removing the customBBCode elements (youtube, google, wiki)
  • The problem also occurs on the bees and milkyway templates, but not JA_Purity.
None of these have had any effect. I really want to use JComments, but at the moment, I'm having to try other comment extensions.  Sad
Logged
maz007
Newbie
*

Karma: 0
Offline Offline

Posts: 1


« Reply #34 on: December 22, 2009, 20:44:34 »

Same problem on latest Rocket theme template 'Reaction'. Can't open internet explorer 7 or 8.
Logged
mark
Newbie
*

Karma: 1
Offline Offline

Posts: 2


« Reply #35 on: January 09, 2010, 23:40:10 »

I had the same problem. Do the following:

Change

Code:
setTimeout(JCommentsInitializeForm, 100);

in "/components/com_jcomments/tpl/default/tpl_form.php" (at line ~200) to

Code:
window.addEvent('domready' , JCommentsInitializeForm);

the problem is that the original code doesn't wait for the generating of full DOM, while the second does. I hope I could help somebody...


Hi i'm new here.

maybe you can try this one.

instead of using

Code:
setTimeout(JCommentsInitializeForm, 100);

in "/components/com_jcomments/tpl/default/tpl_form.php" (at line ~200)

change it to

Code:
if (window.addEventListener)
window.addEventListener('load',JCommentsInitializeForm,false);
else if (document.addEventListener)
document.addEventListener('load',JCommentsInitializeForm,false);
else if (window.attachEvent)
window.attachEvent('onload',JCommentsInitializeForm);
else {
//Older browsers only
if (typeof window.onload=='function') {
var oldload=window.onload;
window.onload=function(){
oldload();
JCommentsInitializeForm();
}
}
else
window.onload=JCommentsInitializeForm;
}

I also experienced this kind of problem before using this component in IE. Now it fixed using this code.
Hope it will help... Smiley Wink
Logged
smart
Administrator
Hero Member
*****

Karma: 163
Offline Offline

Gender: Male
Posts: 2161



WWW
« Reply #36 on: January 09, 2010, 23:49:36 »

mark thank you! Do you know - this method is universal? It would work with any versions of IE? And what is more correct - to use 'load' event or 'domready'? As I understand this problem - it occurs then JComments' script tries to modify DOM before it loaded.
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
mark
Newbie
*

Karma: 1
Offline Offline

Posts: 2


« Reply #37 on: January 10, 2010, 00:00:20 »

Did you try the code?Did it work at your end?

In here it works in IE, firefox and safari, I don't know in chrome because i don't have that browser in here.
I only tested it in IE 7 and 8. It works fine.

As far as I know 'domready' has issues in IE, better to use 'load'.
« Last Edit: January 10, 2010, 00:05:15 by mark » Logged
soulpatty
Newbie
*

Karma: 0
Offline Offline

Posts: 1


Email
« Reply #38 on: February 05, 2010, 16:00:36 »

I had the same problem. Do the following:

Change

Code:
setTimeout(JCommentsInitializeForm, 100);

in "/components/com_jcomments/tpl/default/tpl_form.php" (at line ~200) to

Code:
window.addEvent('domready' , JCommentsInitializeForm);

the problem is that the original code doesn't wait for the generating of full DOM, while the second does. I hope I could help somebody...


Hi i'm new here.

maybe you can try this one.

instead of using

Code:
setTimeout(JCommentsInitializeForm, 100);

in "/components/com_jcomments/tpl/default/tpl_form.php" (at line ~200)

change it to

Code:
if (window.addEventListener)
window.addEventListener('load',JCommentsInitializeForm,false);
else if (document.addEventListener)
document.addEventListener('load',JCommentsInitializeForm,false);
else if (window.attachEvent)
window.attachEvent('onload',JCommentsInitializeForm);
else {
//Older browsers only
if (typeof window.onload=='function') {
var oldload=window.onload;
window.onload=function(){
oldload();
JCommentsInitializeForm();
}
}
else
window.onload=JCommentsInitializeForm;
}

I also experienced this kind of problem before using this component in IE. Now it fixed using this code.
Hope it will help... Smiley Wink

i was really hoping this would solve my problems..but no luck!

im using a template from gavick pro and finally figured out that jcomment was causing this error after turning on/off my modules/components...

right now when users go into the article, this operation aborted error comes up...(i THINK the frontpage is okay after i tried this fix)

i really love jcomment, its my fav of all the components out there...but right now i cant use this component due to this error (which happens for at least 50% of my visitors) ...

can someone plz help?
Logged
derricklo
Newbie
*

Karma: 0
Offline Offline

Posts: 1


« Reply #39 on: March 06, 2010, 15:24:42 »

Hi,

Problem is due to timing problem for Javascript in Microsoft IE browsers (IE8- still get error, IE7, IE6) only. See:
http://support.microsoft.com/default.aspx/kb/927917
http://blogs.msdn.com/ie/archive/2008/04/23/what-happened-to-operation-aborted.aspx
Search for "What can you do?", Point 2.
Ans: Adding the defer  boolean attribute to the script block (this defers execution of the script content until parsing is complete)

If you are using Javascript intensive code like VM, JComments, etc, you may encounter the above problem for IE browsers.

For Joomla, I added "defer" in:
\libraries\joomla\document\html\renderer\head.php
line 130
$strHtml .= $tab.'<script defer="defer" type="'.$strType.'" src="'.$strSrc.'"></script>'.$lnEnd;
x$strHtml .= $tab.'<script type="'.$strType.'" src="'.$strSrc.'"></script>'.$lnEnd;

Seems to work for me. Please try the solution and confirm back here if this solution works? Thanks.

Also, not sure if this will slow the loading of the web pages in other browsers? Please share your page loading performance.
Logged
Eldad
Newbie
*

Karma: 0
Offline Offline

Posts: 5


Email
« Reply #40 on: March 08, 2010, 02:04:01 »

I had the same problem. situation was solved by removing another comment system which I used before but did not delete.
Logged
Pages: 1 2 [3]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Bug-reports    Topic: “Internet Explorer Cannot Open the Internet Site Operation Aborted”
 
Jump to: