Solved

Drupal theme not parsing after installling SSL for https ?

Posted on 2013-06-05
5
717 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
ID: 39221614
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
ID: 39221637
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
ID: 39221814
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
ID: 39265976
It was actually an apache configuration.
0
 

Author Closing Comment

by:sandshakimi
ID: 39539239
It was actually an Apache config. issue.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Ways to assess https/ssl websites 3 110
PHP_POST() error message 9 77
Certificate Verification Error for Yahoo Mail 3 150
Secure log in 'box' 4 8
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

680 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