PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Closed Thread
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 29th, 2012, 06:57 PM
TomR. TomR. is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2012
Posts: 3 TomR. User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 26 m 46 sec
Reputation Power: 0
Question New Member - Mac OS: localhost/wordpress/wp-login.php, login Error 401

Hi- I have searched Google, and also the Dev Shed forum for a solution to no avail. Maybe this post will help someone in the same situation. Here's my setup:

Remote server side=
Linux-hosted, WP 3.4.2 site with these plugins...

- Akismet

- Duplicator

- HTTP Authentication

- Role Scoper

- WordPress Importer

I can log into the remote site without a hitch via WP admin account.

Now on localhost:
I used the Duplicator plugin to download a full WP copy on a MacBook 10.6.8 laptop running XAMPP 1.7.3.

HTTP Authentication plugin has been moved out of my localhost install.

If I do one of these two things the error 401 (below) appears on Chrome, Safari, and Firefox:

-update my permalinks using duplicator by accessing http://localhost/wordpress/wp-admin/options-permalink.php

-and/or log into the localhost site, which seems to work at first with my remote-site admin account but quickly errors out by accessing
http://localhost/wordpress/wp-admin/

Result is this error on all browsers, with saved passwords cleared:
Authentication required!

This server could not verify that you are authorized to access the URL "/wordpress/wp-admin/". You either supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

In case you are allowed to request the document, please check your user-id and password and try again.

If you think this is a server error, please contact the webmaster.
Error 401

Thanks in advance!
Tom

Reply With Quote
  #2  
Old December 3rd, 2012, 12:19 PM
TomR. TomR. is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2012
Posts: 3 TomR. User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 26 m 46 sec
Reputation Power: 0
This error was caused by a faulty .htaccess file in the [web root]/wordpress/wp-admin/ directory.

Duplicator did not change this from my remote site, I manually edited the .htaccess file to read:
AuthName "WordPress"
AuthType Basic

Problem solved.

Reply With Quote
Closed Thread

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > New Member - Mac OS: localhost/wordpress/wp-login.php, login Error 401

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap