Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't Login - plz help :(


sho ryu ken

Recommended Posts

Posted

Hi guys, I have been experimenting with oscommerce for the past couple of days. But I am STUCK with this problem :( SSL appears to be working as I am able to create an account using the secure server. But when I fill in the customer details to log in it screws up and sends me to my hosts secure root page. e.g. it sends me to https://secure.hosts.co.uk/index.php?osCsid...176382ac8a9829c instead of https://secure.hosts.co.uk/~buyjewelleryonl...176382ac8a9829c

 

My config.php is like this :

 

define('HTTP_SERVER', 'http://www.buyjewelleryonline.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://secure.hosts.co.uk'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', True); // secure webserver for checkout procedure?

.......

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/~buyjewelleryonline.com/');

 

 

Anyone know what's wrong please?

Posted

define('HTTPS_SERVER', 'https://secure.hosts.co.uk/~buyjewelleryonline.com');

 

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

 

define('HTTPS_COOKIE_DOMAIN', 'secure.hosts.co.uk/~buyjewelleryonline.com');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

 

Vger

Posted

Hi, thanks, that helped a lot. It now works so that the user can go to the checkout, but the thing is it keeps logging me out and losing my cart every time I do something. I sign in, then click an item,then go back to top and it says "Hello Guest" again.

 

define('HTTP_SERVER', 'http://www.buyjewelleryonline.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://secure.hosts.co.uk/~buyjewelleryonline.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', True); // secure webserver for checkout procedure?

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

define('HTTPS_COOKIE_DOMAIN', 'secure.hosts.co.uk/~buyjewelleryonline.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

 

I have tried many different things but cant get it to go :(

Posted

Those settings are correct and should work. I am wondering if the https server is actually using a different operating system e.g. Windows on one server, Linux on another. You can try this:

 

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_PATH', '');

 

Vger

Archived

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

×
×
  • Create New...