Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cannot login with SSL set to True in configure.php


danthman

Recommended Posts

My site runs fine without SSL but when I set it to True in configure.php I cannot login successfully. When logged in and at shopping_cart.php I click Checkout and I'm taken to the login page again. When I log in, I'm not taken to checkout_shipping.php but to index.php. I have checked the entries on configuration.php over and over again but cannot find an error. What have I done wrong?

 

Dan

Link to comment
Share on other sites

Here is the catalog/includes/configure.php

 

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

define('HTTPS_SERVER', 'https://secure.securexsl.com/~penguin');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', '.penguinink.com');

define('HTTPS_COOKIE_DOMAIN', 'secure.securexsl.com/~penguin');

 

here is the admin config

 

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

define('HTTP_CATALOG_SERVER', 'http://penguinink.com');

define('HTTPS_CATALOG_SERVER', 'https://secure.securexsl.com/~penguin');

define('ENABLE_SSL_CATALOG', 'true');

define('DIR_FS_DOCUMENT_ROOT', '/home/penguin/public_html/');

 

I have stared at them for hours and cannot find an error.

 

What do you think?

 

Dan

Link to comment
Share on other sites

Try

catalog/includes/configure.php

 

 

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

define('HTTPS_SERVER', 'https://secure.securexsl.com/~penguin');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', '/');

define('HTTPS_COOKIE_DOMAIN', '/');

 

 

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

I just tried that and it did not work either. I have other sites on this server and they are all set up as my original example and work fine. Why does this one not work?

 

Dan

Link to comment
Share on other sites

I just tried that and it did not work either. I have other sites on this server and they are all set up as my original example and work fine. Why does this one not work?

 

Dan

 

 

I am having the exact same problem and it seems to be related to the shared SSL...

 

I notice your setting uses /~penguin i assume for shared SSL

 

define('HTTPS_SERVER', 'https://secure.securexsl.com/~penguin');

 

If i do it this way it works

 

define('HTTPS_SERVER', 'https://secure.site.com');

 

If i do it this way

 

define('HTTPS_SERVER', 'https://secure.site.com/~site');

 

it does not work.

 

keep in mind that site.com is my shared ssl main site so it works the first way but obviously wont work for sites that are using the sharred SSL. I am baffled.

Link to comment
Share on other sites

  • 3 weeks later...

Hi All

In my case no one simply can't login. The web site is enabled ssl, but this is not the problem because I had turned it to false, but the problens continue.

 

When submitted is hit, the page simply reload (????)

 

Thanks

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...