Shape 5

Joomla Templates => GCK Store - Club => : Buddha160 March 22, 2016, 04:08:47 PM



: Enabling SSL for sensitve areas goes to a blank screen
: Buddha160 March 22, 2016, 04:08:47 PM
Hi,

Whenever I enable SSL for sensitive areas in virtuemart on my GCK store templated joomla site it goes to a blank screen when one tries to checkout with anything in the cart. I changed templates and this seems to resolve the problem, but I would prefer to use this one. Website is http://www.cerrigspeir.com/.

Please let me know what I can do to fix.


: Re: Enabling SSL for sensitve areas goes to a blank screen
: mikek March 23, 2016, 07:42:08 AM
Hello,

It goes totally blank or just unstylized? That would be an issue with the ssl cert, it is most likely viewing the css sheets as external content. I would recommend entering the direct url of your site in "Your Site URL if SEO enabled" setting under the template's General tab. That setting would be: "http://www.cerrigspeir.com"


: Re: Enabling SSL for sensitve areas goes to a blank screen
: Buddha160 March 23, 2016, 12:12:13 PM
It is completely blank. I tried that and I get the attached screenshot when I try to add an address. I didn't go any further and reset everything.





: Re: Enabling SSL for sensitve areas goes to a blank screen
: mikek March 24, 2016, 07:50:23 AM
Hello,

It looks like your site is not loading a www. in your screenshot, that can cause issues with ssl certs because they view it as a different url. I would recommend forcing a www on the site. Usually your host has some kind of redirect for this, but if not you can also try adding this toward the top of the template's index.php file:

$url = $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
if ( "www." != substr( $_SERVER[ 'HTTP_HOST' ] , 0 , 4) ) {
$url = "http://www.".$_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
header('Location:'.$url);
}

Add it just under the opening <?php call.


: Re: Enabling SSL for sensitve areas goes to a blank screen
: Buddha160 March 24, 2016, 05:58:29 PM
It is still giving me that jumbled screen when I click on login from the cart or when I try to add an address in the cart. The "www." is present. Please let me know how to fix this.


: Re: Enabling SSL for sensitve areas goes to a blank screen
: mikek March 25, 2016, 06:38:44 AM
Hello,

I am viewing the source and the only thing I see wrong is there's an extra slash:

http://www.cerrigspeir.com//templates/gck_store/css/template.css

In the SEO setting that I mentioned a few posts above, make sure there is no trailing slash on the url, ie:

http://www.cerrigspeir.com

not:

http://www.cerrigspeir.com/

You can also try adding https in this url instead, for both the SEO setting in the template configuration and the live_site url in configuration.php

https://www.cerrigspeir.com

If that makes no difference there is something in your SSL cert that is stripping the calls, and you would need to contact your host or whoever installed it. It's probably viewing it as external content somehow, and not allowing it to be shown. That would be an issue with the cert itself and how's configured. From what I can tell it's not allowing any css files to be called, including virtuemart ones.


: Re: Enabling SSL for sensitve areas goes to a blank screen
: Buddha160 April 11, 2016, 10:35:45 AM
Fixed the issue where it wasn't passing the css,

Now I go to whynopadlock.com and it gives me this error (see attached image as well):

   Secure calls made to other websites:
fonts.googleapis.com returned an error (Possibly 404 not found or other webserver error. Details:

fonts.gstatic.com is valid and secure.

Checked index.php and it's using the correct syntax, is there another place that this template could be using the incorrect syntax? If not, how would I fix this?

Still getting the blank page when I try to checkout with authorize.net when the site is secure...


: Re: Enabling SSL for sensitve areas goes to a blank screen
: mikek April 11, 2016, 11:53:50 AM
Hello,

Make sure you are running the latest version of Vertex. There are two other locations within Vertex that call google fonts, but they are already updated like this:

href="//fonts.googleapis.com/css?family=

insteadof:

href="http://fonts.googleapis.com/css?family=

The first method is the correct syntax for ssl sites.

There are instructions for patching Vertex here:

http://www.shape5.com/documentation/Vertex-Framework/Joomla-Specific/How-To-Patch-Vertex-In-Joomla-and-Changelog


: Re: Enabling SSL for sensitve areas goes to a blank screen
: Buddha160 April 11, 2016, 01:54:51 PM
I am running 4.0.0. Is this not the latest version?


: Re: Enabling SSL for sensitve areas goes to a blank screen
: mikek April 12, 2016, 07:29:42 AM
Hello,

I checked the source of your site and every google font call is being called without the http: pre-fix, so they are being called correctly already. The error in your screenshot is actually showing that it IS a secure call, but they're suggesting that they are producing a 404 error. I am not sure what is causing that error, I checked the link of each google font call on your site (there are three of them) and they all are all correct and load with no issues. I am wondering if a particular font is causing the problem, but I don't see why it would since they are all loading with the urls. To test this you can try picking different fonts under:

Theme Specific
Main / Styling
Main / Responsive Nav

And see if changing the font corrects the error. If it doesn't, I am not sure what else to try as I don't any errors in the source of your site in regards to how they are being called.


: Re: Enabling SSL for sensitve areas goes to a blank screen
: Buddha160 April 13, 2016, 10:07:00 AM
I tried changing the fonts and still get the same results. The client is getting rather angry and frustrated.

I am going to try to download the fonts directly to my server and link to them since nothing else has been working. Can you please tell me which files in vertex reference google fonts so that I can make the change?



: Re: Enabling SSL for sensitve areas goes to a blank screen
: mikek April 14, 2016, 08:17:47 AM
Hello,

I'm sorry I don't know what is causing this, as I stated everything is setup properly. This is pointing to more of an issue with the ssl cert itself.

Google fonts are called in the template's index.php file, and vertex/css_and_js.php