Forum Support

Shape 5
March 28, 2024, 01:54:37 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Velocity site does not apply style sheets when in SSL: Entire Site mode  (Read 1005 times)
stormanf
Jr. Member
**
Offline Offline

Posts: 34



« on: 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!
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: 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.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
stormanf
Jr. Member
**
Offline Offline

Posts: 34



« Reply #2 on: 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.
Quote
"...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
« Last Edit: February 27, 2016, 05:19:22 PM by stormanf » Logged
bonbinibon
Jr. Member
**
Offline Offline

Posts: 26



« Reply #3 on: 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 to make sure visitors are forced to use the SSL connection (with the help of .htaccess).
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.