XF 1.4 No login possible after domain migration

Hi,

I migrated my forum from somedomain.xyz/forum to a dedicated domain: www.somedomain-forum.xyz.
The database as well as the webroot remained the same, just the domain changed.

I changed the cookie domain to ".somedomain-forum.xyz" in library/config.php.
I changed the xf_option "boardUrl" to http://www.somedomain-forum.xyz via the database.

The problem now is that I cannot login via front- and backend (/admin.php) as the root user.
If I use the same credentials at somedomain.xyz/forum/admin.php the login is possible.
However I don't get an error during the login process, I just don't get a session just as if the forum sends a cookie for the wrong domain.

Is there anything else I need to change?
Thanks for your advice!
 
I would test with an incognito window just in case. If that resolves that, it could indicate some other sort of cookie conflict (particularly if you set cookies before changing the cookie params).

Normally, I would suggest not setting any cookie domain unless you have a particular need for them to be set differently.

However, looking at your site, I see some Varnish references. This might be relevant (pages being served from cache).
 
Back
Top Bottom