By mynweb on
I have a live, functional Drupal site that I'm trying to migrate to a new host. After copying the site and database, the site is functional, but when I log in as admin (or any user), I immediately get an access denied page.
This problem occurs even if I copy the site to another user on the same host, and set it to connect to the same live database that the original site is using!
It appears that the user is initially authenticated, but is somehow logged out. I've tried clearing the sessions table without success.
I've also tried copying the site to a local machine with the same problem.
Any ideas?
Comments
Found the
Found the problem:
$cookie_domain in settings.php
Genius! Thanks for posting
Genius! Thanks for posting this on d.o! I thought I was going mad. Thanks mynweb