Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Customers Having Trouble Logging In - Revisited


mattgagnon

Recommended Posts

Posted

Here's the age-old problem of customers unable to log in revisited.

 

I've been trolling this forum for weeks now trying to get a straight, comprehensive answer to a problem that has cropped up with my store in the past couple months. My store has been working fine since September 2004. Here are the details:

 

1. Some customers who have an account on my store all of a sudden cannot log in. They get the "Error: No match for E-Mail Address and/or Password" error.

 

2. They sometimes then try to create an account, thinking they don't have one, only to be told that an account with that username/password exists.

 

3. I can't duplicate either of these errors no matter how hard I try.

 

4. configure.php settings:

 

define('HTTP_SERVER', 'http://www.whitehorsepress.com/');

define('HTTPS_SERVER', 'https://www.whitehorsepress.com/');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'www.whitehorsepress.com');

define('HTTPS_COOKIE_DOMAIN', 'www.whitehorsepress.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '');

define('DIR_WS_HTTPS_CATALOG', '');

:

:

:

:

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

 

5. admin->configuration->session settings:

 

Session Directory /home/whitehorsepress/www/tmp

Force Cookie Use False

Check SSL Session ID False

Check User Agent False

Check IP Address False

Prevent Spider Sessions True

Recreate Session False

 

6. We do have our own SSL installed, and we are on a shared system.

 

I think that about covers it.

 

Please help!

 

Thanks,

Matt

Posted

Can anyone help with this? This is a serious issue, one that many people have problems with, and one I feel is not adequately answered in any one place.

 

Thanks,

Matt

Posted

Definately sounds like a sessions problem.

 

Correct me if I am wrong .. but I believe your cookie domain settings are wrong. Your HTTP_COOKIE_DOMAIN and HTTPS_COOKIE_DOMAIN should just be your domain.

 

It should be just whitehorsepress.com ... without the www prefix.

Posted
Definately sounds like a sessions problem.

 

Correct me if I am wrong .. but I believe your cookie domain settings are wrong. Your HTTP_COOKIE_DOMAIN and HTTPS_COOKIE_DOMAIN should just be your domain.

 

It should be just whitehorsepress.com ... without the www prefix.

 

Thanks. I think I tried that setting too - I've tried just about every combination of settings possible. Will try again and see what happens.

 

Thanks again,

Matt

  • 1 year later...
Posted

I am having a similar problem...

I cannot log in as a customer - and I have had people emailing me saying they can't either. Mine does a loop - I got sign in, looks ok then when I add a product it goes back to sign in....

 

If I use the 'force cookie usage' I get an error "your computer is not accepting cookies..." but it is accepting cookies for all other sites including OS admin...

 

When I disable IP check I can log in, then when i try to process an order it works until I select a payment method & when I press continue it goes to a totally blank page. I done this a number of times & tried changing a few settings with no success.

 

I have browsed the forums & there seems to be a huge need for a clear & concise answer to some of these problems as the OS site doesn't work at all with these errors....

I saw one post saying that the 'www. needed to be forced after HTTPS' but don't know how to do that (wasn't described there either)

 

I'm ready to start a fresh install of OS or use some other software... pulling my hair out :o

 

 

 

If anyone can help feel free

 

<?php/* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License*/// Define the webserver and path parameters// * DIR_FS_* = Filesystem directories (local/physical)// * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://bonzabuy.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure.bluehost.com/~bonzabuy/'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'bonzabuy.com'); define('HTTPS_COOKIE_DOMAIN', 'secure.bluehost.com/~bonzabuy/'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/bonzabuy/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');// define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'DELETED'); define('DB_SERVER_PASSWORD', 'DELETED'); define('DB_DATABASE', 'bonzabuy_osc1'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'?>

Posted
I am having a similar problem...

I cannot log in as a customer - and I have had people emailing me saying they can't either. Mine does a loop - I got sign in, looks ok then when I add a product it goes back to sign in....

 

If I use the 'force cookie usage' I get an error "your computer is not accepting cookies..." but it is accepting cookies for all other sites including OS admin...

 

When I disable IP check I can log in, then when i try to process an order it works until I select a payment method & when I press continue it goes to a totally blank page. I done this a number of times & tried changing a few settings with no success.

 

I have browsed the forums & there seems to be a huge need for a clear & concise answer to some of these problems as the OS site doesn't work at all with these errors....

I saw one post saying that the 'www. needed to be forced after HTTPS' but don't know how to do that (wasn't described there either)

 

I'm ready to start a fresh install of OS or use some other software... pulling my hair out :o

If anyone can help feel free

 

<?php/* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License*/// Define the webserver and path parameters// * DIR_FS_* = Filesystem directories (local/physical)// * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://bonzabuy.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure.bluehost.com/~bonzabuy/'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'bonzabuy.com'); define('HTTPS_COOKIE_DOMAIN', 'secure.bluehost.com/~bonzabuy/'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/bonzabuy/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');// define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'DELETED'); define('DB_SERVER_PASSWORD', 'DELETED'); define('DB_DATABASE', 'bonzabuy_osc1'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'?>

 

 

You may (or may not) find some more answers here:

 

http://www.oscommerce.com/forums/index.php?showtopic=218553

 

I mistakenly started another thread about the same topic some time later. It does have some new suggestions, however, which I am testing. You might try too.

 

Matt

  • 7 months later...
Posted
You may (or may not) find some more answers here:

 

http://www.oscommerce.com/forums/index.php?showtopic=218553

 

I mistakenly started another thread about the same topic some time later. It does have some new suggestions, however, which I am testing. You might try too.

 

Matt

 

 

Thanks Matt.

I ended up starting from scratch with a fresh store - it is much easier than I was thinking.

For others out there I would recommend not to be too scared of starting again.

 

It is much easier the second time - my first OsCommerce site was a terrifying project but with the help of so many patient people on these forums I have learned much & been able to achieve what I wanted to.

 

Believe me - if I can do it - you can too don't give up!

Archived

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

×
×
  • Create New...