I moved a Joomla 1.5 site to another hosting provider under different domain. Everything works fine, all pages load fine, but I can't log into administrator panel, not the front end.
The username/password is OK, because I get an error saying my password is incorrect if I type in gibberish, but when I type in correct credentials, nothing happens on the backend login, I just get redirected back to the login form. On the front-end, when I try to log in, I get redirected to the homepage with a message "You have to log in first".
All auth plugins are enabled in the database, I've checked as it seems to be a common error, and I've updated my configuration.php file.
I thought the site might have issues with old sessions, so I deleted all records in the jos_session table, which gave me an info message on the backend login "Your session has expired, please log in again", but after trying to log in again, I simply get redirected to the login page, with no message, like before.
Does anyone have any idea where to look next? It smells like session handling issue, but session handling in the database seems to work fine, the table got populated again.