Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

oh my what I've done wrong, I can't access my admin panel :'(


sydjeii

Recommended Posts

Posted

I went to Admin Panel of my shop >> Administrators and found this highlighted in red

 

error.gifAdditional Protection With htaccess/htpasswd

This osCommerce Online Merchant Administration Tool installation is not additionally secured through htaccess/htpasswd means.

Enabling the htaccess/htpasswd security layer will automatically store administrator username and passwords in a htpasswd file when updating administrator password records.

Please note, if this additional security layer is enabled and you can no longer access the Administration Tool, please make the following changes and consult your hosting provider to enable htaccess/htpasswd protection:

1. Edit this file:

 

C:/Program Files (x86)/EasyPHP-5.3.8.0/www/sofistica/admin/.htaccess

Remove the following lines if they exist:

##### OSCOMMERCE ADMIN PROTECTION - BEGIN #####

AuthType Basic

AuthName "osCommerce Online Merchant Administration Tool"

AuthUserFile C:/Program Files (x86)/EasyPHP-5.3.8.0/www/sofistica/admin/.htpasswd_oscommerce

Require valid-user

##### OSCOMMERCE ADMIN PROTECTION - END #####

2. Delete this file:

 

C:/Program Files (x86)/EasyPHP-5.3.8.0/www/sofistica/admin/.htpasswd_oscommerce

 

Then on the bottom right of the page, there's a log in form with checkbox saying "Protect with htaccess/htpasswd"..

I checked the box and clicked save..after that I can't anymore access my Admin Panel.. I want to access again my admin..Please help me fix this.. :(

New Picture (15).bmp

-=PINOY AKO=-

Posted

I can't access means everytime i type the path to my admin panel, a pop up box with title "authentication required" always shows.. when I click cancel I have this displayed on my screen

 

 

Authorization Required

 

This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

-=PINOY AKO=-

Posted

hello sir.. I tried to input my username and password but it doesnt seem to work..I sure that both my username and password are correct.. Anyway I was able to fixed it with the help of some threads and chat.. I'm sharing the steps in case some folks encounter the same problem..

1. Edit this file:

 

C:/Program Files (x86)/EasyPHP-5.3.8.0/www/sofistica/admin/.htaccess

Remove the following lines if they exist:

##### OSCOMMERCE ADMIN PROTECTION - BEGIN #####

AuthType Basic

AuthName "osCommerce Online Merchant Administration Tool"

AuthUserFile C:/Program Files (x86)/EasyPHP-5.3.8.0/www/sofistica/admin/.htpasswd_oscommerce

Require valid-user

##### OSCOMMERCE ADMIN PROTECTION - END #####

2. Delete this file:

 

C:/Program Files (x86)/EasyPHP-5.3.8.0/www/sofistica/admin/.htpasswd_oscommerce

 

After doing this I can access the log in screen of my shop's admin panel again.. however, when I type my username and password, i got an error saying "invalid admin login attempt"..

 

What i did was I emptied my Administrator table and created a new admin account through the log in screen of my admin panel.. And now I can breathe again.. :)

-=PINOY AKO=-

  • 4 weeks later...
Posted

Sydjeii,

 

Perfect post. just what I needed. I had the same issue on godaddy and this solved it perfectly. Thanks for the post!

I removed the lines from the .htaccess

Next I deleted the .htpasswd_oscommerce file on the server

I was now allowed to access the admin panel via the browser.

 

worked great!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...