View Full Version : Can't add item to cart

01-23-2009, 12:18 AM
Ive research in the forum ..
though there are topics related with mine with all of the solution ..
Ive tried wth the solution but i still cant fix it ..
when i click add to cart ..
the item is not added to cart whether using add to cart button or buy now button ..
it display ..your shopping cart is empty!

based on the research ..I think i could try wth the register_globals part ..
but ..i dont know how to adjust this part ..
can someone help me ..

01-23-2009, 04:07 PM
Nothing to do with register globals....

Possibly to do with cookies and/or https settings ...more than likely in your configure.php files....

Could you please explain which version your also working with and I will move the post to the appropriate forum...

01-23-2009, 05:33 PM
i'm using oscommerce-2.2rc2a version ..
how do i change the cookies or https settings?

01-27-2009, 10:17 PM
still cant use this OSCommerce ..please give me some clue ..

01-28-2009, 12:24 AM
Possibly to do with cookies and/or https settings ...more than likely in your configure.php files....

Not under standing? I though it was some what clear..... Look at your configure.php files (there are TWO)..... Cookie and/or https setting are incorrect.

Post here the one in the catalog/includes - (less the DB info...) Make sure the session are stored in "MySQL".

01-28-2009, 07:30 PM

define('HTTP_SERVER', 'http://www.maxvuevision.com');
define('HTTPS_SERVER', 'http://www.maxvuevision.com');
define('ENABLE_SSL', false);
define('HTTP_COOKIE_DOMAIN', 'www.maxvuevision.com');
define('HTTPS_COOKIE_DOMAIN', 'www.maxvuevision.com');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/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', '/usr/home/maxvuevision/public_html/catalog/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DB_SERVER', '');
define('DB_SERVER_USERNAME', '');
define('DB_SERVER_PASSWORD', '');
define('DB_DATABASE', '');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'mysql');