sash_007 Posted March 12, 2010 Posted March 12, 2010 Hello friends, I have forgot my store admin password for that i have used this addon http://addons.oscommerce.com/info/5857 but it failed before that i tried this method refeered in this thread http://www.oscommerce.com/forums/index.php?showtopic=283912&st=0&gopid=1492607entry1492607 If you go to your administrators table in phpmyadmin, you will see your user name and hashed password. Copy them to a text editor - so you can put them back if need be - then delete them from the administrators table. If it works out, the next time you access your admin, it should ask you to input a new user name and password.
♥mdtaylorlrim Posted March 12, 2010 Posted March 12, 2010 Hello friends, I have forgot my store admin password for that i have used this addon http://addons.oscommerce.com/info/5857 but it failed before that i tried this method refeered in this thread http://www.oscommerce.com/forums/index.php?showtopic=283912&st=0&gopid=1492607entry1492607 Can you describe what the password entry box looks like? Is it a form on an osC page or is it a pop up window? Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
sash_007 Posted March 13, 2010 Author Posted March 13, 2010 Can you describe what the password entry box looks like? Is it a form on an osC page or is it a pop up window? hello i uploaded the reset.php to http://www.webdesigncut.com/store then i run it and then went to admin and i see this screen
♥mdtaylorlrim Posted March 13, 2010 Posted March 13, 2010 hello i uploaded the reset.php to http://www.webdesigncut.com/store then i run it and then went to admin and i see this screen And what happens now when you enter a username and password here? Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
FIMBLE Posted March 13, 2010 Posted March 13, 2010 The reset password script will let you know if you are using htaccess over the normal log in. Check that fopen() is set to true, to test make a php.ini file and add allow_url_fopen = On; to it, uplod it to your admin folder and see if this helps. Possibly it will not but it does cross off one of the items on the list of what it could be. Do you have any other problems with data entry? Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
sash_007 Posted March 14, 2010 Author Posted March 14, 2010 And what happens now when you enter a username and password here? after that when i tried to login it says Error: Invalid administrator login attempt.
Jan Zonjee Posted March 14, 2010 Posted March 14, 2010 after that when i tried to login it says Error: Invalid administrator login attempt. Most likely this has to do with the fact that you get a 302 message (redirection to site without www) when going to that admin directory (name of site edited out): curl -v http://www.yoursite.com/store/admin/ * About to connect() to www.yoursite.com port 80 (#0) * Trying 69.167.137.119... connected * Connected to www.yoursite.com (69.167.137.119) port 80 (#0) > GET /store/admin/ HTTP/1.1 > User-Agent: curl/7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3 > Host: www.yoursite.com > Accept: */* > < HTTP/1.1 302 Moved Temporarily < Date: Sun, 14 Mar 2010 09:12:06 GMT < Server: Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 < X-Powered-By: PHP/5.2.11 < Expires: Thu, 19 Nov 1981 08:52:00 GMT < Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 < Pragma: no-cache < Set-Cookie: osCAdminID=6d0ff2fd7df1e8bd369b18d4f1608650; path=/store/admin/ < Location: http://yoursite.com/store/admin/login.php?osCAdminID=6d0ff2fd7df1e8bd369b18d4f1608650 < Content-Length: 0 < Content-Type: text/html < * Connection #0 to host www.yoursite.com left intact * Closing connection #0 Note the redirect to the site without www prepended.... And of course it is a good idea to rename the admin directory to something less obvious and add .htaccess protection on top of that.
maydaohio Posted March 15, 2010 Posted March 15, 2010 Most likely this has to do with the fact that you get a 302 message (redirection to site without www) when going to that admin directory (name of site edited out):... Note the redirect to the site without www prepended.... And of course it is a good idea to rename the admin directory to something less obvious and add .htaccess protection on top of that. Jan, Can you post a specific resolution. I am getting the same error after applying the reset.php. It allows me to create administrator but then the login does not work. Thanks, Mayda
maydaohio Posted March 16, 2010 Posted March 16, 2010 This solution by BryceJr worked for me. I seemed to have a very similar problem. post link
sash_007 Posted March 16, 2010 Author Posted March 16, 2010 Most likely this has to do with the fact that you get a 302 message (redirection to site without www) when going to that admin directory (name of site edited out): curl -v http://www.yoursite.com/store/admin/ * About to connect() to www.yoursite.com port 80 (#0) * Trying 69.167.137.119... connected * Connected to www.yoursite.com (69.167.137.119) port 80 (#0) > GET /store/admin/ HTTP/1.1 > User-Agent: curl/7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3 > Host: www.yoursite.com > Accept: */* > < HTTP/1.1 302 Moved Temporarily < Date: Sun, 14 Mar 2010 09:12:06 GMT < Server: Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 < X-Powered-By: PHP/5.2.11 < Expires: Thu, 19 Nov 1981 08:52:00 GMT < Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 < Pragma: no-cache < Set-Cookie: osCAdminID=6d0ff2fd7df1e8bd369b18d4f1608650; path=/store/admin/ < Location: http://yoursite.com/store/admin/login.php?osCAdminID=6d0ff2fd7df1e8bd369b18d4f1608650 < Content-Length: 0 < Content-Type: text/html < * Connection #0 to host www.yoursite.com left intact * Closing connection #0 Note the redirect to the site without www prepended.... And of course it is a good idea to rename the admin directory to something less obvious and add .htaccess protection on top of that. can you please explain clearly what should be done step by step as i am newbie in php in oscommerce i have a redirect of my site non www to www
sash_007 Posted March 16, 2010 Author Posted March 16, 2010 This solution by BryceJr worked for me. I seemed to have a very similar problem. post link your method didnt worked
Recommended Posts
Archived
This topic is now archived and is closed to further replies.