Project

General

Profile

Actions

Bug #20982

closed

FE login in iE8 is not possible

Added by Christian Tauscher over 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-09-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Using iExplorer V8 it is not possible to login as a FE user.

This behavior appears using one of this methods:

  • common login Element
  • felogin 1.0.0
  • newloginbox 3.1.0

Login first is successfull, but you will be kicked after first klick.

(issue imported from #M11858)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #22084: Session/Login not working in IE8 across subdomainsClosedErnesto Baschny2010-02-08

Actions
Actions #1

Updated by Steffen Gebert over 14 years ago

Can't reproduce with trunk.

Can you give example URL?

Actions #2

Updated by Steffen Gebert over 14 years ago

... and also not with an 4.2 installation with newloginbox.

Actions #3

Updated by Steffen Gebert over 14 years ago

Works for me. Your IE8 seems to have a problem (okay.. it is a problem by definition.. but it has at least one more :-P)

You should try to install a fresh windows in a VM or maybe try another PC.

Actions #4

Updated by Christian Tauscher over 14 years ago

This Problem still remains.

I can reproduce this on 2 Virtual Machines (XP, VISTA) and a real XP. And I have no clue what is going on.

But the low response to this issue gives two options:

a) FE login is not too common
or
b) Some systematical mistake I make on my installations.

I keep on trying...

Actions #5

Updated by christiaan uythoven over 14 years ago

I've got precisely the same problem! I'm running typo3 4.2.6 and at first instance the login seems to work, but after that I'm kicked out for some reason.

Anyone got a solution?

Actions #6

Updated by Christian Kuhn over 14 years ago

I had similar problems with safari recently: Turned out the script cookieManager.js (needed by efa_fontsize.js, included in YAML) was the problem. The script sets cookies for one level top of your current domain.

Actions #7

Updated by christiaan uythoven over 14 years ago

I was searching for a solution, but many posts on the internet end up without a solution.

In my case I don't have the CookieManager.js script, because I don't have efa_fontsize installed. Other solutions like changing the LOCKIP settings in the Typo3 install didn't help me.

What do know is that IE8 also has trouble with the BE login. I always get the message "no user logged in! Sorry, I can't proceed then". Sometimes Firefox in windows has the same problem. Mac browsers don't have this problem.

Maybe someone has the final solution?

Actions #8

Updated by Marcus Krause over 14 years ago

What I'm reading here is that only IE causes trouble.

So please check your TYPO3 installation if there's any JavaScript code (custom one configured by TS or brought by an extension) accesses/modifies your typo3 FE cookie.

If this doesn't bring up any result, please capture your http traffic (e.g. using wireshark), to see what cookie (and its parameters) the server is sending and the browser is returning back.

Before attaching such a capture file here, please make sure to remove transferred passwords and/or hostname due to security reasons.

Actions #9

Updated by Simon Browning over 14 years ago

We had the same issue but defining the cookies domain in the localconf.php seems to have resolved it.

$TYPO3_CONF_VARS['SYS']['cookieDomain'] = 'youdomain.com';

What was very odd was that we did not have the issue on a development version of the site, which was located at: devversion.yourdomain.com, it only showed up on the live version - yourdomain.com

We did further notice this:

cookies from live site have:
fe_typo_user - domain:.yourdomain.com
PHPSESSID – host:yourdomain.com

vs test server

fe_typo_user - host:yourdomain.com
PHPSESSID – host:yourdomain.com

So in live server fe_typo_user relates to domain, but on test server to host.

--> both sites were on the same server, just the dev version was in a subdomain.

Actions #10

Updated by Ralf Hettinger over 14 years ago

I think this one could be related to #20757 - I could reproduce the behaviuor with IE8, after switching to Compatibility Mode. Without Compatibility Mode, there is no problem in my test scenario.

Can you confirm that you are using IE8 in Compatibility Mode when having the problem to be logged out after the first click in frontend?

Actions #11

Updated by christiaan uythoven over 14 years ago

@Ralf Hettinger: After Switching to Compatibility Mode I'm experiencing the same problems in FE & BE. In problem 0011538 asks if javascript is giving errors after login in: yes it does. My Jquery menu didn't load in IE8 and IE8 (compatibility mode).

