Your cart is currently empty!
Homepage › Community Forums › inSync Theme Support › SSL
Tagged: SSL for InSynch
I’ve never had SSL installed on an Appfinite theme, have done other Genesis themes with no problems, but I’m running inSynch at http://leyla-najma.com and have had SSL installed. However when trying to load ssl via https://leyla-najma.com it would appear as if the style sheet/theme isn’t being loaded and I get a white page with some navigation but no theme. Wondering if anyone has any suggestions. So and if this could possibly be a theme issue. Host Gator is scratching their duck dynasty nappy little heads so far.
Thanks ,
Dan
Wes
Just went through couple hours of debug with Host Gator and the very last thing we tried was switching from the inSynch to the 2015 theme and lo and behold all worked perfectly, so I would say that inSynch version 1.0 is not SSL compatible at this time. Is this something you think you can fix and I hope that you will or do I need to look at a different theme. I hope you can fix it because I have 4 other sites running inSynch that I might need SSL on in the future.
One of the things that happens that may help you troubleshoot is that when adding SSL the standard process from my point of view is to
1. Change in WP Setting the two site URL’s from http to https However with inSynch installed this is not possible. The changes when attempted will kick you out of wordpress but then when trying to log back in using https://sitename.com/wp-login.php the page will error out with a too many redirects error. Again this does not happen when we switched to the wp default theme. So something is causing those redirects. That’s one thing that may assist you.
I found a call out for google fonts that was calling http instead of https and changed that and am still looking for other areas but if there’s anything that is associated with the logic in your code, that’s above my pay grade I’m afraid.
For anyone experiencing a similar issue a temporary work around is a plug in called simple ssl.
Unfortunately if you need to have your site verified by Google this may not be adequate.
Suffice to say that there is a degree of urgency, so anyone with suggestions or a fix – please, please reply
I viewed the blocked content that is causing CSS not to load using Google Developer tools and here’s the offending scrips according to Google – hope this helps for a fix. Any fix would be above my pay grade unfortunately.
leyla-najma.com/:32 Mixed Content: The page at ‘https://leyla-najma.com/’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://leyla-najma.com/wp-includes/css/dashicons.min.css?ver=4.7.2’. This request has been blocked; the content must be served over HTTPS.
leyla-najma.com/:33 Mixed Content: The page at ‘https://leyla-najma.com/’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://leyla-najma.com/wp-includes/css/admin-bar.min.css?ver=4.7.2’. This request has been blocked; the content must be served over HTTPS.
leyla-najma.com/:34 Mixed Content: The page at ‘https://leyla-najma.com/’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://leyla-najma.com/wp-content/themes/leyla-najma-insync/style.css?ver=2.4.2’. This request has been blocked; the content must be served over HTTPS.
leyla-najma.com/:1 Mixed Content: The page at ‘https://leyla-najma.com/’ was loaded over HTTPS, but requested an insecure script ‘http://leyla-najma.com/wp-includes/js/jquery/jquery.js?ver=1.12.4’. This request has been blocked; the content must be served over HTTPS.
leyla-najma.com/:1 Mixed Content: The page at ‘https://leyla-najma.com/’ was loaded over HTTPS, but requested an insecure script ‘http://leyla-najma.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1’. This request has been blocked; the content must be served over HTTPS.
leyla-najma.com/:1 Mixed Content: The page at ‘https://leyla-najma.com/’ was loaded over HTTPS, but requested an insecure script ‘http://leyla-najma.com/wp-content/themes/leyla-najma-insync/js/responsive-menu.js?ver=1.0.0’. This request has been blocked; the content must be served over HTTPS.
Think I found the offending line of code in the functions.php file,
$_SERVER[‘HTTPS’] = false;
I changed to true and testing out good so far.
I think there’s other ways to code this from some of the articles I found.
I ended up completely removing the line in functions.php
$_SERVER[‘HTTPS’] = false; as apparently I have learned that it’s not necessary.
Would recommend anyone who is thinking about SSL to check their functions.php file for this line of code and deep six it before they have SSL installed.
Unfortunately I don’t have any experience with SSL so I wouldn’t be much of any help on this subject.
If anyone else here knows anything and can help, feel free to chime in!
Case closed Wes. See the last post in the thread regarding the removal of a line of code in your functions.php
Thanks for keeping us updated! I’ll send future SSL users here to this thread if they run into any issues.