Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Another Shopping Cart Not Working Thread


AdamIllian

Recommended Posts

I understand there are a lot of threads like this, and I have read four pages worth in the search string. However, none are describing my problem, and I have tried the fixes in all of them without any result. If anyone tries to start a session at http://www.kathydallasusa.com and add any items to the cart, they just never get there. This was working a couple weeks ago, but has then ceased. I am going to list a copy of my config file (sans DB login info) for everyone to see if something is in wrong. I seriously am clueless as to why this stopped working suddenly, as nothing has changed with the servers or the site.

 

Thanks in advance,

 

Adam

 

// Define the webserver and path parameters

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

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

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

define('HTTPS_SERVER', 'https://www.kathydallasusa.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.kathydallasusa.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', 'd:/www/corp/kathydallas/catalog/');

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

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

Link to comment
Share on other sites

Ok, quick update. I moved the site to another server (does not support SSL, so I can't keep it there) and was able to add items to the cart with no problem. Its as if the items are being refused for temporary saving in the cart. I am just not able to get anything in to my cart on the original server at all.

Link to comment
Share on other sites

Ok, quick update. I moved the site to another server (does not support SSL, so I can't keep it there) and was able to add items to the cart with no problem. Its as if the items are being refused for temporary saving in the cart. I am just not able to get anything in to my cart on the original server at all.

you cannot add anything to the cart because you do not have sessions. the oscsid is empty. Also the configure.php is incorrect with respect to cookies but that's secondary.

 

You must have a filter somewhere that doesn't allow sessions or some broken code. Without them you cannot operate the shopping cart really.

Link to comment
Share on other sites

you cannot add anything to the cart because you do not have sessions. the oscsid is empty. Also the configure.php is incorrect with respect to cookies but that's secondary.

 

You must have a filter somewhere that doesn't allow sessions or some broken code. Without them you cannot operate the shopping cart really.

 

Since the exact same code works on another server, I'll go with your filter idea. Would this reside on the client side or the server? Logic is telling me it is an issue with the server somewhere because the same issue happens in both places.

 

Could my MySQL database be the issue? Where is the configuration for sessions etc.? It does not appear to reside in configure.php.

 

Also, I am having zero trouble querying the database for any administration functions, everything is happening in the shopping cart.

 

Thanks,

 

Adam

Link to comment
Share on other sites

Since the exact same code works on another server, I'll go with your filter idea. Would this reside on the client side or the server? Logic is telling me it is an issue with the server somewhere because the same issue happens in both places.

 

Could my MySQL database be the issue? Where is the configuration for sessions etc.? It does not appear to reside in configure.php.

 

Also, I am having zero trouble querying the database for any administration functions, everything is happening in the shopping cart.

 

Thanks,

 

Adam

Could be a server script like .htaccess, if someone had the bright idea to strip the session id from the urls, for instance. That in conjunction with incorrect cookies settings is enough to cause it.

Link to comment
Share on other sites

Could be a server script like .htaccess, if someone had the bright idea to strip the session id from the urls, for instance. That in conjunction with incorrect cookies settings is enough to cause it.

 

Ok, I'll probably just try to move servers then. Configuring SSL HAS to be simpler than dredging the code to see where the error is.

 

I'm still up for suggestions, though.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...