cancel
Showing results for 
Search instead for 
Did you mean: 

How to fix Internet Explorer 11 Login

incanuskafre
Champ in-the-making
Champ in-the-making
Hello,
  I'm thinking in a quick fix for IE11 login problem. I've read this links:

https://forums.alfresco.com/forum/end-user-discussions/alfresco-share/alfresco-share-login-doesnt-wo...

http://www.nczonline.net/blog/2013/07/02/internet-explorer-11-dont-call-me-ie/

With firebug, I've found this piece of code:

var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)

I think that overriding this fragment, and setting something like this could work:

var isIE=(navigator.product.indexOf("Gecko")!=-1)

Anyone has tried something similar?
2 REPLIES 2

skuran
Champ in-the-making
Champ in-the-making
i ended up changing internet explorer's user agent string to include "MSIE 10.0". This fixes login problem, but may introduce other problems.

urx
Champ in-the-making
Champ in-the-making
I successfully could fix it using the workaround found at http://ecm.vsemozny.cz/2013/12/tip-alfresco-share-problem-with-login.html. Compared to the original post I only removed the id and left the class. My patchfile now looks like this:

diff –git a/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/guest/login.get.html.ftl b/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/guest/login.get.html.ftl
index c0d340a..ec75c2f 100644
— a/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/guest/login.get.html.ftl
+++ b/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/guest/login.get.html.ftl
@@ -54,7 +54,7 @@
             </@markup>
             <@markup id="buttons">
             <div class="form-field">
-               <input type="submit" id="${el}-submit" class="login-button" value="${msg("button.login")}"/>
+               <input type="submit" class="login-button" value="${msg("button.login")}"/>
             </div>
             </@markup>
          </form>

I'm using this workaround with the 4.2.f community edition and I didn't discover additional problems with the share interface right now (the login button turns to grey, but this is acceptable for everybody I think…)
Visit http://localhost:8080/share/page/index and click "Refresh Web Scripts" for the change to take effect.