Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

shopping cart session


kkkqqq

Recommended Posts

Posted

My installation is finished. But I got some problems:

 

The temp shopping cart contents will lost if you want to check out. Any comments on this. www.qnk.us

 

By the way, the osCommerce image in the bottom of each page is choped. Is there something wrong with this too?

 

Thanks. :wub:

Posted

You have 2 different url's for http and https. The session doesn't get transfered to the secure server.

 

IIRC, you need to change some settings in admin. Not 100% sure anymore if it is in Admin - Configuration - Sessions

 

Set the Check SSL Session ID to true.

 

I stumbled over this before but I don't remember how I fixed it. It might also be a problem in the includes/configure.php file.

 

If that doesn't fix it, could you please post the configure.php file. Take out your user name and PW.

 

HTH

 

Gunter

Posted

Thank you for your quick response. Here is the catalog/includes/configure.php:

 

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://qnk.us'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://unitedframe.ixwebhosting.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'qnk.us');
 define('HTTPS_COOKIE_DOMAIN', 'qnk.us');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');
 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_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_CATALOG', '/hsphere/local/home/amyqzus/qnk.us/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
 define('DB_SERVER', 'mysql.ixwebhosting.com'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'xxxxx');
 define('DB_SERVER_PASSWORD', 'xxxxx');
 define('DB_DATABASE', 'XXXXXXXXXX');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

 

 

 

the following is the admin/includes/configure.php:

 

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://qnk.us'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://qnk.us');
 define('HTTPS_CATALOG_SERVER', 'https://unitedframe.ixwebhosting.com');
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/hsphere/local/home/amyqzus/qnk.us/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', 'http://qnk.us/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/hsphere/local/home/amyqzus/qnk.us/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', 'http://qnk.us/'); // absolute path required
 define('DIR_FS_CATALOG', '/hsphere/local/home/amyqzus/qnk.us/'); // absolute path required
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
 define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

// define our database connection
 define('DB_SERVER', 'mysql.ixwebhosting.com'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'XXXXXXX');
 define('DB_SERVER_PASSWORD', 'XXXXXXXX');
 define('DB_DATABASE', 'XXXXXXXX');
 define('USE_PCONNECT', 'false'); // use persisstent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

 

:) :) B)

Posted

Try this:

 

 define('HTTPS_COOKIE_DOMAIN', 'unitedframe.ixwebhosting.com');

 

Matti

Posted

I did it according to Matti Ressler's suggestion. It works very good.

 

Thanks, every body. You guys are great.

Archived

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

×
×
  • Create New...