Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shared SSL - Empty Cart


seven24_24

Recommended Posts

Posted

Checkout is empty on Shared SSL Side.

 

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

define('HTTPS_SERVER', 'https://www.sslcatacomb.com/~drepungloseling/tibetshop'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'tibetantraditions.org');

define('HTTPS_COOKIE_DOMAIN', '/');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

 

all the session are false and so is the cache. Please explain how to get my unsecured cart items into my secure cart for checkout.

 

Thanks in Advance

Posted

define('HTTP_COOKIE_DOMAIN', www.tibetantraditions.org');

define('HTTPS_COOKIE_DOMAIN', 'www.sslcatacomb.com/~drepungloseling/tibetshop');

 

you have a few others wrong, tibetshop should be your catalog listing, not your http server setting, so you will run into problems until you get everything resolving properly

Posted
define('HTTPS_COOKIE_DOMAIN', 'sslcatacomb.com/~drepungloseling/tibetshop'

 

Vger

 

I've tried it every which way but it wont work....based upon the last replies I've set it back to this where it was originally and didn't work.

 

 

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

define('HTTPS_SERVER', 'https://www.sslcatacomb.com/~drepungloseling'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'tibetantraditions.org/tibetshop');

define('HTTPS_COOKIE_DOMAIN', 'sslcatacomb.com/~drepungloseling/tibetshop');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/tibetshop/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/tibetshop/catalog/');

 

 

Is there something I'm missing on the https side....I'm at a total lost as to how to get the cart to pull in. Please help...

 

Thanks in advance.

Posted

define('HTTP_SERVER', 'http://www.tibetantraditions.org');

define('HTTPS_SERVER', 'https://www.sslcatacomb.com/~drepungloseling/tibetanshop');

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

define('HTTP_COOKIE_DOMAIN', 'www.tibetantraditions.org');

define('HTTPS_COOKIE_DOMAIN', 'sslcatacomb.com/~drepungloseling/tibetshop');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

 

Vger

Posted

I've changed this and it didnt work again.

 

I am very curious what people had to do to get their shared ssl to work properly cause I've tried several different cart systems and none seem to work entirely on a shared ssl server.

 

Is there something that needs to be changed in the code or just what?

 

Thanks in advance and Vger you were very helpful.

Posted
I've changed this and it didnt work again.

 

I am very curious what people had to do to get their shared ssl to work properly cause I've tried several different cart systems and none seem to work entirely on a shared ssl server.

 

To get it to work you need the correct settings. Simple. <_<

 

define('HTTP_SERVER', 'http://www.tibetantraditions.org');

define('HTTPS_SERVER', 'https://www.sslcatacomb.com/~drepungloseling/tibetshop');

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

define('HTTP_COOKIE_DOMAIN', 'www.tibetantraditions.org');

define('HTTPS_COOKIE_DOMAIN', 'www.sslcatacomb.com/~drepungloseling/tibetshop');

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

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

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted
One thing I don't understand and it needs clarifying - is your http address http://www.tibetantraditions.org/tibetshop or is it just http://www.tibetantraditions.org ?

 

Vger

 

Good point, I was checking the https links.

 

http://www.tibetantraditions.org/tibetshop/catalog/ -> leads to the http site

https://www.sslcatacomb.com/~drepungloselin...etshop/catalog/ -> leads to the https site

 

So to revise my post above

 

define('HTTP_SERVER', 'http://www.tibetantraditions.org');

define('HTTPS_SERVER', 'https://www.sslcatacomb.com/~drepungloseling/tibetshop');

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

define('HTTP_COOKIE_DOMAIN', 'www.tibetantraditions.org');

define('HTTPS_COOKIE_DOMAIN', 'www.sslcatacomb.com/~drepungloseling/tibetshop');

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

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

define('DIR_WS_HTTP_CATALOG', '/tibetshop/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Archived

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

×
×
  • Create New...