Jump to content

SSL, logging in, cart empting issue


Guest

Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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:

Link to comment
Share on other sites

Guest frostproof

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?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...