Jump to content



Photo
- - - - -

Customer Login issue with IE

login internet explorer

This topic has been archived. This means that you cannot reply to this topic.
18 replies to this topic

#1   neccm

neccm
  • Members
  • 6 posts

Posted 15 June 2012 - 15:57

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!

#2   DunWeb

DunWeb

    The Censored One

  • Members
  • 13,084 posts

Posted 15 June 2012 - 16:45

@neccm

Are you using a template with non-standard code ?



Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

#3   neccm

neccm
  • Members
  • 6 posts

Posted 15 June 2012 - 18:48

Not that I know of. The only changes I made were to basic layout/colors, etc.

#4   DunWeb

DunWeb

    The Censored One

  • Members
  • 13,084 posts

Posted 15 June 2012 - 20:32

@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
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

#5   germ

germ
  • Members
  • 13,921 posts

Posted 15 June 2012 - 20:44

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 >

#6   GoTTi

GoTTi
  • Members
  • 448 posts

Posted 15 June 2012 - 22:10

@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

#7   germ

germ
  • Members
  • 13,921 posts

Posted 15 June 2012 - 22:25

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

Edited by germ, 15 June 2012 - 22:26.

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 >

#8   GoTTi

GoTTi
  • Members
  • 448 posts

Posted 18 June 2012 - 22:19

@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?

#9   germ

germ
  • Members
  • 13,921 posts

Posted 18 June 2012 - 22:29

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 >

#10 ONLINE   joli1811

joli1811

    Anybody seen this leprechaun say yeah !!

  • Community Sponsor
  • 2,020 posts

Posted 18 June 2012 - 23:51

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');
?>

Edited by joli1811, 18 June 2012 - 23:53.

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

#11   germ

germ
  • Members
  • 13,921 posts

Posted 19 June 2012 - 00:07

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 >

#12 ONLINE   joli1811

joli1811

    Anybody seen this leprechaun say yeah !!

  • Community Sponsor
  • 2,020 posts

Posted 19 June 2012 - 00:29

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

Edited by joli1811, 19 June 2012 - 00:40.

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

#13   GoTTi

GoTTi
  • Members
  • 448 posts

Posted 25 June 2012 - 19:36

@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"?

#14   germ

germ
  • Members
  • 13,921 posts

Posted 25 June 2012 - 20:17

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 >

#15   germ

germ
  • Members
  • 13,921 posts

Posted 25 June 2012 - 20:58

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 >

#16   germ

germ
  • Members
  • 13,921 posts

Posted 25 June 2012 - 21:22

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 >

#17   GoTTi

GoTTi
  • Members
  • 448 posts

Posted 25 June 2012 - 22:27

there are orders happening though. i am assuming this is happening to a small amount of users, but its happening. ill pm you the address

#18   germ

germ
  • Members
  • 13,921 posts

Posted 25 June 2012 - 23:13

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 >

#19   neccm

neccm
  • Members
  • 6 posts

Posted 10 July 2012 - 14:50

Thanks so much for the help. My cookie fields were indeed blank. I have fixed this, and we seem to be working correctly now.