Guest Posted September 19, 2005 Share Posted September 19, 2005 Hi all I'm having a problem in CC3.0.2 where the SSL part of the site isn't talking to the non-SSL area. If I login, I am only logged into the SSL area and if I add something to my cart, it's only on the non-SSL area - the secure section always states that my cart is empty. It's not a browser thing as I've tried it in FF and Safari - I just can't work out what's going on and I can't find anything in the forums. What gives? What files are supposed to be where? Do I need an exact copy of CC in both SSL and non-SSL areas? I'm on a shared SSL cert. TIA Quote Link to comment Share on other sites More sharing options...
Guest foursky Posted September 19, 2005 Share Posted September 19, 2005 I had the same problem, and it was fixed by deleting cookies, closing browser, and retrying. I noticed it after making a bunch of changes... Quote Link to comment Share on other sites More sharing options...
Guest Posted September 19, 2005 Share Posted September 19, 2005 Hi Thanks for the reply. Just tried that and it hasn't made any difference - the SSL and non-SSL still aren't sharing the shopping cart or login details :innocent: Quote Link to comment Share on other sites More sharing options...
Guest foursky Posted September 20, 2005 Share Posted September 20, 2005 What are your SSL settings in the admin area? What are the last 3 lines of the global.inc.php file. feel free to change some of the data, but leave the slashes and stuff intact. Also, I wouldnt post anything more than the last 3 lines as it holds your password and database info... Are you running on a windows box, or unix? Quote Link to comment Share on other sites More sharing options...
Guest Posted September 20, 2005 Share Posted September 20, 2005 Hi Running UNIX. Last 3 lines of global.inc.php are: $glob['rootDir'] = '/home/shopname/public_html'; $glob['rootRel'] = '/'; $glob['storeURL'] = 'http://www.shopname.co.uk'; SSL settings in admin: Root secure public html folder: /~shopname/ Absolute secure URL to store: https://hosting-company.com/~shopname Server secure root directory: /usr/local/apache/secure/lshopname/public_html/ I've put the global.inc.php in both the public and secure areas of the site - no idea if that's right or not. I've also noticed that when I try to login by going from public > secure login that, after I hit the login button, the page goes to https://hosting-company.com/index.php and not https://hosting-company/~shopname/index.php and so 404s. Quote Link to comment Share on other sites More sharing options...
Guest foursky Posted September 20, 2005 Share Posted September 20, 2005 I would make the secure root the same as the regular and see if it works. Also make sure you have "ipaddress:443" and the other fun ssl stuff in the apache conf file setup. Are you able to go to https://hosting-company.com/~shopname/admin without any problems, ie broken links? $glob['rootDir'] = '/home/shopname/public_html'; $glob['rootRel'] = '/'; $glob['storeURL'] = 'http://www.shopname.co.uk'; SSL settings in admin: Root secure public html folder: /~shopname/ Absolute secure URL to store: https://hosting-company.com/~shopname Server secure root directory: /usr/local/apache/secure/lshopname/public_html/ Is the root path supposed to be"http://www.shopname.co.uk/~shopname"? This should be very similar to the "$glob['storeURL']" variable. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 20, 2005 Share Posted September 20, 2005 Are you able to go to https://hosting-company.com/~shopname/admin without any problems, ie broken links? Actually, no. After entering my username and password for admin, it misses out a slash, so I get adminindex.php. I've been trying to work that one out for a while now. Not surprisingly for a shared environment, I can't get at the Apache conf file :on2long: Quote Link to comment Share on other sites More sharing options...
Guest frostproof Posted September 25, 2005 Share Posted September 25, 2005 fstorr.... Did you get this working yet? I think that I see some possible problems with your path settings. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 25, 2005 Share Posted September 25, 2005 Hi No, no luck, so any help you could give would be fantastic. Quote Link to comment Share on other sites More sharing options...
Guest frostproof Posted September 26, 2005 Share Posted September 26, 2005 Are all of your settings still the same as they were previously? global.inc.php $glob['rootDir'] = '/home/shopname/public_html'; $glob['rootRel'] = '/'; $glob['storeURL'] = 'http://www.shopname.co.uk'; SSL settings in admin: Root secure public html folder: /~shopname/ Absolute secure URL to store: https://hosting-company.com/~shopname Server secure root directory: /usr/local/apache/secure/lshopname/public_html/ Also, can you PM me the link to the site? Quote Link to comment Share on other sites More sharing options...
Guest Posted September 26, 2005 Share Posted September 26, 2005 Hi I'll PM you tomorrow first thing - I've some progress but all I want to do now is sleep. Thanks for replying :rolleyes: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.