Error: internet explorer cannot open the website

A forum with Tips, tricks and small tutorials.

Moderators: mcsmom, unixboymd

Forum rules
Post Reply
Motori
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Dec 10, 2007 11:35 am

Error: internet explorer cannot open the website

Post by Motori » Mon Dec 17, 2007 9:51 am

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.

codj2k

Re: Error: internet explorer cannot open the website

Post by codj2k » Wed Dec 19, 2007 1:49 pm

Whoever you are, I owe you one. ;D
Jeez, like you said, it worked like a charm.  8)
I still can't believe it worked. Kudos and God bless you. ;)

" I hope this will help someone"
It did!!!!!!

ac99
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Nov 24, 2006 6:48 pm

Re: Error: internet explorer cannot open the website

Post by ac99 » Wed Dec 19, 2007 8:41 pm

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? :D

Thanks in advance

Motori
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Dec 10, 2007 11:35 am

Re: Error: internet explorer cannot open the website

Post by Motori » Wed Dec 19, 2007 9:22 pm

Hmm...are you sure it's the tabs and slides which are causing the problem??

they work fine for me without any modification...

ac99
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Nov 24, 2006 6:48 pm

Re: Error: internet explorer cannot open the website

Post by ac99 » Wed Dec 19, 2007 9:41 pm

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.

Motori
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Dec 10, 2007 11:35 am

Re: Error: internet explorer cannot open the website

Post by Motori » Wed Dec 19, 2007 9:47 pm

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?

ac99
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Nov 24, 2006 6:48 pm

Re: Error: internet explorer cannot open the website

Post by ac99 » Wed Dec 19, 2007 9:54 pm

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

ac99
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Nov 24, 2006 6:48 pm

Re: Error: internet explorer cannot open the website

Post by ac99 » Thu Dec 20, 2007 7:22 am

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


Post Reply