Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

shared ssl session problem - cart empty


longstockings

Recommended Posts

Hi

 

I've tried to follow all the advice on this subject but I still can't get my shop to work.

My web site is running on a pretty standard cpanel server which has a shared certificate installed for the server name.

 

  define('HTTP_SERVER', 'http://www.keepitsweet.co.uk'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_COOKIE_DOMAIN', 'keepitsweet.co.uk');
 define('DIR_FS_CATALOG', '/home/keepit/public_html/catalog/');
 define('GIFT_VOUCHER_CATEGORY_ID', '47'); // for use in left menu


 define('HTTPS_SERVER', 'https://host.myssl.co.uk/~keepit'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTPS_COOKIE_DOMAIN', 'host.myssl.co.uk/~keepit');
 define('HTTP_COOKIE_PATH', 'keepitsweet.co.uk');
 define('HTTPS_COOKIE_PATH', 'host.myssl.co.uk/~keepit');
 define('DIR_WS_HTTP_CATALOG', '/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/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_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 define('DIR_WS_INCLUDES_STRUCTURE', 'includes/structural/'); // path to main Keep It Sweet includes

 

As my shop is live I've had to disable ssl until I am confident that it will work correctly.

Any help would be gladly appreciated

Link to comment
Share on other sites

define('HTTP_SERVER', 'http://www.keepitsweet.co.uk');

define('HTTP_COOKIE_DOMAIN', 'http://www.keepitsweet.co.uk');

define('DIR_FS_CATALOG', '/home/keepit/public_html/catalog');

define('GIFT_VOUCHER_CATEGORY_ID', '47'); // for use in left menu

define('HTTPS_SERVER', 'https://host.myssl.co.uk/~keepit/');

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

define('HTTPS_COOKIE_DOMAIN', 'https://host.myssl.co.uk/~keepit/');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

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

 

 

Try this

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...