OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Login with Internet Explorer fails

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Login with Internet Explorer fails

Postby johmue » Mon Oct 22, 2012 1:07 pm

Hi,

I've been searching about this topic now for a while without helpful result.

I am observing that a login using Internet Explorer (tested 8.x and 9.x) leads back to the login page. Unfortunately I don't have Internet Explorer available while having access to the server's logfiles. So I can't really experiment. Maybe I will be able to do that next week end.

For now I have only some lines of the logfile:

Using Mozilla:
x.x.x.x - - [22/Oct/2012:07:48:29 +0200] "GET / HTTP/1.1" 200 2918 "-" "Mozilla
x.x.x.x - - [22/Oct/2012:07:48:36 +0200] "POST /login/signIn HTTP/1.1" 200 511 "http://scienca-revuo.info/" "Mozilla"
x.x.x.x - - [22/Oct/2012:07:48:36 +0200] "GET /user HTTP/1.1" 200 3216 "-" "Mozilla"
x.x.x.x - - [22/Oct/2012:07:49:27 +0200] "GET /login/signOut HTTP/1.1" 200 347 "http://www.scienca-revuo.info/user" "Mozilla"
x.x.x.x - - [22/Oct/2012:07:49:27 +0200] "GET /login HTTP/1.1" 200 2986 "-" "Mozilla"


Using MSIE:
x.x.x.x - - [22/Oct/2012:07:47:31 +0200] "GET / HTTP/1.1" 200 2918 "-" "MSIE"
x.x.x.x - - [22/Oct/2012:07:47:39 +0200] "POST /login/signIn HTTP/1.1" 200 456 "http://www.scienca-revuo.info/login?source=%2Fuser" "MSIE"
x.x.x.x - - [22/Oct/2012:07:47:40 +0200] "GET /user HTTP/1.1" 200 362 "-" "MSIE"
x.x.x.x - - [22/Oct/2012:07:47:40 +0200] "GET /login?source=%2Fuser HTTP/1.1" 200 3003 "-" "MSIE"
(after this only GETs on .css and .js files)

My rewrite rules:

RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/sr/$1


Any ideas? Any hints what further experiments to do?

Thank you very much

Johannes
johmue
 
Posts: 24
Joined: Sun Mar 11, 2012 2:32 am

Re: Login with Internet Explorer fails

Postby asmecher » Mon Oct 22, 2012 1:12 pm

Hi Johannes,

Have you seen this FAQ entry?

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8470
Joined: Wed Aug 10, 2005 12:56 pm

Re: Login with Internet Explorer fails

Postby johmue » Wed Oct 24, 2012 11:32 am

Hi Alec,

the browsers are accepting cookies from the site.

Johannes
johmue
 
Posts: 24
Joined: Sun Mar 11, 2012 2:32 am

Re: Login with Internet Explorer fails

Postby asmecher » Wed Oct 24, 2012 12:53 pm

Hi Johannes,

Does the same user (on the same computer) have the ability to test with another browser to see if it is indeed a browser-specific problem?

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8470
Joined: Wed Aug 10, 2005 12:56 pm

Re: Login with Internet Explorer fails

Postby johmue » Wed Oct 24, 2012 2:05 pm

Yes, it is browser specific.

Login by MSIE fails. Same user, same computer, different browser (Firefox) succeeds.
johmue
 
Posts: 24
Joined: Sun Mar 11, 2012 2:32 am

Re: Login with Internet Explorer fails

Postby asmecher » Wed Oct 24, 2012 3:02 pm

Hi Johannes,

What security level settings are you using in IE?

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8470
Joined: Wed Aug 10, 2005 12:56 pm

Re: Login with Internet Explorer fails

Postby johmue » Thu Oct 25, 2012 11:08 am

Security level in MSIE: Medium. I did not try below that.
johmue
 
Posts: 24
Joined: Sun Mar 11, 2012 2:32 am

Re: Login with Internet Explorer fails

Postby asmecher » Thu Oct 25, 2012 11:21 am

Hi Johannes,

Try flushing all cookies on your browser; it might be that there is a cookie with the same name in a higher path that is taking precedence. Otherwise, try a) testing with an even lower security setting, just for the purposes of debugging, and b) testing with IE from another machine, to see if it's something specific to the one computer.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8470
Joined: Wed Aug 10, 2005 12:56 pm

Re: Login with Internet Explorer fails

Postby johmue » Fri Oct 26, 2012 12:29 pm

Tried all this, flushed cookies and made IE accept all cookies. Same behavior.
johmue
 
Posts: 24
Joined: Sun Mar 11, 2012 2:32 am

Re: Login with Internet Explorer fails

Postby asmecher » Fri Oct 26, 2012 1:07 pm

Hi Johannes,

Does another machine running the same browser behave the same way?

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8470
Joined: Wed Aug 10, 2005 12:56 pm

Re: Login with Internet Explorer fails

Postby johmue » Mon Nov 05, 2012 2:38 pm

Yes,

I could only test it today. Other machine, other network, same browser, same behavior.

Johannes
johmue
 
Posts: 24
Joined: Sun Mar 11, 2012 2:32 am

Re: Login with Internet Explorer fails

Postby asmecher » Wed Nov 07, 2012 11:46 am

Hi Johannes,

Can you try our test drive installation with IE to see if you're able to log in there? See http://pkp.sfu.ca/ojs_demo for details.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8470
Joined: Wed Aug 10, 2005 12:56 pm

Re: Login with Internet Explorer fails

Postby johmue » Fri Nov 16, 2012 2:31 am

Hi again,

sorry for the long delays.

I am really getting desperate. The test drive works, my site does not. I took the ojs-2.3.8.tar.gz and setup a new site with new data base. No rewrite rules whatsoever, no additional locale is in my "real" site. Result: even logging in the admin user with MSIE fails.

I also tried version 2.4.1 and the patch http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=7957

Same result.

Which version does the test drive use? Is the config.inc.php of the test drive available somewhere?

Johannes
johmue
 
Posts: 24
Joined: Sun Mar 11, 2012 2:32 am

Re: Login with Internet Explorer fails

Postby asmecher » Fri Nov 16, 2012 11:06 am

Hi Johannes,

The testdrive installation is currently 2.3.7, but the login handling code hasn't changed appreciably in newer versions. The config file contains defaults except for the DB config and session_check_ip setting, which is disabled.

Check your cookie path for the OJSSID cookie -- though I'm not sure why only IE would behave this way.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8470
Joined: Wed Aug 10, 2005 12:56 pm

Re: Login with Internet Explorer fails

Postby johmue » Sat Nov 17, 2012 3:39 am

Hi

I think I got it now:

I changed the following:

base_url = "http://www.scienca-revuo.info"
to
base_url = "http://scienca-revuo.info"

and

base_url[sr] = "http://www.scienca-revuo.info"
to
base_url[sr] = "http://scienca-revuo.info"

This did the trick for some reason, but only in combination with the patch http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=7957

Still I don't understand why as I have a testing site using the base_url http://testo.scienca-revuo.info with the same configuration, which works. Why would it work with "testo." but not with "www."?

Anyhow. I can live with not having www. in front, so the problem seems to be solved for now. I tested it now with two versions of IE on three machines. More tests I will do, when I have access to differen windows machines.

Thanks for your help and patience. Hopefully I will not need to come back with this.

Johannes
johmue
 
Posts: 24
Joined: Sun Mar 11, 2012 2:32 am


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 4 guests