Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin area asking for user name / pw when none was set.


enyceexdanny

Recommended Posts

Hello everyone. I just installed oscommerce, but for some reason - when I try to get into the admin section, it asks me for a user name and password.

I haven't set anything but I don't understand why it is doing so.

 

Thanks in advance.

Link to comment
Share on other sites

I'm going to assume this is MS2 and not MS3.

 

Sounds to me like you are uploading a site that has existed before?

 

Right or wrong?

 

if I'm right, if you open up admin>.htaccess

 

at the bottom will be something like ..

 

AuthType Basic

AuthName "Admin access"

AuthUserFile "/home/mysite/.htpasswds/admin/passwd"


require valid-user

 

Delete those lines and it will stop. (If I was right)

Link to comment
Share on other sites

I'm going to assume this is MS2 and not MS3.

 

Sounds to me like you are uploading a site that has existed before?

 

Right or wrong?

 

if I'm right, if you open up admin>.htaccess

 

at the bottom will be something like ..

 

AuthType Basic

AuthName "Admin access"

AuthUserFile "/home/mysite/.htpasswds/admin/passwd"
require valid-user

 

Delete those lines and it will stop. (If I was right)

 

 

Well, yes - oscommerce was installed on that server before. But had some errors. So redownloaded and reinstalled it.

And by the way, it's a windows server.

 

Thanks again.

Link to comment
Share on other sites

I know nothing about windows servers but did it work?

Link to comment
Share on other sites

There was no such code in that file.

Also, windows servers don't make use of htaccess files - to my knowledge.

 

=)

 

 

Well someone with knowledge of windows servers will have to reply.

 

However, my guess is that the admin directory was password protected and it is that code from the old install causing the problems.

 

WINDOZE uggh why does anyone use it!!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...