Project

General

Profile

Actions

Bug #21350

closed

AJAX Login fails in Filelist

Added by Staffan Ericsson over 14 years ago. Updated over 10 years ago.

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

0%

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

Description

Noticed that bug 10467 was resolved.

I noticed that the release of 4.3b2 solved the relogin bug when in pageview but I still got problems in File->FileList haven't had time to test the other modules but suggest that all common modules are tested before this bug is closed.

Seems that there is something wrong with the new patch also. There was talk about phpmyadmin causing problems. I don't have phpmyadmin installed so my problem must come from something else. I tested uninstalling DAM but the problem remains.

http://bugs.typo3.org/view.php?id=10467
(issue imported from #M12328)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #20038: AJAX relogin does not workClosedSteffen Kamper2009-02-17

Actions
Actions #1

Updated by Staffan Ericsson over 14 years ago

AJAX relogin

Works in
Web->Versioning
Web->Page
Web->Functions
Web->TemplaVoila
Tools->Ext mgr

Doesn't work in
Web->PageTV
Web->Template
Web->Functions
File->Filelist

Actions #2

Updated by Steffen Kamper over 14 years ago

I can't reproduce, tried all that views, works always the same.

And i don't wonder: the script is triggered by backend.php, which is loaded all the time.

Please open Firebug console and post the output for the fail.

Actions #3

Updated by Vladimir Podkovanov over 14 years ago

BTW in beta 2 I have no working relogin in IE 7, but it working in FF.
Some time ago in beta 1 or alfa it was working either IE 7 / FF.

Actions #4

Updated by Steffen Kamper over 14 years ago

please post the error message. I tested with IE6-8 and it worked for me.

Actions #5

Updated by Staffan Ericsson over 14 years ago

Response Headers
Date Mon, 26 Oct 2009 12:53:16 GMT
Server Apache/2.2.8 (Ubuntu) mod_ssl/2.2.8 OpenSSL/0.9.8g
X-Powered-By PHP/5.2.4-2ubuntu5.7
Expires 0
Cache-Control no-cache, must-revalidate
Pragma no-cache
X-JSON {"login":{"success":""}}
Last-Modified Mon, 26 Oct 2009 12:53:16 GMT
Keep-Alive timeout=15, max=100
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type application/json; charset=utf-8
Request Headers
Host www.MyHost.se
User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 300
Connection keep-alive
X-Requested-With XMLHttpRequest
Content-Type application/x-www-form-urlencoded; charset=UTF-8
Referer https://www.MyHost.se/typo3/backend.php
Content-Length 161
Cookie testcookie; ot-MyHost=1046053899; ot-MyHost_1=1034035118; be_typo_user=dd2f74bb0fc0f55c5c10eac8a7f7d6af; PHPSESSID=e63c57fce7078021c601b34f59c933b9

Host: www.myhost.se
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
X-Requested-With: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://www.myhost.se/typo3/backend.php
Content-Length: 161
Cookie: testcookie; ot-MyHost=1046053899; ot-MyHost_1=1034035118; be_typo_user=dd2f74bb0fc0f55c5c10eac8a7f7d6af; PHPSESSID=e63c57fce7078021c601b34f59c933b9
Pragma: no-cache
Cache-Control: no-cache

Respons: {"login":{"success":""}}

Actions #6

Updated by Staffan Ericsson over 14 years ago

A few new test shows that the login process sometimes take a very long time. When the time for the requests exceeds 10s it seems to result in login failed.

It feels a bit strange, my backend is fast and responsive. The server is not under especially heavy load any time of the day.

Actions #7

Updated by Staffan Ericsson over 14 years ago

Btw. relogin triggers the email notification feature. It can be discussed if that feature should be activated on a relogin.

Actions #8

Updated by Ric van Westhreenen over 14 years ago

At my end relogin doesn't work. Even on Web>page.

There is no 10 sec delay. It is almost instant giving the message Login failed, password incorrect.

Using Chrome.

Actions #9

Updated by Ralle Büchnitz almost 14 years ago

Firebug? Who are you?

Log into typo3 and do something -> everything is fine -> activate firebug in Backend -> wait some moments -> you are logged out!

Trying to relogin fails each time via the 'relogin'-button. It seems like firebug is changing some of the params that will be checked by the ajax request
--->BackendLogin::isTimedOut -> {"login":{"timed_out":true}}

are changed and the session is handled as invalid session.

Note: Sine about three days I see a progressbar with milliseconds. p.e.: "22,348 sec" I think "22 sec" is precise enough.

Actions #10

Updated by Xavier Perseguers about 12 years ago

  • Assignee deleted (Steffen Kamper)
  • Target version deleted (0)
Actions #11

Updated by Alexander Opitz almost 11 years ago

  • Status changed from Accepted to Needs Feedback

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #12

Updated by Alexander Opitz over 10 years ago

  • Status changed from Needs Feedback to Closed
  • Is Regression set to No

No feedback for over 90 days.

Actions

Also available in: Atom PDF