Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Your Shopping Cart is empty!


dsirois1

Recommended Posts

Posted

I'm recieving "Your Shopping Cart is empty!" after selecting add to cart.

 

I know the actual answer is here somewhere. I have been searching for quite some time and cannot find it.

 

Could someone help me out please.

 

I don't think in SSL because I disabled it and this still happened.

Posted

OK, I messed with it and am getting products in the shopping cart but am getting the following error during checkout:

 

 

---------------------

Not Found

The requested URL /shopping/www.franklinflags.com/shopping/checkout_shipping.php was not found on this server.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/1.3.37 Server at www.franklinflags.com Port 80

----------------------

 

I don't know why it is putting /shopping/ in front of the URL

Posted

here is my config file. What am I doing wrong?

 

--------------

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.franklinflags.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.franklinflags.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'http://www.franklinflags.com');

define('HTTPS_COOKIE_DOMAIN', 'http://www.franklinflags.com/~franks42');

define('HTTP_COOKIE_PATH', '/shopping/');

define('HTTPS_COOKIE_PATH', '/shopping/');

define('DIR_WS_HTTP_CATALOG', '/shopping/');

define('DIR_WS_HTTPS_CATALOG', '/shopping/');

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', 'http://www.franklinflags.com/home/franks42/public_html/shopping/');

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

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

Posted

I haven't come across this issue has anything to do with the configure.php file. It could be the setup in your admin section, or the version of osc you installed as the newest version has a bug with some version of php on your hosting server, which may cause this.

 

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Posted

So should I scrap my customers shopping cart or do you think there is a solution. I have been trying different configurations and getting different results. I am using shared SSL. Is this a problem?

Posted
So should I scrap my customers shopping cart or do you think there is a solution. I have been trying different configurations and getting different results. I am using shared SSL. Is this a problem?

 

No. This problem is solvable.

 

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Posted

even though my host uses the public_html directory for ssl.... I decided to turn off SSL because the cart will only be using PayPal. I am going to ignore this issue, but thanks for your help.

  • 3 weeks later...
  • 3 weeks later...
Posted

your cookie domain may be the problem - it looks like the session is being dropped -

 

define('HTTP_COOKIE_DOMAIN', 'http://www.franklinflags.com');

define('HTTPS_COOKIE_DOMAIN', 'http://www.franklinflags.com/~franks42');

 

 

should be:

 

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

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

Archived

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

×
×
  • Create New...