Loaded Commerce Community

Banner


Board index » Loaded Commerce Support » Bug Issues

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Logging out on Checkout
PostPosted: Tue Oct 19, 2010 8:54 am 
Offline
CRE Newbie
User avatar

Joined: Fri Jul 20, 2007 12:00 am
Posts: 14
can anyone tell me how we fix this problem please, when checkout is clicked it logs you out. I have searched the forums but cant find anything

Thanks

Liam


Top
 Profile  
 
 Post subject: Re: Logging out on Checkout
PostPosted: Tue Oct 26, 2010 5:41 pm 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2404
Location: New Zealand
There are several things to check, and the suggestions below are in order of likelihood of a result:

Stuff you can do:
1. Is your domain www. or non-www and are these correct in your admin/includes/configure.php & /includes/configure.php files?

2. If your Store is in a subdirectory (eg /catalog) then the first lines of admin/inc/configure should work like this:

Code:
define('HTTP_SERVER', 'https://www.yourstore.com'); // eg, http://localhost - should not be empty for productive servers
  define('HTTP_CATALOG_SERVER', 'https://www.yourstore.com');
  define('HTTPS_CATALOG_SERVER', 'https://www.yourstore.com');
  define('HTTPS_SERVER', 'www.yourstore.com'); // eg, https://localhost - should not be empty for productive servers
  define('HTTPS_ADMIN_SERVER', 'https://www.yourstore.com/catalog/admin');
  define('HTTP_COOKIE_DOMAIN', 'www.yourstore.com');
  define('HTTPS_COOKIE_DOMAIN', 'www.yourstore.com');
  define('HTTP_COOKIE_PATH', '/catalog/');
  define('HTTPS_COOKIE_PATH', '/catalog/');


And the catalog/includes/configure.php like this:

Code:
define('HTTP_SERVER', 'http://www.yourstore.com'); // eg, http://localhost - should not be empty for productive servers
  define('HTTPS_SERVER', 'https://www.yourstore.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.yourstore.com');
  define('HTTPS_COOKIE_DOMAIN', 'www.yourstore.com');
  define('HTTP_COOKIE_PATH', '/catalog/');
  define('HTTPS_COOKIE_PATH', '/catalog/');
  define('DIR_WS_HTTP_CATALOG', '/catalog/');
  define('DIR_WS_HTTPS_CATALOG', '/catalog/');



>>> Otherwise if it is in the root directory (eg /public_html or /httpdocs) then admin/inc/configure should work like this:

Code:
define('HTTP_SERVER', 'https://www.yourstore.com'); // eg, http://localhost - should not be empty for productive servers
  define('HTTP_CATALOG_SERVER', 'https://www.yourstore.com');
  define('HTTPS_CATALOG_SERVER', 'https://www.yourstore.com');
  define('HTTPS_SERVER', 'www.yourstore.com'); // eg, https://localhost - should not be empty for productive servers
  define('HTTPS_ADMIN_SERVER', 'https://www.yourstore.com/admin');
  define('HTTP_COOKIE_DOMAIN', 'www.yourstore.com');
  define('HTTPS_COOKIE_DOMAIN', 'www.yourstore.com');
  define('HTTP_COOKIE_PATH', '');
  define('HTTPS_COOKIE_PATH', '');


And the catalog/includes/configure.php like this:

Code:
define('HTTP_SERVER', 'http://www.yourstore.com'); // eg, http://localhost - should not be empty for productive servers
  define('HTTPS_SERVER', 'https://www.yourstore.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.yourstore.com');
  define('HTTPS_COOKIE_DOMAIN', 'www.yourstore.com');
  define('HTTP_COOKIE_PATH', '');
  define('HTTPS_COOKIE_PATH', '');
  define('DIR_WS_HTTP_CATALOG', '');
  define('DIR_WS_HTTPS_CATALOG', '');


3. In Admin/Configuration/Sessions, all should be = False except for Prevent Spider Sessions = True

Things your Hosting company needs to help with:
4. Have a word with your hosting company ... did they install a shared SSL cert or are you using a dedicated SSL? What domain settings have they used and do these match 1. above?

5. Are they running a php extension called suhosin and is this setting suhosin.session.cryptdocroot = Off?
Suhosin is usually found here: /etc/php5/conf.d/suhosin.ini (you probably won't be able to access this, but they can)

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Board index » Loaded Commerce Support » Bug Issues

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
It is currently Wed May 23, 2012 9:38 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Login

Forums Latest Activity

Top Listing

1. Cart2Cart - Shopping...
    Category: Shopping Cart Database Conversion Scripts
    
2. Points & Rewards PLUS!...
    Category: Add-Ons
    
3. Configuration Server...
    Category: Fixes
    
4. Credit Card with CCV
    Category: Payment Modules
    
5. CC7333_ATS
    Category: Templates
    
Show more...

© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy