Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

unable to log in admin


nm2002

Recommended Posts

Posted

I have tried to fix this problem for more that 2 days, it tells me that password is wrong and user name gives me error 401, I checked password like 10 time and password is correct, I don't know what is going on, I installed the oscommerce in my .com/ directory I had one before in .com/oscommerce and I didn't have trouble logging in before? I have been tring to fix this for 15 hours uuuuuuuuu. PLEASE HELP...

Posted

Why help you when you have failed to even reply back to people on at least the last three posts. People help you, and then you don't even thank them.

 

However, your previous post indicated that you have just installed the "New Version" of osc. Well, it ain't production yet.

 

Try removing the .htaccess file and then re-secure your site once again.

 

I, like the rest of the folks here don't expect much. Maybe post back that something works or it helped. Future support might improve if people know that you'll at least acknowledge that you got their tips and suggestions.

 

Tom

Posted

I dindnt have time to thank all the people, and if I thank them it doesnt help them anything, but if sombody wats to help i thank them, if i dont have time I cant do it, I tryed to see if there is hidden files I dont know how to "show them" but the html directory is empty when I go to the web server. AND IF IT MAKES ALL OF YOU HAPPY "THANK YOU" in advance to everyone.

Posted

ALSO i forgot to tell you that its not the 3.0 version, is the one that is avalible for download now at oscommerce.com.

Posted

I'm assuming you are using apache .htaccess for authentication.

 

The .xxxxx files are there try removing them.

 

It also could be that the first user/password is correct for the first directory and then another .htaccess file in another directory is found with a different "Domain" directory to be protected.

 

Check the apache error log to find out which directory is being protected and being denied with your user/password. If you don't know where they are check with your ISP host provider to help out on looking at the logs as well as resetting the permissions for you.

 

Tom

Posted

I'm installing the oscommerce from my host, and it tells me to select directory and all that, before i installed it in /oscommerce and i was able to log in the admin dir, I want to install one after the .com/ but no luck sining in admin, now i'm ready to give up, I have no clue where to find those files I looked in my html directory on my server and I couldnt find it, im using www.shieldhost.com as my host. :(

Posted

I found ".htgroup" " .htpasswd " in my "www" directory but the oscommerce is in my "www/html" directory should i delete those 2.

Posted

O thank you so much, i finnally found those stupid .xxxxx files i found one in my "html" and deleted that one and I also fund 2 on in my admin directory adn deleted those 2 also, but now when I go to www.mywebsite.com/admin it doesnt even ask for user or password, did i delete somting bad, how can I fix this? THANKs THANKs THANKs THANKS :D

Posted

Great, glad you can at least get into the admin portion of your site.

 

Now you have to create those "stupid" .xxxxx files again.

 

In summary

 

You need two files to protect your directory.

 

1. .htaccess file that tells the apache web server where the password file is located and which users are allowed. Create this file with notepad or whatever and place it in your admin directory. The AuthName will be displayed in the pop-up login window.

 

AuthUserFile /home/somedirectory/.htpasswd

AuthName "My OSC Admin Directory"

AuthType basic

require valid-user

 

2. You need to create your passwd file. If you already have one AND you know it has the proper user/passwd in it, then just point to it.

 

Otherwise, you need to create the .htpasswd file or whatever you called it in the .htaccess file. There are lots of programs that do this for you on the net as well as the standard one that apache includes for you in their distribution.

 

http://httpd.apache.org/docs-2.0/programs/htpasswd.html

 

Good luck and

 

HTH

Tom

Posted

I'll try that, thanks so much, but I wonder how come i didnt have this problem before when I installed it in the /oscommerce direcotry, it probobly has to do somting with the directories.

Archived

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

×
×
  • Create New...