Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cart keeps forgetting what is in it / logging out problem


lambro

Recommended Posts

Help!

Problem is I "buy things" log in, sometimes it lets me go through fine, other times it logs me out, or it forgets what I just put in the basket, or it adds things from old orders, or things thta I put in but did not check out fully. I cannot work out a pattern or why it is doing it. It is on a live shop, some users report problems, others seem to come through fine, could it be proxy servers?

 

My configure.php is as follows

 

<?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://ccgi.bowden.force9.co.uk'); // 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', 'ccgi.bowden.force9.co.uk');

define('HTTPS_COOKIE_DOMAIN', '');

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

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/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', '/files/home2/bowden/catalog/');

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

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

 

// define our database connection

define('DB_SERVER', 'humbug.plus.net'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'bowden');

define('DB_SERVER_PASSWORD', '??+????????');

define('DB_DATABASE', 'bowden_f9');

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

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

?>

 

 

I have tried the sessions both empty and set to mysql, does not seem to make any difference.

 

I have turned cache on and off, no difference.

 

Sessions

 

 

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 True

 

Please help!!

Link to comment
Share on other sites

Have you tried changing your Session Settings:

 

Change "Recreate Sessions" to false

 

Also, it is set up to prevent spidering, which

has nothing to do with this problem, but I

think it will hinder your efforts to show up

in the search engines.

Link to comment
Share on other sites

set store sessions to mysql

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...