Solved

Drupal theme not parsing after installling SSL for https ?

Posted on 2013-06-05
5
711 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
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). #…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

920 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

15 Experts available now in Live!

Get 1:1 Help Now