• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item3828: Internet Explorer 6 refuses to load pages with NatSkin and latest BehaviourContrib "Operation Aborted" error (patch available)

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension NatSkin Urgent Closed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

After Installing last releases of NatSkin, BehaviorContrib, Twisty, Twiki 4.1.2 and the corresponding dependencies Internet Explorer 6 can no longer open Twiki Pages that have the Natural Skin. The problem seems to be connected with the way NatSkin interacts with BehaviourContrib and/or Twisty since Twiki 4.1.2, so that deactivating any of them will make NatSKin pages visible again. I have rolled back to earlier versions of NatSkin BehaviourContrib and Twisty (Plugin and Contrib) but that does not solve the problem. No user complained after I installed 4.1.2 so I am assuming that it worked fine with IE6. So while I continue rolling back all the NatSkin dependencies, I grow suspicious that the probem might be elsewhere. Any ideas will be most appreciated

Note that the problem is limited to IE6, IE7 works just fine. However, most of my users use IE6 and refuse to upgrade to IE7.

Thank you very much

-- TWiki:Main/LuisPerez - 31 Mar 2007

There might be something in the optimization script I appended to behaviour.js. This worked fine under pattern skin.

Luis,

  • what errors do you see?
  • if you append ?skin=pattern to the url, what happens?

-- TWiki:Main.ArthurClemens - 31 Mar 2007

