Jump to content

https issues


d9nut

Recommended Posts

I've upgraded my test site to 4.0.0 RC4 and having issues with SSL breaking pages.

I have https set for logins and nexus checkouts but when urls switch to https I only get text no css or images or anything.

Also, if I access the site as https://site I get the same behaviour - unformatted text.

Help!

Link to comment
Share on other sites

How do you have your storage directory setup? Sometimes things throw a fit when connecting to non-https resources over https (e.g. CSS/images are being fed through http instead of https). It would be nice if for local items IPS used relative paths or used non-header specific URLs. 

Unfortunately, I do not have an answer to fix this but hopefully I pointed you or someone else in the right direction.

Link to comment
Share on other sites

In your Admin CP go to System -> Files -> Storage Settings, and then click the "Configurations" tab. Edit your storage config there (if you have more than one set-up, edit the one used for theme resources) and then change the URL to use just "//" rather than "http://". For example, "//www.yoursite.com/uploads" and then save it and it re-test.

Link to comment
Share on other sites

  • 2 months later...

And now broken again - I've just done a test upgrade on my test site from 3.4.7 to 4.0.5.1 and again have the broken images/css/js etc when referencing the site via https and the previous fix seems no longer available as it's now auto calculated?

 

Edit: the original method works if I specify it as custom url - surely I shouldn't need to if it's auto calculated?

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...