Solved

Drupal theme not parsing after installling SSL for https ?

Posted on 2013-06-05
5
722 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

This article is for those that are having major problems with users upload files such as pictures to their profile. The solution is simple and has to do with correcting the directory paths. With some experimenting and testing i got it fixed. Note…
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

623 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