Page 1 of 3
Internet Explorer cannot open the Internet site - Operation
Posted: 01 Dec 2008, 23:03
by Ian
Apologies I know there is a FAQ that addresses this problem and that the general opinion is that he problems is with IE - however the problem I am encountering seems to be well explained at
http://blogs.msdn.com/ie/archive/2008/0 ... orted.aspx
I have included a slideshow plugin that generates an in-line java script to show the images in rotation
<div class="moduletable">
<div class="phocagalleryslideshow" style="text-align:center;">
<script type="text/javascript">
fadeimages1228163483 = new Array();
fadeimages1228163483[0] = [ .... etc.
fadeimages1228163483[8] =
fadeimages1228163483[9] = ..... '];
new fadeshow(fadeimages1228163483, 200, 300, 0, 5000, 1, 'R')
</script>
</div>
</div>
This appears periodically to cause IE a problem loading the page. I tried applying the fix suggested in the FAQ but it made no difference.
The above web link talks about ...
What caused the operation aborted error?
The operation aborted dialog in Internet Explorer 7 is triggered by an HTML parsing exception that occurs when all the following specific conditions are met:
The HTML file is being parsed
Script is executing
The executing script attempts to add, or remove an element from an unclosed ancestor in the markup tree (not including the script block's immediate parent element).
Is there a fix or work around to this issue yet.
Apologies if I have repeated a known problem - I am new to Phoca Gallery and Joomla.... and to web forums.
Re: Internet Explorer cannot open the Internet site - Operation
Posted: 02 Dec 2008, 16:57
by Jan
Hi, I don't know any other fix for this

in other way I will apply it immediately on this plugin
Jan
Re: Internet Explorer cannot open the Internet site - Operation
Posted: 02 Dec 2008, 23:12
by Ian
I found a what I think is a minor error in the Slide Show javascript.
In file .../plugins/content/phocagalleryslideshow.php on line 101 it writes the last line of the javascript.
$script .= 'new fadeshow(fadeimages'.$c.', '.$width.', '.$height.', 0, '.$delay.', 1, \'R\')' . "\n";
However there is no closing semicolon after the close bracket
'R') I think it should be
'R'); But I am new to this and am not sure if I am right.
I have replace line 101 with
$script .= 'new fadeshow(fadeimages'.$c.', '.$width.', '.$height.', 0, '.$delay.', 1, \'R\');' . "\n";
and I think the IE Operation Aborted problem has almost gone away

.... there is now another similar IE problem that seems to be caused occasionaly by a conflict with a javascript creating calendar information.
Calendar.setup: Nothing to setup (no fields found). Please check your code.
It eventually causes an IE Operation Aborted error, but I think this isanother problem.
Re: Internet Explorer cannot open the Internet site - Operation
Posted: 03 Dec 2008, 15:17
by Jan
ok, thank you for this information...
Calendar.setup - try to see this forum, I think we have solved this problem here...
Jan
Re: Internet Explorer cannot open the Internet site - Operation
Posted: 15 Dec 2008, 23:53
by Charbel89
Adding the semi colon will not resolve this problem. IF JavaScript was strict enough you would get a runtime error when you execute the script.
The main problem here is that the script used is does a document.write this means that whenever it is executed writes the output at its current location.
So When a piece of script attempts to access an element that is not closed, more often than not you will get this problem in IE with the exception of IE8 where Microsoft fixed the problem.
To avoid this problem you should or rather the script should only write to its wrapping element of there element where it is declared within.
I tired to add setTimeout to execute later however this will not work becuase as mentioned earlier the dhtml injection is dependent on when and where the script is executed.
I can replicate this problem at will.
I am still looking into this problem and I replaced the fadeshow script with the latest veriosn but no luck. I have dive deeper into the fadeshow script and possibly rework the script a bit to avoid this problem. If I manage to do it I will post the fix here.
Regards
Charbel.
Re: Internet Explorer cannot open the Internet site - Operation
Posted: 16 Dec 2008, 01:42
by Charbel89
Ok,
I have resolved this problem by using a different slide show engine.
So I am now wondering how would the developers of this component (Slide show) feel about this especially that the new engine I am using will give so much power to this slide show it will be so cool.
I have done the integration process and currently I am only scratching the surface with what I can do with the slides.
Please let me know so I can post my changes, and then maybe they can be included in the next release after passing the testing criteria.
Thanks
Charbel
Re: Internet Explorer cannot open the Internet site - Operation
Posted: 16 Dec 2008, 19:49
by Jan
yes, this would be great, please let me know the changes and demo (if it is possible)
Jan
Re: Internet Explorer cannot open the Internet site - Operation
Posted: 16 Feb 2009, 22:09
by ingo
Hy Jan, hy Charbel89
as I am having exactly the same problem as described in this post I am interested as well in the solution for the problem.
Can you give me any details ?
Thanx,
Ingo
Re: Internet Explorer cannot open the Internet site - Operation
Posted: 16 Feb 2009, 22:19
by Jan
for internet explorer bug (internet explorer cannot open the site), there are two possible solution:
https://www.phoca.cz/documents/2-phoca-g ... ent/24-faq
point 5
or add to javascripts codes on your site the defer="defer" attribute:
from:
<script src="script.js" type="text/javascript" ></script>
to:
<script src="script.js" type="text/javascript" defer="defer"></script>
Re: Internet Explorer cannot open the Internet site - Operation
Posted: 17 Feb 2009, 10:13
by ingo
Hy Jan,
the code from the faq doesn't help, still the same error.
Where do I have to apply the changes with the script / defer parameter? Can you tell me a more precise location?
Thanx,
Ingo