Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Intermitant Cart !


Henry

Recommended Posts

I have had OSC operating without any problems for a number of months... with no problems ....

 

But I installed the 'Shop By price contribution' which installed without no problems and appears to work.

 

But I now seem to have an intermitant cart, for example if I browse the site and select a product and 'add to cart' it then is added to the cart, but if I try a little later it does not add to the cart.

 

the enrty point does not seem to make any difference (Froogle, select by model number or even select by price). I have tried to find a pattern without success. Also I have also had this 'intermitant' problem when I try to delete something from a cart. Again there does not seem to be a pattern.

 

It might have no connection with the 'Shop by Price' contribution - it could be I have only just noticed it.

 

The worry factor is how many people have had this problem and have had no way of calculating lost sales !

 

Any ideas

 

Henry

Link to comment
Share on other sites

i would setup a store, with the backup from prior to installing that contribution, then testing it (you do this on another directory so as not to disturb the current site) then you can play to your hearts desire and see if it is intermittent

Link to comment
Share on other sites

Intermintant CART

 

I have looked carefully at the problem and it is intermitant.. in fact it might have been there from the initial istallation of OSC.. If I enter the site as a customer and access a product from 'best sellers' sometimes it works and sometimes not.

 

If I enter from specials ... same intermitant effect.

 

If fact same problem if I enter from catorgories...

 

There does not appear to be a pattern.

 

Any ideas of what I should check ?

 

Henmry

Link to comment
Share on other sites

post your configure.php file here, without the db info, password, etc. also include the document root (open admin, tools, server info and search for document_root).

do you have cache enabled? what are your logging settings? your session settings?

how is 'store sessions' set in the configure.php?

Link to comment
Share on other sites

post your configure.php file here, without the db info, password, etc.  also include the document root (open admin, tools, server info and search for document_root).

do you have cache enabled?  what are your logging settings?  your session settings?

how is 'store sessions' set in the configure.php?

 

The information.......

 

This is the configure.php from clockstop includes

 

<?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.rowtex.co.uk'); // eg, http://localhost - should not be empty for productive servers

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

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

define('HTTP_COOKIE_DOMAIN', 'www.rowtex.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'www.rowtex.co.uk');

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

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

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

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

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:/Inetpub/CustomerRoot/www.rowtex.co.uk/www/clockstop/');

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

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

 

// define our database connection

define('DB_SERVER', '**IP ADDRESS OF SERVER'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '*******');

define('DB_SERVER_PASSWORD', '*******');

define('DB_DATABASE', '*******');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

 

This is the confiure.php from admin includes

 

<?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.rowtex.co.uk'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.rowtex.co.uk');

define('HTTPS_CATALOG_SERVER', 'https://www.rowtex.co.uk');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', 'D:/Inetpub/CustomerRoot/www.rowtex.co.uk/www/clockstop/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/clockstop/admin/'); // absolute path required

define('DIR_FS_ADMIN', 'D:/Inetpub/CustomerRoot/www.rowtex.co.uk/www/clockstop/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/clockstop/'); // absolute path required

define('DIR_FS_CATALOG', 'D:/Inetpub/CustomerRoot/www.rowtex.co.uk/www/clockstop/'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

// define our database connection

define('DB_SERVER', 'IP address of server'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '*********');

define('DB_SERVER_PASSWORD', '*********');

define('DB_DATABASE', '********');

define('USE_PCONNECT', 'false'); // use persisstent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

I assume you mean doc-_root

=doc_root no value no value

 

or

=docref_root no value no value

 

...do you have cache enabled? normally it has been switched off, but I have tried it switch on today and I am having the same problem.

 

 

...what are your logging settings?

 

Store Page Parse Time false

Log Destination /var/log/www/tep/page_parse_time.log

Log Date Format %d/%m/%Y %H:%M:%S

Display The Page Parse Time true

Store Database Queries false

 

.....your session settings?

 

Session Directory /tmp

Force Cookie Use False

Check SSL Session ID False

Check User Agent False

Check IP Address False

Prevent Spider Sessions True

Recreate Session False

 

Hope this gives you enough information

 

Henry

Link to comment
Share on other sites

I am still trying to find a solution... had a further look through the forums in the hope of finding something...

 

Back in Nov 15 03 user cold1too appeared to have a similar problem, but the post title must have changed - there were references to doc_root in the replies.

 

If it was not intermitant I would have a fair chance of finding it by tiral and error. I have posted the configure.php's, but still can't find a solution.

 

Henry

Link to comment
Share on other sites

Try changing your session and cache path to something like this and create the dirs.

 

D:/Inetpub/CustomerRoot/www.rowtex.co.uk/tmp/

 

or

 

D:/Inetpub/CustomerRoot/www.rowtex.co.uk/www/clockstop/admin/tmp/

I changed both the cache path and the session paths as suggested everything seems to work, but I still seem to be getting this intermitant cart problem.

 

To give an example if I log into the site as a customer, if I select an item and add to cart the site jumps to shopping_cart.php and shows what I have added to the cart - I can try this a number of times with no problems. I then leave the site and go to it again (as a customer) and clcik add to cart, it goes to the shopping_cart.php page but no product is there.

 

I try this several times and most of the time it works with no problem, but sometimes not.

 

If there was a pattern we could track the source of the problem ....

 

Has anybody got any further ideas that I could try ?

 

Henry

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...