[opensuse-factory] Can't login to Typo3 4.5.30 on 13.1
Hello, I installed Typo3 4.5.30 (also tested 6.1.3) on a new server (running 13.1 beta). The result is that I can't login to the install tool or to the backend :-( There's an interesting detail: Typo3 seems to recognize that my password is correct[1], but asks me to enter it again and again. Does someone have an idea what could be wrong? (It must be something around session handling, but phpMyAdmin and PostfixAdmin work on the same server, so it can't be a general issue.) Does someone successfully use Typo3 on 13.1 beta or Factory? Some more technical details: I'm using my "usual" apache config that works since years on multiple servers with various openSUSE releases up to 12.3. (If needed, I can provide it for download.) The access_log says (IP changed, Referrer removed) a) with correct password: 1.2.3.4 - - [28/Sep/2013:19:37:00 +0200] "POST /typo3/install/index.php HTTP/1.1" 303 - "" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.21 (KHTML, like Gecko) konqueror/4.11.1 Safari/537.21" 1.2.3.4 - - [28/Sep/2013:19:37:00 +0200] "GET /typo3/install/index.php?TYPO3_INSTALL%5Btype%5D=about HTTP/1.1" 200 1090 "" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.21 (KHTML, like Gecko) konqueror/4.11.1 Safari/537.21" b) with wrong password 1.2.3.4 - - [28/Sep/2013:19:37:04 +0200] "POST /typo3/install/index.php HTTP/1.1" 200 1162 "" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.21 (KHTML, like Gecko) konqueror/4.11.1 Safari/537.21" The headers of an install tool login (attemp) are also quite interesting, especially when comparing them with a working setup on 12.3. Especially note that I get 3 different Typo3InstallTool cookies on 13.1 beta, and only one on 12.3. (Domains and session keys shortened with "...") Headers from failing installtool (openSUSE 13.1 beta) *** Reply header: Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Connection Keep-Alive Content-Length 0 Content-Type text/html Date Sat, 28 Sep 2013 18:32:48 GMT Expires Thu, 19 Nov 1981 08:52:00 GMT Keep-Alive timeout=15, max=98 Last-Modified Sat, 28 Sep 2013 18:32:48 GMT Location http://.../typo3/install/index.php?TYPO3_INSTALL[type]=about Pragma no-cache Server Apache/2.4.6 (Linux/SUSE) Set-Cookie Typo3InstallTool=duenfn...p8ii3ufat81; path=/ Typo3InstallTool=3qqfrg19...sq4o40; path=/ Typo3InstallTool=sjobc2tcsp...upah5f1l3d4u81; path=/ X-Powered-By PHP/5.4.19 *** Request header: Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Encoding gzip, deflate Accept-Language de-de,de;q=0.8,en;q=0.5,en-gb;q=0.3 Authorization Basic ... Connection keep-alive Cookie Typo3InstallTool=8pgbgo...vsumtaj81 DNT 1 Host ... Referer http://.../typo3/install/index.php User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 Headers from working installtool (on openSUSE 12.3, same Typo3 version) *** Reply header: Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Connection Keep-Alive Content-Encoding gzip Content-Length 20 Content-Type text/html Date Sat, 28 Sep 2013 18:33:55 GMT Expires Thu, 19 Nov 1981 08:52:00 GMT Keep-Alive timeout=15, max=95 Last-Modified Sat, 28 Sep 2013 18:33:55 GMT Location http://.../typo3/install/index.php?TYPO3_INSTALL[type]=about Pragma no-cache Server Apache/2.2.22 (Linux/SUSE) Set-Cookie Typo3InstallTool=k97ipsdh...n0; path=/ Vary Accept-Encoding X-Powered-By PHP/5.3.17 *** Request header: Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Encoding gzip, deflate Accept-Language de-de,de;q=0.8,en;q=0.5,en-gb;q=0.3 Authorization Basic ... Connection keep-alive Cookie Typo3InstallTool=qmc4e3...pamtl0 DNT 1 Host ... Referer http://.../typo3/install/index.php User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 Regards, Christian Boltz [1] in the install tool, I don't get the "the password you entered has $hash" message, and for the backend login, the sys_log table shows a successful(!) login --
Man möge mich korrigieren. Du hast es nicht anders gewollt ;-) Jaaaa, gibs mir! ;-) [> Christian Boltz und Johannes Kastl in suse-linux]
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Saturday 2013-09-28 21:44, Christian Boltz wrote:
I installed Typo3 4.5.30 (also tested 6.1.3) on a new server (running 13.1 beta). The result is that I can't login to the install tool or to the backend :-( There's an interesting detail: Typo3 seems to recognize that my password is correct[1], but asks me to enter it again and again.
Does someone have an idea what could be wrong?
If the typo3 version remained the same between switching 12.3<->13.1, then I would throw in the suggestion that the fault may be within Apache, which moved from 2.2 to 2.4 which had changes within the config syntaxes for HTTP auth (dunno if Typo uses that somewhere). -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hello, Am Samstag, 28. September 2013 schrieb Jan Engelhardt:
On Saturday 2013-09-28 21:44, Christian Boltz wrote:
I installed Typo3 4.5.30 (also tested 6.1.3) on a new server (running 13.1 beta). The result is that I can't login to the install tool or to the backend :-( There's an interesting detail: Typo3 seems to recognize that my password is correct[1], but asks me to enter it again and again.
Does someone have an idea what could be wrong?
If the typo3 version remained the same between switching 12.3<->13.1, then I would throw in the suggestion that the fault may be within Apache, which moved from 2.2 to 2.4 which had changes within the config syntaxes for HTTP auth (dunno if Typo uses that somewhere).
AFAIK Typo3 only uses cookies and PHP sessions. After digging a even deeper, I found out that it uses a custom session handler, and that's something that changed in PHP 5.4. The good news: I was able to "fix" the installtool by switching off Typo3's custom session handler - see http://forge.typo3.org/issues/52358 if you are interested in the hotfix. The bad news: I'm still searching for a solution to get a working backend login :-( Unfortunately the backend login is more complex than the install tool code-wise, so I'm not even sure in which file I have to search... BTW: Are there some PHP 4.3 packages available for factory or 13.1 beta? This Typo3 issue is the only blocker for using 13.1 on this server, and I'm quite sure it would work with PHP 4.3.x... ;-) Regards, Christian Boltz -- [T-Shirt-Druck] Die meisten Leute haben bedauerlicherweise ein ImageMagick mit 16-Bit Farbtiefe, da sind 300x300/16 Bit in "Bauchgröße" schon eine beträchtliche Menge. Hmmm... he, so kann man endlich Kalorien in Megabytes umrechnen! :-) [Ratti in suse-linux] -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hello, Am Sonntag, 29. September 2013 schrieb Christian Boltz:
The bad news: I'm still searching for a solution to get a working backend login :-( Unfortunately the backend login is more complex than the install tool code-wise, so I'm not even sure in which file I have to search...
After digging deeper in the code, I found out that it's a problem with MariaDB's strict mode - a field without default value was not specified in the INSERT query. To make things more interesting, Typo3 does not log failed INSERTs anywhere... See http://forge.typo3.org/issues/52358 for the patch. (Also CC'ing Thomas, the maintainer of the Typo3 4.x packages - maybe you want to include this in the package? Same question for Jan, but no CC needed ;-) Regards, Christian Boltz -- Oh, ihr poesen Purschen Ihr! Kommt zu Papa! Alle beide! So wird das ja nix. *patsch* *patsch* [David Haller in suse-linux] -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
El 29/09/13 11:33, Christian Boltz escribió:
Hello,
Am Sonntag, 29. September 2013 schrieb Christian Boltz:
The bad news: I'm still searching for a solution to get a working backend login :-( Unfortunately the backend login is more complex than the install tool code-wise, so I'm not even sure in which file I have to search...
After digging deeper in the code, I found out that it's a problem with MariaDB's strict mode
That makes sense, many applications will fail in strict mode unfortunately, not just typo3. -- "If debugging is the process of removing bugs, then programming must be the process of putting them in." - Edsger Dijkstra -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Christian Boltz
-
Cristian Rodríguez
-
Jan Engelhardt