I created a site on my host with a temporary domain (test.domain.com) name which mirrors the final domain (livesite.com) to be used until the new site would be launched. Everything worked well on the mirrored domain. Once moving the site live with the new url I am unable to login as any user. I receive "access denied" after logging in. Not invalid user or password. Since I am still mirroring the domain I can still access the site using the test.domain.com and everything works fine. This post (http://drupal.org/node/192151) is similar to what I was experiencing but trying the posted fix I was unable to resolve the issue. I've cleared my caches, sessions table, browser cookies and sessions but no luck. Thanks.

Comments

damien tournoud’s picture

Category: bug » support

Please verify that cookies are working as they should. You might have to tweak the cookie domain in settings.php.

chris.mccreery’s picture

Status: Active » Fixed

Thanks. The issue was I forgot to set the cookie domain back to the live domain instead of the test url.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.