Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

User unable to log in


wingnut144

Recommended Posts

Posted

I created a new store, and registered myself as a test user. The problem is I can't log in! I enter the email address and the password I used to create the account, and the system goes back to calling me 'guest' and asking if I want to log in.

 

I even had osCommerce send me a password, which I tried, and got the same result?

 

Ideas on whats going on???

Posted

Probably bad cookie settings in your /catalog/includes/configure.php file.

 

Post what you have for these definitions:

 

  define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', false); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', '');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '');
 define('HTTPS_COOKIE_PATH', '');

Don't post the whole file, all I need to see is what you have for these seven (7) lines.

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 >

Posted

Ok, here you go:

 

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

define('HTTPS_SERVER', 'https://securec2.hostek.net/salleboise-com');

define('ENABLE_SSL', true);

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

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

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

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

 

Probably bad cookie settings in your /catalog/includes/configure.php file.

 

Post what you have for these definitions:

 

  define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', false); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', '');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '');
 define('HTTPS_COOKIE_PATH', '');

Don't post the whole file, all I need to see is what you have for these seven (7) lines.

Posted

Alter the lines I have posted ONLY

 

define('HTTP_COOKIE_DOMAIN', '.salleboise.com');
define('HTTPS_COOKIE_DOMAIN', '.securec2.hostek.net/salleboise-com');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');

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 >

Posted

Looks like osC isn't detecting your SSL cert. properly, and therefore your images don't show in SSL mode when you answer NO to the "Do you want to display non-secure items?".

 

If you find this is the case, please do this:

 

Copy the script in the CODE box below into Notpad on your PC:

 

<?php
echo 'HTTP HOST: ' . "$HTTP_HOST";
echo '<br>Server Port: ' . getenv('SERVER_PORT');
echo '<br>SSL Status: ' . getenv('HTTPS');
echo '<br>Fowarded Server: ' . getenv('HTTP_X_FORWARDED_SERVER');
echo '<br>Fowarded Host: ' . getenv('HTTP_X_FORWARDED_HOST');
echo '<br>Fowarded By: ' . getenv('HTTP_X_FORWARDED_BY');
?>

Save it as myenv.php

 

Upload it into your /store foder.

 

Access it with this like below:

 

https://securec2.hostek.net/salleboise-com/store/myenv.php

 

Copy/paste what it outputs to your browser into your next 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 >

Archived

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

×
×
  • Create New...