• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 SSL HTTPS Issues - Broken CSS

Wesker

Well-known member
#1
We're really stuck here on how to resolve this. We recently migrated to a new server. We have SSL installed correctly. Switching themes doesn't resolve the issue. However, this is what our site looks like in https://



Any suggestions?
 

nodle

Well-known member
#2
Did you enable image proxy? Goto ACP> Options> Messages> then turn on proxy images.

EDIT* just notice 1.3 Don't know if this feature is in there or not.
 
Last edited:

Brogan

XenForo moderator
Staff member
#3
I can see blocked requests in the console due to mixed content errors.

What do you have set for the board URL?
Have you updated it to https?
 

Mike

XenForo developer
Staff member
#4
Are you using a proxy like CloudFlare? If so, is it connecting to your server via HTTPS?

If you're not using a proxy, what web server are you using?
 

Wesker

Well-known member
#5
Are you using a proxy like CloudFlare? If so, is it connecting to your server via HTTPS?

If you're not using a proxy, what web server are you using?
Yes. However, due to caching issues we paused our performance with them

Status: Paused
Web traffic to this website is no longer receiving performance and security benefits. CloudFlare continues to resolve the DNS. You can reactivate CloudFlare for this website at anytime.

The issue still remains
 

Wesker

Well-known member
#7
Did you enable image proxy? Goto ACP> Options> Messages> then turn on proxy images.

EDIT* just notice 1.3 Don't know if this feature is in there or not.
/admin.php?options/list/messageOptions

Image and Link Proxy

  • Proxy Images
  • Proxy Links
  • Proxy Thumbnails

All of these are UNCHECKED.
 

Wesker

Well-known member
#11
Try adding this
PHP:
$_SERVER["HTTPS"] = "on";
to config.php after
PHP:
<?php
This fixed it! I can't thank you enough batpool52!. Really really rough week but you made my

Indeed, we faced similar issues.. You must adjust the board to https too, not just http.;

https://your-site/admin.php?options/list/basicBoard
Board URL - httpS://your-domain.com/
Never got the chance to test this but this may as well. Thank you @Glockie

Also thank you as well @Mike @Brogan @nodle
 

Wesker

Well-known member
#12
Guys now i have a more serious issue because the entire site is down

This is the error I get now.

400 Bad Request
The plain HTTP request was sent to HTTPS portnginx/1.8.0
 

Wesker

Well-known member
#16
Even this is fixed? or still occurring?
- Added code to config.php
- Started to notice site errors, specifically the ability to post stopped working
- Removed your code from config.php
- Post issue was resolved
- 30 seconds later error occurred
- Rebooted server
- Error gone
- HTTPS issue still remains
 

Wesker

Well-known member
#17

Wesker

Well-known member
#19
Indeed, we faced similar issues.. You must adjust the board to https too, not just http.;

https://your-site/admin.php?options/list/basicBoard
Board URL - httpS://your-domain.com/
Shortly after making this adjustment, the site went down because of this issue

400 Bad Request
The plain HTTP request was sent to HTTPS portnginx/1.8.0

Site is backup because I reverted the change back to http://. Same issue above when I made the change in config.php

Looks like it did fix the issue in https:// but it broke the http:// with that 400 bad request error.

Core issue here is making any of these requested changes above from http:// to https:// seems to result in a 400 bad request above.