Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

LOST ADMIN PASSWORD!


Andrius

Recommended Posts

Posted

Ok I setup my cart system but now when I go to login to the admin area my login/password dont work. is there a way to reset the login to the admin section to nothing or default and then re-set it? I have full access to the server as I am owner. PLEASE help me get back into my admin area I can't afford to re-install the entire things after so much work was put into it.

Posted

This topic has been discussed over and over. =)

 

osCommerce does not come with passwords for the admin so it depends on how you set it up to begin with.

 

If it is from a contribution then see the install file.

(if you are working with a loaded version of oscommerce you downloaded from somewhere else, you best ask them for info)

If you wrote an htaccess and htpasswd file then you need to change those.

If you used your webhosts control panel then you can use that to set a new password.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Posted
This topic has been discussed over and over. =)

 

osCommerce does not come with passwords for the admin so it depends on how you set it up to begin with.

 

If it is from a contribution then see the install file.

(if you are working with a loaded version of oscommerce you downloaded from somewhere else, you best ask them for info)

If you wrote an htaccess and htpasswd file then you need to change those.

If you used your webhosts control panel then you can use that to set a new password.

 

 

In which php file does the Adim password reside ??

Posted

Hello, I am trying to edit both the username and password of the admin section, but I haven't succeeded yet.

 

I do not remember installing a contribution for setting up password protection for the admin dir, nor does my host allow me to use my web-control-panel to secure directories.

 

Looking in the .htaccess file in the admin directory, I only see something about SSL for IE :S

# $Id: .htaccess,v 1.3 2003/06/12 10:53:20 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
# (commented out by default to prevent errors occuring on certain
# servers)

#<IfModule mod_php4.c>
#  php_value session.use_trans_sid 0
#  php_value register_globals 1
#</IfModule>

So how do I edit the username and password? It is set at least somewhere, but where?

  • 2 months later...
Posted
how do I write a new .htaccess and .htpasswd file?  I can't find anything on that subject

Go to contrpl panel of your web site and check for password protect directories link.

 

Satish Mantri

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Archived

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

×
×
  • Create New...