Hi Arthur, thanks for the fast reply! Twiki does not give any error, on the contrary, all the logs (Twiki's, apache's and SSl's) look fine, the page is served (GET command acknowledged in the server) the only error is on the IE6 part saying that IE cannot open the page, "operation aborted". Pattern Skin is visible without problems, but Natskin isn't.

-- TWiki:Main.LuisPerez - 31 Mar 2007

Hi I got access to an IE 6 machine and retried. As expected ?skin=pattern loads just fine. the problem is when I try to load the default Natskin for those webs (the 6+ webs I have using Natskin all fail to load, the 3 pages with Pattern Skin load well, and to give due credit to Arthur, amazingly fast for IE6)

For the moment I have resolved the problem reverting to the Nov2006 versions of BehaviourContrib, TwistyContrib and TwistyPlugin.

To give more information this is a Twiki 4.1.2 system running on MAC OS X 10.4.9 with Apache 1.3 and on a secure (SSL) server, requiring certificates. Everything has been running wonderfully well (TWiki is great, and you are all doing a wonderful job , no doubt on that!) since last summer and on all browsers, I have regularly applied all updates successfully until I recently upgraded to the latest BehaviourContrib+Twisty+Natskin cocktail. Thereon IE6 (and only IE6) complained that pages with NatSkin could not be loaded and threw an "Operation Aborted" error dialog (let me further emphasize that IE7 worked well and fast!). All the server and twiki logs look just as they would when any page is served, Twiki log never gets to acknowledge the page being served (it never finishes loading) but the SSL server reports the normal handshake and the access log acknowledges the GET command. Nothing else is logged. The only solution I found was rolling back to Nov2006 versions of the aforementioned cocktail. Note also that before rolling back I renamed the BehaviourContrib directory to something else and tried to access the NatSkinned webs. Then everything loaded fine with twisties not working at all as otherwise expected.

-- TWiki:Main.LuisPerez - 01 Apr 2007

One more thing that might help, the natlogon page would load and allow authentication as expected, upon being logged on, access to the web pages would produce the error.

-- TWiki:Main.LuisPerez - 01 Apr 2007

I can confirm this error. IE6 is always good for a surprise. NatSkin makes heavy uses of twisties, i.e. when logged in, in the sidebar. I was able to load a page using IE6 again when appending ?stylesidebar=off to the url. I will further investigate what html and javascript is generated in the sidebar that freaks IE6.

-- TWiki:Main.MichaelDaum - 01 Apr 2007

Here's the screenshot of the error message.

IE6-Error-Loading-NatSkin.jpg

I first thought it was related to running IE6 under wine on linux.

Follow http://wikiring.de/Main/WebHome with an IE6 to get the error yourself.

-- TWiki:Main.MichaelDaum - 01 Apr 2007

Oh, actually 80004004 is not an unknown number for javascript frameworks googling it

Alright, when I disable loading behaviour.js the page does not fail to load.

-- TWiki:Main.MichaelDaum - 01 Apr 2007

Why does this patch fix it?

--- behaviour.js        (revision 13241)
+++ behaviour.js        (working copy)
@@ -259,8 +259,10 @@
 // Made code cross-platform by Arthur Clemens, 2007

 // this object will manage CSS expressions used to query the DOM
+/*
 var Selectors;
 if (document.createStyleSheet) Selectors = {
        styleSheet: document.createStyleSheet(),
        cache: {},
        length: 0,
@@ -308,4 +310,5 @@
                // call the old register function
                this._register(sheet);
        }
}
\ No newline at end of file
+*/

This TwistyContrib+TwistyPlugin+BehaviourContrib is far too much code for just toggling some markup.

-- TWiki:Main.MichaelDaum - 01 Apr 2007

But then again, why does the page work with pattern skin?

Do you see any problems on the TwistyPlugin page with nat skin?

This blog points to this solution: use a closing tag for the base tag (as pattern skin does for a different reason).

If that doesn't work try this.

-- TWiki:Main.ArthurClemens - 01 Apr 2007

Unbelievable. This

-<base href="%SCRIPTURL{view}%/%WEB%/%TOPIC%" />
+<base href="%SCRIPTURL{view}%/%WEB%/%TOPIC%"></base>
fixed it. Thanks Arthur smile

Recasting this bug to NatSkin

-- TWiki:Main.MichaelDaum - 02 Apr 2007

Index: view.plain.nat.tmpl
===================================================================
--- view.plain.nat.tmpl (revision 14180)
+++ view.plain.nat.tmpl (working copy)
@@ -2,7 +2,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="%LANG%" lang="%LANG%">
 <head>
 <title>%TMPL:P{"title"}%&nbsp;-&nbsp;<nop>%WIKITOOLNAME%</title>
-<base href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%" />
+<base href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%"></base>
 <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" />
 <meta http-equiv="Content-Style-Type" content="text/css" /> 
 <meta name="generator" content="TWiki/NatSkin" /> %TMPL:P{"meta"}%
Index: view.print.nat.tmpl
===================================================================
--- view.print.nat.tmpl (revision 14180)
+++ view.print.nat.tmpl (working copy)
@@ -2,7 +2,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="%LANG%" lang="%LANG%">
 <head>
 <title>%WIKITOOLNAME% &middot; %WEB% &middot; %TOPIC% &middot; (%MAKETEXT{"printable"}%)</title>
-<base href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%" />
+<base href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%"></base>
 <meta http-equiv="Content-Type" content="text/html; charset=%CHARSET%" />
 <meta http-equiv="Content-Style-Type" content="text/css" /> 
 <meta name="generator" content="TWiki/NatSkin" /> %TMPL:P{"meta"}%
Index: page.nat.tmpl
===================================================================
--- page.nat.tmpl       (revision 14180)
+++ page.nat.tmpl       (working copy)
@@ -5,7 +5,7 @@
 <meta http-equiv="Content-Style-Type" content="text/css" />
 <meta name="generator" content="TWiki/NatSkin" /> %TMPL:P{"meta"}%
 <title>%TMPL:P{"title"}%&nbsp;-&nbsp;<nop>%WIKITOOLNAME%</title>
-<base href="%SCRIPTURL{view}%/%WEB%/%TOPIC%" />
+<base href="%SCRIPTURL{view}%/%WEB%/%TOPIC%"></base>
 <link rel="icon" href="%FAVICON%" type="image/x-icon" />
 <link rel="shortcut icon" href="%FAVICON%" type="image/x-icon" />
 %GETSKINSTYLE%

-- TWiki:Main.WillNorris - 17 Jun 2007

ItemTemplate
Summary Internet Explorer 6 refuses to load pages with NatSkin and latest BehaviourContrib "Operation Aborted" error (patch available)
ReportedBy TWiki:Main.LuisPerez
Codebase 4.1.2
SVN Range TWiki-4.1.2, Mon, 26 Mar 2007, build 13227
AppliesTo Extension
Component NatSkin
Priority Urgent
CurrentState Closed
WaitingFor

Checkins TWikirev:14181
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r10 - 2007-06-17 - TWikiUserMapping_WillNorris
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback