Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Locked out


jckm2000

Recommended Posts

If your host has a "control Panel" then you should be able to remove permissions via "Folder properites".

 

If not and you are running apache and are using .htaccess files for security, then just rename the .htaccess file in the admin folder to .htaccess.sav and you should be able to get to your admin area. Then rebuild the .htaccess and associated password file with your new login/password.

 

HTH

Tom

Link to comment
Share on other sites

Hi Tom,

Thanks for your reply. I've changed the .htaccess file in shop/admin/ to .htaccess.sav but I still just get an error when I add my email addres/password at the admin login page. What am I doing wrong? Have I missed something? the .htaccess file in /admin/ has no user/pass info in it:

 

# $Id: .htaccess,v 1.1 2003/06/20 00:18:30 hpdl Exp $

#

# This is used with Apache WebServers

#

# For this to work, you must include the parameter 'Options' to

# the AllowOverride configuration

#

# Example:

#

# <Directory "/usr/local/apache/htdocs">

# AllowOverride Options

# </Directory>

#

# 'All' with also work. (This configuration is in the

# apache/conf/httpd.conf file)

 

# The following makes adjustments to the SSL protocol for Internet

# Explorer browsers

 

<IfModule mod_setenvif.c>

<IfDefine SSL>

SetEnvIf User-Agent ".*MSIE.*" \

nokeepalive ssl-unclean-shutdown \

downgrade-1.0 force-response-1.0

</IfDefine>

</IfModule>

 

# Fix certain PHP values

 

#<IfModule mod_php4.c>

# php_value session.use_trans_sid 0

# php_value register_globals 1

#</IfModule>

 

 

Hope you can help!

 

Cheers,

 

Jon.

Link to comment
Share on other sites

In your root directory see if there is any folder named passwords. If there is then rename the file in that directory and try again. If there is no password directory then look through all the root directories as it will be there somewhere, look in the files for your email address and that will be the one you need to rename. Do Not Delete it just in case.

Link to comment
Share on other sites

If you renamed the .htaccess file and are still getting a Apache Pop-Up login window the either there is another .htaccess file above the admin folder or your Host Provider has the .htaccess information in the apache "config" file.

 

You may need to contact your hosting provide and ask them to help out on this one.

 

By the way, the .htaccess file just points to the file that contains the encrypted password, but if apache does not find a .htaccess file then there should be no pop-up created to login into.

 

The other possibility is that you have a contribution installed for admin login and the .htaccess files are not even in play here. Can you post a link to the admin page. It will be pretty easy to tell from the login page you are getting.

 

HTH

Tom

Link to comment
Share on other sites

Hi,

I'm not getting an apache login, it's the oscommerce login screen I'm having trouble with.

 

http://www.she-bites.com/shop/admin/

Cheers,

 

Jon.

 

Just out of curiosity - I've never seen that login screen, I wan't even aware there was an osCommerce login, I thought admin security was only by htaccess - is that a contribution? If so - why?

Link to comment
Share on other sites

you have admin access with levels or a similar contribution installed so therefore changing the .htaccess file will not do it.

 

The information that you require is held in the database, however your password is encrypted, you can see the encryted password and the email address used in the database.

 

I can give you a known encrypted password to enter into the database that will allow you access and then you can change the password once you are in the admin

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

There isn't an osCommerce login screen as such, only the Login screen you get when you set the folder as Password Protected in your website Control Panel.

 

Somebody has written this Login screen (html only), which is why (I think) they are now locked out.

 

My advice, password protect the folder via your website's control panel, and drop the homemade login screen.

 

Vger

Just out of curiosity - I've never seen that login screen, I wan't even aware there was an osCommerce login, I thought admin security was only by htaccess - is that a contribution? If so - why?

Link to comment
Share on other sites

Somebody has written this Login screen (html only), which is why (I think) they are now locked out.

 

Nothing to do with that at all! It is the login.php screen used by admin access with levels contribution, this I know because I use the very same contribution.

 

This is also how I know what is required to regain access.

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

This issue has now successfully been resolved. :thumbsup:

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...