"Your shopping cart is empty!" error after adding item,
Also, new users can't sign up... it just refreshes to a blank form
While my installation is an osCommerce, in searching the net I've seen that ZenCart seems to work the same way and people have reported similar problems with ZenCart. I was hoping I might find some help here.
I have an ssl installation... since installing the SLL, customers can not add items to their cart and new users can not register on the "sign up" page. When they complete the form it just seems to refresh the create an account form.
When you add an item to the shopping cart it takes you to the cart and displays a "Your shopping cart is empty!" error .
I've seen other threads that ask folks for the config file, so I'll paste it here. I'm removing the website reference, but I can PM to anyone who might need it to help.
Also, the SSL is issued with the full "www.(domain).net" address, not just "(domain).net".
Thanks!!!
<?php
/*
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
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.(domain).net'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://www.(domain).net'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'www.(domain).net');
define('HTTPS_COOKIE_DOMAIN', 'www.(domain).net');
define('HTTP_COOKIE_PATH', '/store/');
define('HTTPS_COOKIE_PATH', '/store/');
define('DIR_WS_HTTP_CATALOG', '/store/');
define('DIR_WS_HTTPS_CATALOG', '/store/');
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', '/home/(domainlogin)/public_html/store/');
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('DB_SERVER_USERNAME', '(real_db_login)');
define('DB_SERVER_PASSWORD', '(real_db_password)');
define('DB_DATABASE', '(real_db_name)');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
define('DIR_FS_CACHE_XSELL', 'cache/');
?>
Bookmarks