Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shopping cart empty - cannot add products


DeptofWorks

Recommended Posts

Posted

Hi all,

 

I am having a problem with my shopping cart - when a user adds a product it displays 'Your shopping cart is empty!' Pressing 'Continue' returns customer to the home page - I think this is something to do with the includes/configure.php file, which I have printed below. Any help would be much appreciated. Im not using SSL, although shared SSL maybe implemented at a later date. Can anyone help?

 

Thanks, Dan.

 

<?php

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

define('HTTPS_SERVER', 'http://www.domainname.com');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'www.domainname.com');

define('HTTPS_COOKIE_DOMAIN', 'www.domainname.com');

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', '/var/www/html/virtualdomains/10833/domainname.com/documents/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'xxxxxx');

define('DB_SERVER_PASSWORD', 'xxxxxxxx');

define('DB_DATABASE', 'xxxxxx');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

  • 2 months later...
  • 1 month later...
Posted
I am having this problem also...it appears no one knows the answer to this...?

 

:huh:

 

 

Me too... anyone have any luck?

Archived

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

×
×
  • Create New...