Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cart empty problem


yabble

Recommended Posts

Posted

Hi boys and girld sorry to bother you lall with this i see there has been a bit of info on it but im a little lost. As the title reads every time i try and buy something on my site it asks me to log in,(which is annoying in its self)once the process of logging in is complete it empties the cart and cant check out, also evertime i add something to the cart and click checkout it redirects me to login again. just a horrible circle of hell.

 

Im running OSC 2.2 on MS windows

 

I have seen from other postes that people have been posting there config file, so as you can see below i have done the same in the hope there is something missing or an error and all will be sorted in minutes (little hopefull i know)

 

feel free to try yourself www.yourbikestore.co.uk

 

 

<?php

define('HTTP_SERVER', 'http://yourbikestore.co.uk');

define('HTTPS_SERVER', 'https://web49.secure-secure.co.uk/yourbikestore.co.uk');

define('ENABLE_SSL', 'true');

define('HTTP_COOKIE_DOMAIN', 'yourbikestore.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'yourbikestore.co.uk');

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', '/home/sites/yourbikestore.co.uk/public_html/');

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

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

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', -------);

define('DB_SERVER_PASSWORD', '------');

define('DB_DATABASE', '--------');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

 

Cheers hope someone can help.

Posted

Shared SSL and osC sometimes don't play well together...

:blush:

 

Try:

 

define('HTTPS_COOKIE_DOMAIN', 'yourbikestore.co.uk');

Change to:

 

define('HTTPS_COOKIE_DOMAIN', 'web49.secure-secure.co.uk');

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

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

×
×
  • Create New...