I'm trying to replicate a live site locally using Windows and WAMP and have run into a permissions problem. None of the user credentials work and login attempts inevitably result in an "Access Denied" error.
The rest of the site is properly configured and the front end is apparently fine.
I'm able to run Drush and using user-create or user-password says it worked, but it doesn't. All login attempts still result in "Access Denied".
I have exported and imported the database multiple times (I'd be embarassed to give an exact number) with Backup and Migrate and also with phpMyAdmin.. All seems to be in order.
I have used scripts from drupal.org to reset the password, they say they work, but don't. I've re-salted and tried manually editing the database.Cleared caches and cookies over and over. I have multiple Drupal installations and databases running on the same WAMP stack without issues.
I was wondering if I'm missing anything obvious?
Permissions?
On Tue, Oct 1, 2013 at 2:44 PM, Al Sessions fultonchain@gmail.com wrote:
I'm trying to replicate a live site locally using Windows and WAMP and have run into a permissions problem. None of the user credentials work and login attempts inevitably result in an "Access Denied" error.
The rest of the site is properly configured and the front end is apparently fine.
I'm able to run Drush and using user-create or user-password says it worked, but it doesn't. All login attempts still result in "Access Denied".
I have exported and imported the database multiple times (I'd be embarassed to give an exact number) with Backup and Migrate and also with phpMyAdmin.. All seems to be in order.
I have used scripts from drupal.org to reset the password, they say they work, but don't. I've re-salted and tried manually editing the database.Cleared caches and cookies over and over. I have multiple Drupal installations and databases running on the same WAMP stack without issues.
I was wondering if I'm missing anything obvious?
-- Al Sessions
-- [ Drupal support list | http://lists.drupal.org/ ]
It sounds as if you need to empty the sessions file and the cache.
Earnie
On Tue, Oct 1, 2013 at 5:44 PM, Al Sessions fultonchain@gmail.com wrote:
I'm trying to replicate a live site locally using Windows and WAMP and have run into a permissions problem. None of the user credentials work and login attempts inevitably result in an "Access Denied" error.
The rest of the site is properly configured and the front end is apparently fine.
I'm able to run Drush and using user-create or user-password says it worked, but it doesn't. All login attempts still result in "Access Denied".
I have exported and imported the database multiple times (I'd be embarassed to give an exact number) with Backup and Migrate and also with phpMyAdmin.. All seems to be in order.
I have used scripts from drupal.org to reset the password, they say they work, but don't. I've re-salted and tried manually editing the database.Cleared caches and cookies over and over. I have multiple Drupal installations and databases running on the same WAMP stack without issues.
I was wondering if I'm missing anything obvious?
-- Al Sessions
-- [ Drupal support list | http://lists.drupal.org/ ]
On Tue, Oct 1, 2013 at 6:09 PM, Earnie Boyd earnie@users.sourceforge.netwrote:
It sounds as if you need to empty the sessions file and the cache.
I'm a cache clearing machine. Backup and Migrate doesn't export them and I dump them before exporting via phpMyAdmin.
It sure sounds like a cookie problem. Use dev tools on Chrome or Firebug and in the network tab check the response headers when you login to make sure the cookie domain is being properly set. Also make sure you don't have $cookie_domain set in settings.php and if it is, make sure it's set to the proper value. Remember www.example.com != example.com if you got some rewriting going on (unless you set the cookie domain to allow subdomains - .example.com).
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 10/1/2013 6:13 PM, Al Sessions wrote:
On Tue, Oct 1, 2013 at 6:09 PM, Earnie Boyd <earnie@users.sourceforge.net mailto:earnie@users.sourceforge.net> wrote:
It sounds as if you need to empty the sessions file and the cache.I'm a cache clearing machine. Backup and Migrate doesn't export them and I dump them before exporting via phpMyAdmin.
-- Al Sessions
On Tue, Oct 1, 2013 at 6:24 PM, Jamie Holly hovercrafter@earthlink.netwrote:
Also make sure you don't have $cookie_domain set in settings.php and if it is, make sure it's set to the proper value.
And that's what I was missing... your my hero.
Now I can get to work after spending way more time on this than I should have. I owe you a beer or five.