Actions
Bug #55290
closedFirst login try after automatic logout always fails
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2014-01-23
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
If i left backend unused for a while i will get popup window with login form when session expires. If i try to login now first attempt always fails and i have this entries in log:
22:12:32 admin@[-99] LOGIN LOGIN User admin logged in from 127.0.0.1 () (msg#255.1.1) 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'uid' in /typo3/sysext/backend/Classes/Controller/LoginController.php line 222 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'uid' in /typo3/sysext/backend/Classes/Controller/LoginController.php line 431 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'uid' in /typo3/sysext/backend/Classes/Controller/LoginController.php line 381 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'uid' in /typo3/sysext/backend/Classes/Controller/LoginController.php line 183 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'options' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 1557 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'admin' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 366 22:12:22 [0]@[-99] [5] [0] Core: Error handler (BE): PHP Warning: Illegal string offset 'uid' in /typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php line 2212 22:12:22 [0]@[-99] LOGIN ATTEMPT Login-attempt from 127.0.0.1 (), username 'admin', password not accepted! (msg#255.3.1) 22:12:22 [0]@[-99] LOGIN ATTEMPT Login-attempt from 127.0.0.1 (), username 'admin', password not accepted! (msg#255.3.1)
Second try will result with valid login.
Updated by Markus Klein over 10 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
6.2.0)
I cannot reproduce this. My popup works at the first attempt.
For some reason your $GLOBALS['BE_USER']->user is empty.
Updated by Marcin Sągol over 10 years ago
I have tested it on 2 different servers/installations. First one was using Varnish and here i can confirm problem with login, second was without Varnish and here all worked fine.
Updated by Markus Klein over 10 years ago
So this is a varnish problem not handling the session (cookie) properly.
May I close this issue then?
Updated by Alexander Opitz over 10 years ago
- Status changed from Needs Feedback to Closed
Updated by Marcin Sągol over 10 years ago
Excluding typo3 helps here:
if (req.url ~ "typo3") { set req.http.connection = "close"; return (pipe); }
Actions