autoxtreme Posted April 18, 2008 Posted April 18, 2008 Hi, It has been brought to my attention by a customer that there is a problem with the checkout on my site. An account can be created without problems, products can be added to the shopping cart, but when you go to checkout the site logs you out and send you back to the login to account screen. Does anyone know what could be causing this to happen? Thank you
Guest Posted April 18, 2008 Posted April 18, 2008 Hi, It has been brought to my attention by a customer that there is a problem with the checkout on my site. An account can be created without problems, products can be added to the shopping cart, but when you go to checkout the site logs you out and send you back to the login to account screen. Does anyone know what could be causing this to happen? Thank you You need to check in admin how sessions are handled.
autoxtreme Posted April 21, 2008 Author Posted April 21, 2008 You need to check in admin how sessions are handled. I checked sessions in admin. This is what it says............... Session Directory /tmp Force Cookie Use False Check SSL Session ID False Check User Agent False Check IP Address False Prevent Spider Sessions False Recreate Session False I am not too sure what this means or what it should be set to. Can someone help me out please :)
Ronaldinho53 Posted April 22, 2008 Posted April 22, 2008 Do you have a ssl certificate on your site? If so, is it full or shared? "Outside of a dog, a book is man's best friend. Inside of a dog, it's too dark to read." GROUCHO (1895-1977)
Guest Posted April 22, 2008 Posted April 22, 2008 I checked sessions in admin. This is what it says...............Session Directory /tmp Force Cookie Use False Check SSL Session ID False Check User Agent False Check IP Address False Prevent Spider Sessions False Recreate Session False I am not too sure what this means or what it should be set to. Can someone help me out please :) You could try Session Directory tmp Force Cookie Use False Check SSL Session ID True Check User Agent False Check IP Address False Prevent Spider Sessions True Recreate Session True
autoxtreme Posted May 1, 2008 Author Posted May 1, 2008 Hi, Thank you for the replies. I have tried changing the session options and it makes no difference. I am using a shared SSL. The url my host has given for the shared SSL is 'https://surrey.webhosting.uk.com/~autoextr/ This is how I currently have my /includes/configure file set up. define('HTTP_SERVER', 'http://www.autoextreme.co.uk'); define('HTTPS_SERVER', 'https://surrey.webhosting.uk.com/~autoextr/'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.autoextreme.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'autoextreme.co.uk'); define('HTTP_COOKIE_PATH', '/shop/'); define('HTTPS_COOKIE_PATH', '/shop/'); define('DIR_WS_HTTP_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); And this is from my /admin/includes/configure file <?php define('HTTP_SERVER', 'http://www.autoextreme.co.uk'); define('HTTP_CATALOG_SERVER', 'http://www.autoextreme.co.uk'); define('HTTPS_CATALOG_SERVER', 'https://surrey.webhosting.uk.com/~autoextr/'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/home/autoextr/public_html/shop/'); Could it be something wrong in the way I have the SSL set up in either of the files? If anyone wants to create an account on the site to see what is happening feel frre :) Thank for any help on this one. Just want to get my store online and fully functional and this is the only thing stopping me now.
germ Posted May 1, 2008 Posted May 1, 2008 In your /includes/configure.php change these: define('HTTPS_SERVER', 'https://surrey.webhosting.uk.com/~autoextr/'); define('HTTP_COOKIE_DOMAIN', 'www.autoextreme.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'autoextreme.co.uk'); define('HTTP_COOKIE_PATH', '/shop/'); define('HTTPS_COOKIE_PATH', '/shop/'); To: define('HTTPS_SERVER', 'https://surrey.webhosting.uk.com/~autoextr'); define('HTTP_COOKIE_DOMAIN', '.autoextreme.co.uk'); define('HTTPS_COOKIE_DOMAIN', '.surrey.webhosting.uk.com/~autoextr'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); In the Admin configure file, change this: define('HTTPS_CATALOG_SERVER', 'https://surrey.webhosting.uk.com/~autoextr/'); To: define('HTTPS_CATALOG_SERVER', 'https://surrey.webhosting.uk.com/~autoextr'); 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 >
autoxtreme Posted May 1, 2008 Author Posted May 1, 2008 Thank you for that. I have gone through with a find and replace tool copying and pasting from what you said to make sure I have no errors but I am still having the same problem. I am really stuck on this one.
autoxtreme Posted May 1, 2008 Author Posted May 1, 2008 I have just backed up my entire store and tried again using a completely fresh install of OSC. I have changed nothing apart from the suggested settings in the above post and I am still getting the same problems. Does anyone have any other suggestions? Thank you
autoxtreme Posted May 1, 2008 Author Posted May 1, 2008 It is also definitely related to the SSL settings as the fresh install worked perfectly until I changed the settings in configure.php Then it started signing out as soon as you navigate away from the log in screen
autoxtreme Posted May 1, 2008 Author Posted May 1, 2008 Anyone???? I`ve tried everything I can think of. I tried the suggestion in the post above and I am still having problems. Can anyone else suggest anything that might help me sort out this problem.
germ Posted May 1, 2008 Posted May 1, 2008 What's your URL now? :unsure: http://www.autoextreme.co.uk/shop/ doesn't work any more.... :huh: I had to leave for work. That's why I didn't post more earlier. 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 >
bkellum Posted May 1, 2008 Posted May 1, 2008 Anyone???? I`ve tried everything I can think of. I tried the suggestion in the post above and I am still having problems. Can anyone else suggest anything that might help me sort out this problem. You didn't specify this so check you very last line in your configure.php file and define the sessions as so: define('STORE_SESSIONS', 'mysql'); Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE
Recommended Posts
Archived
This topic is now archived and is closed to further replies.