Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

add to cart = Your Shopping Cart is empty! - help


Guest

Recommended Posts

Posted

Hey all

 

I have a real strange problem here and I have been at it for 12hrs and still not been able to come to a solution.

 

I have oscommerce-2.2ms2 running and loading fine with no error messages.

 

The url is: http://www.cheaptemplates4u.com

 

If you go to add any product to cart it says

 

"What's In My Cart?

Your Shopping Cart is empty!"

 

I have done a manual install as well as a preloaded one i got with my host from plesk 7.1.6 and it does the same thing in both instances.

 

I have read many treads here and have tried many things with the settings in /includes/confugure.php but nothing will make it worl.

 

Below is a copy of my configure.php. If anyone can help in any way or have any suggestions it would be greatly appreciated.

 

The most confusing thing is I have had the same thing working on another host as a test and everything was fine there. The test host and this new host both user PHP Version 4.3.2.

 

I cant see any differences and I am real confused.

 

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 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.cheaptemplates4u.com'); // eg, http://localhost - should not be empty for 

productive servers
 define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', false); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.cheaptemplates4u.com');
 define('HTTPS_COOKIE_DOMAIN', '');
 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/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

Posted

Turn off the SEF URLs...problem solved.

 

Bobby

Posted
Turn off the SEF URLs...problem solved.

 

Bobby

 

Hi Chemo

 

Thanks for the reply

 

I had SEF URLs already set to false and switched off

 

any other ideas?

 

many thanks

 

this is killin me ;(

Archived

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

×
×
  • Create New...