Bug #22686
closedcannot acces BE on Android phone
0%
Description
When trying to access the Typo3 backend on an Android phone, instead of the login form the message 'Activate cookies, please!' appears. Cookies are however activated.
Strangely enough, the login form does appear on www.typo3.org/typo3 but it doesn't on any of the Typo3 installations I use (and some others).
error appears regardless of the browser used
(issue imported from #M14440)
Files
Updated by Chris topher over 14 years ago
typo3.org still uses TYPO3 4.2. Might be a problem with cookie detection of the new login form of 4.3.
Updated by Steffen Gebert over 14 years ago
A bug in MultipleIE (is it called this way?) already caused some confusion, so I added an "Ignore" link. But as the login screen was revamped for a second time, short before the final release, the link was removed. Maybe we should bring it back...
Could you please comment out the cookie detection in the javascript to have a look, wheter the rest of the BE works later on.
Would you sponsor me an Android Phone to test it myself? :-P
Updated by Bart Gijswijt over 14 years ago
I have checked some other Typo3 sites and it seems that this is 4.3-related. In 4.2 the login screen appears.
Steffen: What should I comment out exactly in what file?
Updated by Steffen Gebert over 14 years ago
Please replace the following lines in typo3/sysext/t3skin/templates/login.html
if (cookieEnabled) { document.getElementById("t3-login-form-fields").style.display = 'block'; else { document.getElementById("t3-nocookies-error").style.display = 'block'; }
with
document.getElementById("t3-login-form-fields").style.display = 'block';
This disables the cookie check. Looking forward to hear from you, if rest of TYPO3 BE works.
Updated by Bart Gijswijt over 14 years ago
yes, this works perfectly, I don't see any problems in the rest of the BE!
Updated by Steffen Gebert over 14 years ago
Please try the attached patch.
It uses ExtJS to set/get the cookie and brings back the "Ignore" link.
Updated by Stanislas Rolland over 14 years ago
+1 from testing on current trunk with Arora browser which had same problem..
Updated by Steffen Gebert over 14 years ago
Sent RFC under #22773 to the core list. Please test and vote!