I cannot find an answer to this after trying several forum fixes. I am using osc 2.2ms2. I installed this on a windows server and had no problems but they didn't offer cURL so I did a clean install without ANY modifications on a Linux sever and I cannot get the cart to show items. Every other part of the store seems fine. Here is the configure.php entry:
// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://mydomain.com/'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://mydomain.com/'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', '1'); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'http://mydomain.com');
define('HTTPS_COOKIE_DOMAIN', 'https://mydomain.com');
define('HTTP_COOKIE_PATH', '/mystore/');
define('HTTPS_COOKIE_PATH', '/mystore/');
define('DIR_WS_HTTP_CATALOG', 'mystore/');
define('DIR_WS_HTTPS_CATALOG', 'mystore/');
define('DIR_WS_IMAGES', 'images/');
Does anyone know why the cart won't fill?
Latest News: (loading..)
Shopping cart empty after 'add item'
Started by Bazil52, Mar 12 2012 10:07 PM
7 replies to this topic
#-19
Posted 12 March 2012 - 10:07 PM
#-18
Posted 12 March 2012 - 10:28 PM
@Bazil52
define('HTTP_SERVER', 'http://mydomain.com/'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://mydomain.com/'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', '1'); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'http://mydomain.com');
define('HTTPS_COOKIE_DOMAIN', 'https://mydomain.com');
define('HTTP_COOKIE_PATH', '/mystore/');
define('HTTPS_COOKIE_PATH', '/mystore/');
Should be:
define('HTTP_SERVER', 'http://www.mydomain.com/');
define('HTTPS_SERVER', 'https://www.mydomain.com/');
define('ENABLE_SSL', 'True'); //If you have an SSL installed. The correct entry is True or False
define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com');
define('HTTPS_COOKIE_DOMAIN', 'www.mydomain.com');
define('HTTP_COOKIE_PATH', '/mystore/'); // If your store is in a sub-directory. if not, leave this as / only
define('HTTPS_COOKIE_PATH', '/mystore/');
Chris
define('HTTP_SERVER', 'http://mydomain.com/'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://mydomain.com/'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', '1'); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'http://mydomain.com');
define('HTTPS_COOKIE_DOMAIN', 'https://mydomain.com');
define('HTTP_COOKIE_PATH', '/mystore/');
define('HTTPS_COOKIE_PATH', '/mystore/');
Should be:
define('HTTP_SERVER', 'http://www.mydomain.com/');
define('HTTPS_SERVER', 'https://www.mydomain.com/');
define('ENABLE_SSL', 'True'); //If you have an SSL installed. The correct entry is True or False
define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com');
define('HTTPS_COOKIE_DOMAIN', 'www.mydomain.com');
define('HTTP_COOKIE_PATH', '/mystore/'); // If your store is in a sub-directory. if not, leave this as / only
define('HTTPS_COOKIE_PATH', '/mystore/');
Chris
#-17
Posted 12 March 2012 - 10:39 PM
Thanks Chris, that worked great! I have spent hours trying to see figure it out.
#-16
Posted 12 March 2012 - 10:48 PM
Spoke too soon, now when I click on Checkout my shopping cart is empty. Where else do I need to change things?
#-13
Posted 13 March 2012 - 11:29 PM
Changed those two items but still says cart is empty when clicking on 'Checkout'. Go back and click on cart contents and it does have the item.
#-12
Posted 16 March 2012 - 03:10 AM
Does anyone have any ideas why when I click on "Checkout" it takes me back to the shopping_cart.php and says that my cart is empty. When I click on my cart, it shows the appropriate content. I could certainly use some help here. Thanks.









