Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Customer Login issue with IE


neccm

Recommended Posts

I have now had several customers ask for assistance with the login process. After creating an account and logging in, the system does not recognize that they have done so, and just returns to the login screen. All information has been verified, so we know the addresses/passwords are correct. I have also been able to duplicate this in the office. This only happens sometimes with Internet Explorer (I do not have data on the version of IE). Logging in with Firefox or Chrome is no problem.

 

Anyone have any thoughts or fixes?

 

Thanks!

Link to comment
Share on other sites

@@neccm

 

hmmmm, if you are using v2.3.1 standard code, you shouldn't be having an issue with the buttons. As far as I know, the standard code works with all browsers.

 

 

 

 

Chris

Link to comment
Share on other sites

If the users who can't login also can't add items to the cart (it always says "Your cart is empty") it may be the cookie settings in the config file.

 

One of these two usually work:

 

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

 

(replace domain.com with your domain name)

 

If you have it set to one change to the other and test with all available browsers to see if it helps or not.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

@@germ my config looks like this

 

 
 define('HTTP_COOKIE_DOMAIN', '');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');

 

and i have had some people tell me they cant login so i just manually do their order....

 

what should those 4 lines look like? i am not using the https currently.

 

thanks

Link to comment
Share on other sites

The cookie domains should be either:

 

 define('HTTP_COOKIE_DOMAIN', '.domain.com');
 define('HTTPS_COOKIE_DOMAIN', '.domain.com');

 

Or:

 

 define('HTTP_COOKIE_DOMAIN', 'www.domain.com');
 define('HTTPS_COOKIE_DOMAIN', 'www.domain.com');

 

Whichever one works for you.

 

The paths depend on where the shop is installed.

 

For a "root" install use:

 

 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');

 

If you installed in a folder named "catalog" it should be:

 

 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '/catalog/');

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

@@germ i have the store installed on a "addon domain" which i guess would be considered a subcat/folder on the root account...

 

so i should set the cookie domains to /CATALOG/ still even though its actually going to a www.domain.com address for the store as a addon domain for the account?

Link to comment
Share on other sites

If the store is in the root of the sub-domain I believe the paths you have are correct.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Hi,

Just copyed typical cpanel subdomain no catalog???

 

<?php

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

define('HTTPS_SERVER', 'http://www.demo1.xxxxx.com');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

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/xxxxxxx/public_html/demo1/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'xxxxxx_xxx');

define('DB_SERVER_PASSWORD', 'xxxxxxx');

define('DB_DATABASE', 'xxxxxx_demo1');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

The cookie domain shouldn't be blank.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

yes correct

 

sorry I normally have www.xxxxxxxx.com

 

I missed that it was an addon domain so guess it is the full confige

 

<?php

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

define('HTTPS_SERVER', 'http://www.xxxxxxx.com');

define('ENABLE_SSL', false);

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

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

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/xxxxxxx/public_html/xxxxxxxxx/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'xxxxxx');

define('DB_SERVER_PASSWORD', 'xxxxxxxx');

define('DB_DATABASE', 'xxxxxxxxx');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

// EOF

 

I would check the full path again /home/xxxxxxx/public_html/xxxxxxxxx/');

To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

@@germ a customer just emailed me saying "i can not sign in even with the password you sent me and i can not order, the item in my cart disappears"

 

is this having to do with the cookie? or the site being installed as a "addon domain"?

Link to comment
Share on other sites

Cookie settings most likely.

 

Can't be much help without the URL.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

I can offer this tidbit.

 

If the cookie settings are wrong the session ID never disappears from the browser address window and usually changes with every click.

 

And you usually can't login.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

And you usually can't add any items to the cart.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

I tried the site with all the browsers I have available in the house (IE7, IE8, Chrome, and an older version of Firefox) and had no problems at all so you have things setup correctly.

 

If you can ask everyone who can't login or buy things what browser they use maybe you can begin to narrow it down.

 

The only problem I saw was on my monitor the buttons in the header get pushed down into the right column because of the wide logo.

 

If you want some tips on how to fix that start reading from here to multimixer's first post.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

  • 2 weeks later...

Archived

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

×
×
  • Create New...