[TYPO3-english] Unable to login TYPO3 backend- Install Tool login works

bernd wilke t3ng at bernd-wilke.net
Tue Aug 25 08:04:43 CEST 2015


Am 25.08.15 um 02:47 schrieb Mr Learner:
> Hello Everyone,
> I'm working on TYPO3 site migration from one host to the other. I have got
> my database setup and able to login to TYPO3 Install Tool login. However
> when I try to login to backend it shows below error.
>
> Your login attempt did not succeed
> Make sure to spell your username and password correctly, including
> upper/lowercase characters.
>
> I'm using right username and password, also created a new user via Install
> tool login, even that doesnt work and shows same error. Thinking about
> database has any issues, got the database recreated with the backup copy.
> Any help on this is much appreciated, as of now I'm halted due to this
> issue.
> The same content is working on other set of server and database combo. What
> is going wrong with this set of servers. The servers are identical and no
> changes. Apache logs showing nothing about this issue. Is there any issue
> with PHP?
>
> TYPO3 4.5.2
> Apache 2.2.22a
> PHP 5.3.16
>

as for your old version of TYPO3: be sure to have the database in a 
clean state of character encoding.
best would be to have all data in utf8-general.
the default character encoding can be set on different levels:
the database at all
each table
each field containing strings
also keep in mind the connection may be encoded in a different way.

you may need to convert your database to utf-8 if it uses other encoding 
as since 6.0 you need utf-8 anyway.

if your DB is utf8 make sure the connection also is utf8. in TYPO3 there 
is an initilization string for DB connections. make sure it is not set 
(remove from localconf.php) or set to
"SET CHARACTER SET utf8" (don't insert an empty string!)

on the other side:
if you create a new admin user from install-tool it should work as it is 
created with the same configuration as the login afterwards is tested. 
except there are issues independent from database: no cookies for that 
domain, wrong cookiedomain, no javascript, ...

bernd
-- 
http://www.pi-phi.de/cheatsheet.html


More information about the TYPO3-english mailing list