@Simon Browning: Doesn't matter for IE8. Firefox only takes this feature after removing all cookies.

@Marcus Krause: It does not seem to load in IE8 when it's activated. Jquery deactivated does not seem to help for loging in. Which part of the wireshark analysis do you want to have? It's quite a bit... I'm guessing only the filtered POST and GET part?

@all review: Not only IE is giving me headache, also firefox in windows and mac are sometimes very struggling with loging in... after clearing the cookies and a few times trying it helps to log in, but in my opinion this takes to long in comparison what it used to do...

Actions #12

Updated by Steffen Kamper over 14 years ago

check for phpmyadmin - uninstall and try again.

Actions #13

Updated by christiaan uythoven over 14 years ago

@ssteffan Kamper: What do I have to check in phpmyamin? Do I need to reinstall typo3? What do you mean?

Actions #14

Updated by Steffen Gebert over 14 years ago

Do you have phpmyadmin extension installed?

Actions #15

Updated by christiaan uythoven over 14 years ago

I'm not using this extension...

Actions #16

Updated by Ralf Hettinger over 14 years ago

@Steffen Gebert: yes, phpmyadmin is in place. Good idea, that it's session handling might interfer with TYPO3. Will have a look at it - thx for the idea!

Edit: EXT:phpmyadmin doesn't make a difference here for IE8 Compatibility Mode + fe_user session - it still breaks.

Actions #17

Updated by Cyrille Flckiger over 14 years ago

Hi I had exactly the same problem on IE8 and Firefox. I could resolve it like this:

I set the variable: [cookieDomain] in Install tool to ".mydomain.ch".
It was empty before and now the frontenduser stays logged in.

Actions #18

Updated by christiaan uythoven over 14 years ago

@Cyrille Fl?ckiger: I tried that before, but without luck. I'm using a multidomain typo3 package, and with that configured as mentioned in the configuration tool, it didn't work.

Recently I got an email of someone who had the same problem and thought it was mentioned over here:

http://bugs.typo3.org/view.php?id=10566&nbn=8
http://bugs.typo3.org/view.php?id=10567

They mention that typo3 4.3 alpha3 would fix it. Anyone tried this?

Actions #19

Updated by Cyrille Flckiger over 14 years ago

@christiaan uythoven:
My version is 4.2.8.
If you're using a multidomain typo3 package. There's some advice how to set the cookieDomain-Value by a regular expression to cover the situation with multiple domains. Don't know if you did it that way or not. Just another suggestion that might help finding the solution.

Actions #20

Updated by Steffen Gebert over 14 years ago

The failed browser detection of IE is already fixed in 4.2.8

Actions #21

Updated by christiaan uythoven over 14 years ago

@Cyrille Fl?ckiger: I did the solution you mentioned, but without any result...I'm able to login in the domains, but it sometimes takes a while with browsers on my MAC. Firefox on windows hesitates a long time, but does let me login. IE8 definitely does not allows me to login, since it kicks me out every time.

Actions #22

Updated by Marcus Krause over 14 years ago

Without a capture of headers that are sent (set-cookie,cookie) there's no way to determine what goes wrong here.
I'm unable to reproduce. Whoever has the problem, check if no JS code interferes with cookies and capture your traffic.

Like Simon already pointed out, there might be a problem with the host-settings in the cookie (domain only vs. domain+subdomains)

Actions #23

Updated by Christian Tauscher over 14 years ago

In my TYPO3 enviroment I found lots of pages with different login settings on the page propertys.
changing this to 0 (no special login-handling at all) solved /my/ problems.

Mybe all of you reporting prpblems here, check on your page on tab access the loginmode.
You should check the TSconfig options for this feature, too :
(loginmode ist used in conjuction with this options)

config.sendCacheHeaders = 0
config.sendCacheHeaders_onlyWhenLoginDeniedInBranch = 0

Hope for all of you this ist the mistake. For now I am happy. Thanks to all of you!

Christian.

Actions #24

Updated by Jo Hasenau over 14 years ago

Check #21511 as well.

Actions #25

Updated by Ernesto Baschny about 14 years ago

Please check #22084 for the issue of FE-Logins in IE8. RFC is in core list, review, test and give you +1 there if the patch solves your problem.

Actions

Also available in: Atom PDF