JackP Posted April 13, 2016 Share Posted April 13, 2016 Hi folks. I have my SSL installed on the server and it tests out ok (from the SSL check as well as manually starting with a https://. However, if I just enter the domain it doesn't start out secure and neither does checkout. I see the setting on the SSL tab of the store settings in the admin section. If I set this SSL flag to yes, then I get an error of "This page isn't redirecting properly" and nothing else. Are there additional settings that I have missed? Thank in advance. Jack Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 13, 2016 Share Posted April 13, 2016 Would you please review any directives in the .htaccess file that may be 301 redirect. Also, there may be some settings in your hosting account's control panel - now that an SSL cert is installed - that may be sending spurious redirects. Quote Link to comment Share on other sites More sharing options...
JackP Posted April 13, 2016 Author Share Posted April 13, 2016 Thanks Brian. There are no directives regarding 301 (or any other redirect) in my.htaccess file. Looking at C-Panel, I have no redirects set for my host at all. Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 13, 2016 Share Posted April 13, 2016 I recall this happening elsewhere, and there have been solutions found. I just don't recall what they were, exactly. If you have access to your site's web server access log, there may be clue. What we are looking for is whether the web server accepted the request (which would have launched PHP to run Cubecart), or did not accept the request and issued (and logged) a 301. We are trrying to place the blame: CubeCart's bounce or some other actor ahead of CubeCart. On the surface, it looks like CubeCart because the erro message didn't appear until you switched on SSL in CubeCart's admin. But then, you haven't mentioned exactly what the series of bounces actually look like. That can be seen in the browser's developer tools. Quote Link to comment Share on other sites More sharing options...
JackP Posted April 13, 2016 Author Share Posted April 13, 2016 Thanks Brian. I resolved it. It was not in the log and I was having trouble determining with web tools. As I suspected it was a CubeCart issue, I started looking around. It turns out you must have https:// within the SSL URL in the global.inc.php file. Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 13, 2016 Share Posted April 13, 2016 Well, no, having a specific config setting in global.inc.php is not really required. Unless your site is at a non-domain address, such as: $glob['ssl_url'] = 'https://127.0.0.1/dev-site-1'; Which, if it is, you should have mentioned that. Quote Link to comment Share on other sites More sharing options...
JackP Posted April 15, 2016 Author Share Posted April 15, 2016 Nope, it wasn't at a non-domain address and putting the setting in the global.inc.php resolved the issue. SO, whether documentation says it is required or not is irrelevant as changing the setting detailed above resolved the issue thus making it required to work properly, at least within my installation and SSL. Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 15, 2016 Share Posted April 15, 2016 It would be interesting to study your situation to learn why having this statment in global.inc.php is necessary for you. But, party on! 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.