Production site to Windows (WAMP)
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
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/ ]
-- *Anthony Stefan Maciejowski* *http://about.me/TonyMac <http://www.about.me/TonyMac>*
Oops sorry. Now I re-read - more carefully - your post. So you can't even get to the permissions page? On Tue, Oct 1, 2013 at 2:55 PM, Tony <tony@tony-mac.com> wrote:
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/ ]
--
*Anthony Stefan Maciejowski*
-- *Anthony Stefan Maciejowski* *http://about.me/TonyMac <http://www.about.me/TonyMac>*
On Tue, Oct 1, 2013 at 5:56 PM, Tony <tony@tony-mac.com> wrote:
Oops sorry. Now I re-read - more carefully - your post. So you can't even get to the permissions page?
Every last login attempt results in an "Access Denied" page, Despite following everything on <https://drupal.org/node/44164> and the subsequent pages. The only way I can mange the site is via Drush. Kinda (it is Drush on Windows). -- Al Sessions
I always set the local salt value the same as the production site. You mentioned changing that and I think that would cause such problems. Nancy
On Tue, Oct 1, 2013 at 6:33 PM, Nancy Wichmann <nan_wich@bellsouth.net>wrote:
I always set the local salt value the same as the production site. You mentioned changing that and I think that would cause such problems.
I'm sure I created all sorts of problems. Over and over. But I wiped the database and re-imported each time I ran some wacky query I didn't understand. This was misplaced and turned out to be a cookie thing. I neglected to change the $cookie_domain in settings.php. -- Al Sessions
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/ ]
-- Earnie -- https://sites.google.com/site/earnieboyd
On Tue, Oct 1, 2013 at 6:09 PM, Earnie Boyd <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
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.net>wrote:
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. -- Al Sessions
participants (5)
-
Al Sessions -
Earnie Boyd -
Jamie Holly -
Nancy Wichmann -
Tony