Solved

Drupal theme not parsing after installling SSL for https ?

Posted on 2013-06-05
5
707 Views
Last Modified: 2013-10-02
After installing an SSL certificate, when I visit my site, https://www.mysite.com, the page loads without the theme, as if none of the CSS is working.

In Internet Explorer, a popup at the bottom of the screen shows up, "Only secure content is displayed" with a Show all content button. After I click the button, the page loads fine with theme and all.

What's happening? I know that the pages should work upon first loading. My visitors shouldn't have to go through Show all content option.
0
Comment
Question by:sandshakimi
  • 3
5 Comments
 
LVL 13

Expert Comment

by:Arrow_1
Comment Utility
Double check the paths to your css files. It seems they might be hard-coded using the http path rather than the relative path which would function as https in this case.
0
 

Author Comment

by:sandshakimi
Comment Utility
Drupal wouldn't hard code the CSS files would it?

And the CSS does work after I click Show all content.

Another area I should be checking, perhaps?
0
 
LVL 12

Expert Comment

by:junipllc
Comment Utility
This is a problem that occurs when you have both https:// and http:// content on a page. Look at your source to find out which content is being served as http:// ... it could be a hard-coded part of the theme, or it could be the result of a module doing something it shouldn't.

Is this site going to be exclusively https? If so, there are other measures you can take to force Drupal to serve only with https:// content. If you are going to have mixed-mode (per-page, per-section) http/https then you just have to find out where it's spitting out the wrong protocol and fix that.

Is this a custom theme or a contrib theme? Do you hard code any images or other content in the theme itself?

I think I speak for many when I say IE is not my friend. :)

Cheers,

Mike
0
 

Accepted Solution

by:
sandshakimi earned 0 total points
Comment Utility
It was actually an apache configuration.
0
 

Author Closing Comment

by:sandshakimi
Comment Utility
It was actually an Apache config. issue.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now