snworks Posted December 9, 2004 Posted December 9, 2004 Greets, I am able to reset my password no problem using the Forgot Password option. I get an email. I have a new password. I use it and the email address that was assigned to it. I get no errors, it simply refreshes the page and I am staring at a username and password box. If I use the wrong password purposefully, I get an invalid username and password error. Please someone help. Thanks, Tom
ozcsys Posted December 9, 2004 Posted December 9, 2004 Greets, I am able to reset my password no problem using the Forgot Password option. I get an email. I have a new password. I use it and the email address that was assigned to it. I get no errors, it simply refreshes the page and I am staring at a username and password box. If I use the wrong password purposefully, I get an invalid username and password error. Please someone help. Thanks, Tom <{POST_SNAPBACK}> How are you protecting your admin? What method are you using? The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
snworks Posted December 9, 2004 Author Posted December 9, 2004 How are you protecting your admin? What method are you using? <{POST_SNAPBACK}> The site is running on a win2k server with no special permissions. When I go to login.php in the admin section, enter the correct info and try to login, it simply returns me back to login.php
snworks Posted December 10, 2004 Author Posted December 10, 2004 No one else is having this problem? Tom
♥Vger Posted December 10, 2004 Posted December 10, 2004 The people who usually have this problem are those who have the wrong cookie domain setting in their configure.php files e.g www.yourdomain.com = right http://www.yourdomain.com = wrong Give that a try and see if it works. Vger
snworks Posted December 13, 2004 Author Posted December 13, 2004 The people who usually have this problem are those who have the wrong cookie domain setting in their configure.php files e.g www.yourdomain.com = right http://www.yourdomain.com = wrong Give that a try and see if it works. Vger <{POST_SNAPBACK}> I have checked the configuration files and they read as follows: define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com'); define('HTTPS_COOKIE_DOMAIN', 'www.mydomain.com'); Any other ideas? Thanks
mhormann Posted December 14, 2004 Posted December 14, 2004 While we're at it... Vger, I think you could help me here... My provider proxies me through one of HIS SSL Certs via https://ssl-account.com/mydomain.net/ instead of https://mydomain.net/ I've had SOME problems with that already. Do I assume correctly the cookie domains should be like this: (from /catalog/includes/configure.php) define('HTTP_SERVER', 'http://www.mydomain.net'); define('HTTPS_SERVER', 'https://ssl-account.com/mydomain.net'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.mydomain.net'); define('HTTPS_COOKIE_DOMAIN', 'ssl-account.com'); // ??? define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/mydomain.net/catalog/'); // ??? define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); Thanks for helping! M. I don't want to set the world on fire—I just want to start a flame in your heart. osCommerce Contributions: Class cc_show() v1.0 – Show Credit Cards, Gateways More Product Weight v1.0
mhormann Posted December 14, 2004 Posted December 14, 2004 The site is running on a win2k server with no special permissions. When I go to login.php in the admin section, enter the correct info and try to login, it simply returns me back to login.php <{POST_SNAPBACK}> What version is THAT, Tom? I don't even have a 'login.php' here?! (Still using good old .htaccess) I don't want to set the world on fire—I just want to start a flame in your heart. osCommerce Contributions: Class cc_show() v1.0 – Show Credit Cards, Gateways More Product Weight v1.0
♥Vger Posted December 14, 2004 Posted December 14, 2004 I would try leaving this part blank (it's not your domain) define('HTTPS_COOKIE_DOMAIN', ''); // and I would use this setting for this line define('HTTPS_COOKIE_PATH', '/catalog/'); // Give those a try and get back if it doesn't work. Vger While we're at it... Vger, I think you could help me here... My provider proxies me through one of HIS SSL Certs via https://ssl-account.com/mydomain.net/ instead of https://mydomain.net/ I've had SOME problems with that already. Do I assume correctly the cookie domains should be like this: (from /catalog/includes/configure.php) ?define('HTTP_SERVER', 'http://www.mydomain.net'); ?define('HTTPS_SERVER', 'https://ssl-account.com/mydomain.net'); ?define('ENABLE_SSL', true); ?define('HTTP_COOKIE_DOMAIN', 'www.mydomain.net'); ?define('HTTPS_COOKIE_DOMAIN', 'ssl-account.com'); // ??? ?define('HTTP_COOKIE_PATH', '/catalog/'); ?define('HTTPS_COOKIE_PATH', '/mydomain.net/catalog/'); // ??? ?define('DIR_WS_HTTP_CATALOG', '/catalog/'); ?define('DIR_WS_HTTPS_CATALOG', '/catalog/'); Thanks for helping! M. <{POST_SNAPBACK}>
♥Vger Posted December 14, 2004 Posted December 14, 2004 What you are describing is the 'Login as a customer' feature on the website itself, and not the Login to the osCommerce 'admin' folder. Vger Greets, I am able to reset my password no problem using the Forgot Password option. I get an email. I have a new password. I use it and the email address that was assigned to it. I get no errors, it simply refreshes the page and I am staring at a username and password box. If I use the wrong password purposefully, I get an invalid username and password error. Please someone help. Thanks, Tom <{POST_SNAPBACK}>
doug_b Posted December 14, 2004 Posted December 14, 2004 in your admin folder, try finding a file called .htaccess, and deleting it. I had that problem and it told me I had server troubles etc, so I deleted the file and now it works great.
snworks Posted December 14, 2004 Author Posted December 14, 2004 I looked for the htaccess file in the admin folder, there was not one there. I also tried to set the following variables as follows: define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); Still no luck. Just to be clear, I am trying to login to the admin section. The customer login on the site works fine, its just when I go to mysite.com/catalog/admin. I can enter in the correct info, it doesnt give an error, it just returns right back to the login screen. I appreciate the help guys.
snworks Posted December 28, 2004 Author Posted December 28, 2004 Hey Guys, I still have been unable to resolve this issue, any more suggestions? Thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.