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

XF 1.5 Problems with SSL

Discussion in 'Troubleshooting and Problems' started by balkanminion, Dec 25, 2015.

Tags:
  1. balkanminion

    balkanminion Member

    Hello,

    i imported today from wbb 4.1 to xenforo my Forum. I had some troubles, but most things i fixed and i am glad to use xenforo.

    Now i got a problem with SSL, when i am opening my page over https:// its something damaged.

    https://balkanonline.net/

    over http://balkanonline.net/ is everything ok.
    Good Night !
     
  2. Placid

    Placid Member

    Are you hot linking any images from other websites? If so you should host them on your own server / hosting and also change all existing urls that are 'HTTP' to 'HTTPS'
     
  3. balkanminion

    balkanminion Member

    No i am not linking images from other website. Everything i am hosting on my server. I am using SSL from Cloudflare, with WBB 4.1 i had no problems.
     
  4. Placid

    Placid Member

    did you goto admin cp -> options -> basic board information and change the board url to the https one?
     
  5. Mike

    Mike XenForo Developer Staff Member

    So CloudFlare isn't actually requesting your site via SSL? That's the problem. You need to force XF to think it's accessed via SSL by putting this in config.php:
    Code:
    $_SERVER['HTTPS'] = 'on';
     
  6. balkanminion

    balkanminion Member

    Damn i dont have any olan in SSL, but when i force over Admin Control Panel the site is stil broken without any Style. I just use http: in ACP so my User can Login to the website. Can some1 take a look over it?

    Thank you
     
  7. Mike

    Mike XenForo Developer Staff Member

    I'm confused because you said you're using SSL via CloudFlare, but now you're saying you're not using SSL at all.

    I also loaded your site and it seemed fine at a glance so you'll need to explain specific steps to reproduce the issue.
     
  8. balkanminion

    balkanminion Member

    No, i am using SSL via ClooudFlare, but with xenforo it doesnt work. I got problems with it, my page looks from 1995.

    With WBB i had there no problems. I have disabled SSL in Cloudflare now becouse this problem. It works now without SSL.

    So here the steps.

    1. I had WBB and i installed ago 2 Months Cloudflare without any problems.
    2. Yesterdey i imported everything to MyBB
    3. Then Import from MyBB to Xenforo
    4. After it, i moved Xenforo to the main Folder on my Server, and WBB to a subfolder.
    5. When i visit my page over HTTP:// everything is okey, but over HTTPS:// there is no Design, no images, nothing.
     
  9. Placid

    Placid Member

    On cloudflare do you have SSL Set to full? and the always use ssl rule turned on? also as mike said put this in /library/config.php
    Code:
    $_SERVER['HTTPS'] = 'on';
     
  10. balkanminion

    balkanminion Member

    I think you dont understand me, on Burning Board 4.1 it worked, so it must be "on ". I dont have the root PW for my server, but i contacted my Hoster.

    With SSL my Xenforo looks now:

    123.jpg

    Happy new Year !
     
  11. Mike

    Mike XenForo Developer Staff Member

    You're forcing your site to HTTP right now, so we can't verify, but if you're going to force HTTPS, you need to add the line discussed to your library/config.php file.
     
  12. Placid

    Placid Member

    I believe the reason it looks like that is because you haven't turned SSL on, your only visiting the https link but you will need to do as Mike said
     
  13. doublespaces

    doublespaces Member

    I have and want traffic arriving by http as well as https. Is there a way to force ssl only when https is being requested?
     

Share This Page