Shape 5

Joomla Templates => Velocity - Club => : stormanf January 21, 2016, 03:41:07 PM



: Velocity site does not apply style sheets when in SSL: Entire Site mode
: stormanf January 21, 2016, 03:41:07 PM
I've just installed an SSL certificate on a website. The Administrator backend displays correctly when I Force SSL, but the rest of the site is broken by the "Force SSL: Entire Site" setting. Images show up all right, but for some reason the stylesheets don't seem to be applied. I can't seem to find the cause of this. You can view the problem at https://kingstonfestival2016.ca and then compare that result with the proper result at http://kingstonfestival2016.ca.

I've just updated from Joomla 3.4.5 to Joomla 3.4.8 (on an Apache server), with PHP version 5.3.29. I am getting a new message when I log in to the backend:

"Error
Your host needs to disable magic_quotes_gpc to run this version of Joomla!"

Could this be causing the problem? I'm trying to figure out what to do to disable magic quotes.

Any help is appreciated!


: Re: Velocity site does not apply style sheets when in SSL: Entire Site mode
: mikek January 22, 2016, 08:22:51 AM
Hello,

That is an issue with your SSL cert, it is probably viewing it as outside content so it gets stripped from the source. You should check with your host to see if it was configured properly.

Something else you can try to is supply the full url of your site in the live_site url in configuration.php file to force a specific url on your site.

Also, under the general tab in the configuration you can try supplying a full your to your site under the setting "Your Site URL if SEO enabled", that will force a url for the css files to use as well.


: Re: Velocity site does not apply style sheets when in SSL: Entire Site mode
: stormanf January 23, 2016, 09:30:32 PM
Hi Mike,
What actually fixed the problem was your suggestion (below) that I go to Extensions > Templates > Velocity > Velocity-Default > General, where  I put in the full https://... address, and that caused all the stylesheets to load properly. All that was left was for me to add the "https://" to each of the YouTube links in the site, so that they would also display.
"...Also, under the general tab in the configuration you can try supplying a full URL to your site under the setting "Your Site URL if SEO enabled", that will force a url for the css files to use as well."

Thanks so much for your help!
Charlie


: Re: Velocity site does not apply style sheets when in SSL: Entire Site mode
: bonbinibon February 27, 2016, 03:52:21 AM
I can agree this was also my solution with Oasis theme. I initially added the website URL before I switched to SSL. After I configured my website for SSL, I had to remove the URL completely. I followed the steps on https://www.joomlart.com/tutorials/joomla-tutorials/how-to-use-ssl-in-a-joomla-site (https://www.joomlart.com/tutorials/joomla-tutorials/how-to-use-ssl-in-a-joomla-site) to make sure visitors are forced to use the SSL connection (with the help of .htaccess).