Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 7:26 am (All times are UTC )

 




Post new topic Reply to topic  [ 7 posts ] 
Author Message
Posted: Sun Aug 31, 2008 2:25 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Aug 09, 2007 4:46 pm
Posts: 27
I recently ran into a problem when I attempted to add wowhead tooltips to my Joomla site.

I simply added a single line javascript include to the head section of my template as explained here...
http://www.wowhead.com/?powered

It worked perfectly under Firefox, but IE6 refused to load at all, giving me a popup about a browser error...

Image

After some experimentation, I discovered that if I added my javascript line to my template AFTER mosShowHead(), the problem went away. With further experimentation, I narrowed the problem down to the <BASE> tag that is turned on because I'm using SEF URLs. As long as the script was included after that tag, IE6 would not load. Not knowing how to actually fix the problem, I just left my include BEFORE mosShowHead().

Then today, while researching an unrelated problem, I came across this page...

http://blog.dotsmart.net/2008/04/21/ie- ... val-error/

Quote:
IE 6 seems to get totally confused as to the structure of the document HEAD when there’s a self-closing or unclosed BASE tag.


So it turns out that the problem is an obscure bug in IE6 regarding the <BASE> tag.

The solution is to modify the way the code for the BASE tag is generated in frontend.php because IE can't be trusted to close it properly itself ...

BEFORE:
Code:
      echo "<base href=\"$mosConfig_live_site/\" />\r\n";


AFTER:
Code:
      echo "<base href=\"$mosConfig_live_site/\"></base>\r\n";


Problem solved!


Top
  E-mail  
 
Posted: Tue Oct 28, 2008 7:20 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue May 01, 2007 10:12 pm
Posts: 13
I wanted to add to this excellent post that this solution also resolves a Google Maps issue where pages with maps placed in a content item through the googlemaps plugin would generate the "operation aborted" error on IE6.

We have a 1.15 install and found the frontend.php file in the includes directory.

I applied the fix outlined by Krick and voila, job done, happy boss, happy me. :)

Thanks to krick for this excellent post.


Top
   
 
Posted: Tue Nov 18, 2008 9:33 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Nov 18, 2008 3:38 pm
Posts: 7
thanks for thise post


Top
  E-mail  
 
Posted: Fri Jul 31, 2009 11:34 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu May 21, 2009 10:21 pm
Posts: 24
I got this problem report from some of my guildies using IE6 on Win2k, and started chasing the red herring here:

http://support.microsoft.com/kb/927917

But on a hunch I disabled my wowhead plugin and IE6 started working. Googling for "operation aborted" and wowhead turned up this thread, and your fix did the trick!

I'm using a much newer version of Joomla, so the edit is in libraries/joomla/document/html/renderer/head.php.

Thanks for the sleuthing. Hopefully this change will make it into a future version of Joomla.

Meanwhile, for your amusement, click here:

Image


Top
  E-mail  
 
Posted: Sat Aug 01, 2009 12:58 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Aug 09, 2007 4:46 pm
Posts: 27
I upgraded to Joomla 1.5 and my site doesn't have the BASE tag anymore. I'm not sure why. It could be the JoomlaShack Simplicity template I'm using.


Top
  E-mail  
 
Posted: Sat Aug 01, 2009 1:27 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu May 21, 2009 10:21 pm
Posts: 24
Did you re-enable SEF after upgrading? That's what causes the BASE tag to be included.


Top
  E-mail  
 
Posted: Wed Oct 21, 2009 3:08 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Apr 17, 2008 3:38 pm
Posts: 6
I too had this problem after I enabled SEF on my site. The solution to include a </base> tag worked!

I was then able to re-enable the SEF and it all look good now.

Obscure problem that only took 2 hours to solve!


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group