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

Posted

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.

Posted

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)

Posted
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.

Posted

I know nothing about windows servers but did it work?

Posted
I know nothing about windows servers but did it work?

 

There was no such code in that file.

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

 

=)

Posted
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!!

Archived

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

×
×
  • Create New...