Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need Help - cart is empty loop


thegifthaven

Recommended Posts

Anytime a customer creates a new account or logs in when they have something in the cart it disappears and says the shopping cart is empty, also if you log in put something in the cart and try to check out the contents disappears and says your cart is empty. I have tried to figure this out and it is frustrating me to no end. And finally when you put something in the cart after logging in and checkout it takes you back to the log in screen.

 

If anyone would be kind aenough to give me a nudge in the right direction that would be great.

 

Im using 2.2 ms2 i believe.

the url is www.thegifthaven.com

 

here is my configure.php

// Define the webserver and path parameters

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

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

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

define('HTTPS_SERVER', 'https://thegifth.startlogic.com'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', '\www.thegifthaven.com');

define('HTTPS_COOKIE_DOMAIN', '\thegifth.startlogic.com');

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

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

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

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

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/thegifth/public_html/Store/');

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

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

 

// define our database connection

define('DB_SERVER', 'thegifth.startlogicmysql.com'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'thegifth_p_os2');

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

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

?>

Link to comment
Share on other sites

With shared SSL You should not have cookie creation to be allowed.

 

As when a visitor moves from NON SSL to SSL cookies are lost.

 

So set a wrong value for

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

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

 

like

define('HTTP_COOKIE_DOMAIN', '\www.aaaaaaaxxxxxxxxxxxx.com');

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

I'd try these settings:

 

define('HTTP_COOKIE_DOMAIN', '.thegifthaven.com');
define('HTTPS_COOKIE_DOMAIN', '.thegifth.startlogic.com');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');

And also this:

 

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

If it works - GREAT!

 

If it doesn't you can always change it back.

 

It won't hurt anything to try.

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 >

Link to comment
Share on other sites

Cookies will work with shared SSL.

 

A case in point:

 

Click Me

 

That being said, you can't set "Force Cookie Use" to true in your Admin using shared SSL.

 

Or so I've read.

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 >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...