Page 1 of 1
Error: internet explorer cannot open the website
Posted: Mon Dec 17, 2007 9:51 am
by Motori
This reffers to templates with tabels.
Whenever you put a module which uses java script the website returns error: "Internet Explorer cannot open the Internet site, Operation aborted". This happens only in Internet Explorer while the other browsers open the website without problems. I have googled a lot and i've find out that the problem is caused by the script and the body...to be more precise, the problem is that the javascript codes interfere while parsing the page. There are several solutions for this, easiest is to move the script to the top or bottom of the body tag or even moving it after the body. The script can also be put inside a function and then calling it from window.onload. Another solution to this problem is to add defer=”defer” in the script tag.
For example, i had problems with the page_peel module on my website. I have just downloaded the mod_pagepeel_banner.php file, changed
to
and everything worked like a charm

i hope this will help someone.
Re: Error: internet explorer cannot open the website
Posted: Wed Dec 19, 2007 1:49 pm
by codj2k
Whoever you are, I owe you one.

Jeez, like you said, it worked like a charm.

I still can't believe it worked. Kudos and God bless you.

" I hope this will help someone"
It did!!!!!!
Re: Error: internet explorer cannot open the website
Posted: Wed Dec 19, 2007 8:41 pm
by ac99
Not for me

I have JoomlaWorks "Tabs & Slides" Plugin installed, and he put the following code into my source code:
Code: Select all
<script type="text/javascript" src="/portal/includes/js/joomla.javascript.js"></script>
<script type="text/javascript" src="/portal/media/system/js/mootools.js"></script>
<script type="text/javascript" src="/portal/media/system/js/caption.js"></script>
<script type="text/javascript">
window.addEvent('domready', function(){ var JTooltips = new Tips($$('.hasTip'), { maxTitleChars: 50, fixed: false}); });
</script>
<!-- JoomlaWorks "Tabs & Slides" Plugin (v2.3) adaptet for J!1.5 by Roger Abt for joomlaportal.ch starts here -->
<style type="text/css" media="screen">
@import "http://www.mundodosanimais.com/portal//plugins/content/plugin_jch_ts/tabs_slides.css";
</style>
<style type="text/css" media="print">.jchts_tabbernav{display:none;}</style>
<script type="text/javascript">var jchts_slideSpeed=30; var jchts_timer=10;</script>
<script type="text/javascript" src="http://www.mundodosanimais.com/portal//plugins/content/plugin_jch_ts/tabs_slides_comp.js"></script><script type="text/javascript" src="http://www.mundodosanimais.com/portal//plugins/content/plugin_jch_ts/tabs_slides_opt_loader.js"></script>
<!-- JoomlaWorks "Tabs & Slides" Plugin (v2.3) adaptet for J!1.5 by Roger Abt for joomlaportal.ch ends here -->
But, this is not acessible in the index.php, so I can't change it there. This is really a stupid problem (why don't everyone use Firefox?), but, what can I do?

Thanks in advance
Re: Error: internet explorer cannot open the website
Posted: Wed Dec 19, 2007 9:22 pm
by Motori
Hmm...are you sure it's the tabs and slides which are causing the problem??
they work fine for me without any modification...
Re: Error: internet explorer cannot open the website
Posted: Wed Dec 19, 2007 9:41 pm
by ac99
Motori wrote:Hmm...are you sure it's the tabs and slides which are causing the problem??
No, I'm only supposing, because mootools / tabs & slides are the only
scripts I have in the source code.
Re: Error: internet explorer cannot open the website
Posted: Wed Dec 19, 2007 9:47 pm
by Motori
double check it...it happened to me, i was "sure" that no other module uses java but...anyway, can you send me the url to your website?
Re: Error: internet explorer cannot open the website
Posted: Wed Dec 19, 2007 9:54 pm
by ac99
It is an under construction site for a existing domain and forum, so I can't put it online yet. I was also not able to send private messages here, so, can you add me to MSN, and I give you a temporary admin account?
ac99 (at) mundodosanimais (dot) com
Re: Error: internet explorer cannot open the website
Posted: Thu Dec 20, 2007 7:22 am
by ac99
I found something 'funny': IE7 only gives me that error with the flash header. I've taken it to test, and IE browse all pages with no prob.
So, thinking that was a template problem, I've enabled rhuk_milkyway and put the flash header into it. And IE shows the error

To test again, I've put the flash movie into a JS file and called him by a script in the index.php. Movie shows, but the error persists.
In Firefox, all things doing normal, no errors

P.S. Thanks Motori for testing the site