Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shopping Cart Empties Unless Immediate Checkout


lewisqic

Recommended Posts

Posted

Hi all,

 

I've got a problem with my shopping cart that i just noticed... If i click on the "add to cart" button to add a product to my cart, then it will add the product to my cart just fine and it takes me to the shopping cart page where i can choose to checkout or continue shopping. Anyway, there isn't a problem if i simply decide to checkout from there, it works fine and the shopping cart will hold the product. However, if i decide to continue shopping or if i click on any other link other than checkout then it will delete the product from the shopping cart. I just noticed this problem, and i haven't installed any contributions lately that i can remember, so i'm not too sure on where to start looking for the problem, any help or advice would be greatly appreciated, thanks.

lewisqic

Posted

Had the same sort of thing happening sometime back, which turned out to be slight error in configure file within the ssl cookie settings.

Posted

Well my untrained eye can't see anything, so i'm going to post my catalog config file here so maybe you can take a look and let me know if you see anything wrong or out of place...

 

<?php
/*
 $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 2003 osCommerce

 Released under the GNU General Public License
*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://www.outfitterwarehouse.com'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.outfitterwarehouse.com'); // eg, [url="https://localhost"]https://localhost[/url] - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', '.outfitterwarehouse.com');
 define('HTTPS_COOKIE_DOMAIN', '.outfitterwarehouse.com');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '/catalog/');
 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_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '/download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
 define('DB_SERVER', 'xxxxxxxx');
 define('DB_SERVER_USERNAME', 'xxxxxxxx');
 define('DB_SERVER_PASSWORD', 'xxxxxxxx');
 define('DB_DATABASE', 'xxxxxxxx');
 define('CONFIGURE_STATUS_COMPLETED', 1);
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');
?>

lewisqic

Archived

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

×
×
  • Create New...