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 since switching to https

Discussion in 'Troubleshooting and Problems' started by Hizen, Jun 22, 2016.

  1. Hizen

    Hizen New Member

    Hello XenForo,

    My website has recently switched over to https. Upon doing so, the forum received a mixed content warning and was unable to display any CSS.

    It was fixed by adding this to the end of config.php
    Code:
    $_SERVER['HTTPS'] = 'on';
    Since doing this, a few problems have occurred.
    1. Timestamps not resolving. In the lastest post part, the last post is represented as a date (e.g. 22-June 16 opposed to Today at 00:00). It takes aproximitely one minute to change from a date to a time.
    2. Images from websites that are not https, such as imgur and photobucket, give mixed content warnings, removing the green padlock symbol.​

    This is the error which shows in chrome's F12 console.
    Code:
    xenforo.js?_v=9178519a:171 XenForo.activate(#document)
    xenforo.js?_v=9178519a:2 Uncaught TypeError: Cannot read property 'split' of undefined(anonymous function) @ xenforo.js?_v=9178519a:2each @ jquery-1.11.0.min.js:2localize @ xenforo.js?_v=9178519a:2XenForo.DatePicker @ xenforo.js?_v=9178519a:312create @ xenforo.js?_v=9178519a:171(anonymous function) @ xenforo.js?_v=9178519a:352each @ jquery-1.11.0.min.js:2each @ jquery-1.11.0.min.js:2(anonymous function) @ xenforo.js?_v=9178519a:170dispatch @ jquery-1.11.0.min.js:3r.handle @ jquery-1.11.0.min.js:3trigger @ jquery-1.11.0.min.js:3e.event.trigger @ xenforo.js?_v=9178519a:1(anonymous function) @ jquery-1.11.0.min.js:3each @ jquery-1.11.0.min.js:2each @ jquery-1.11.0.min.js:2trigger @ jquery-1.11.0.min.js:3activate @ xenforo.js?_v=9178519a:171init @ xenforo.js?_v=9178519a:155(anonymous function) @ xenforo.js?_v=9178519a:355j @ jquery-1.11.0.min.js:2add @ jquery-1.11.0.min.js:2n.fn.ready @ jquery-1.11.0.min.js:2n.fn.init @ jquery-1.11.0.min.js:2e.fn.init @ xenforo.js?_v=9178519a:1n @ jquery-1.11.0.min.js:2(anonymous function) @ xenforo.js?_v=9178519a:355(anonymous function) @ xenforo.js?_v=9178519a:356
    
    Thank you in advance for any help.
     
  2. rainmotorsports

    rainmotorsports Well-Known Member

    The issue with images is not Xenforo specific. You are serving content that is from an unsecured source. Welcome to the internet. Xenforo introduced the image proxy to help with that however.

    The rest kind of sounds like cache issues but I'm probably wrong.
     
  3. Hizen

    Hizen New Member

    My forum can't even display node descriptions when I hover over them.
     
  4. Jeremy P

    Jeremy P Well-Known Member

    Turn off Rocket Loader in your CloudFlare settings.

    Configure the image proxy in your XenForo options.
     
  5. Hizen

    Hizen New Member

    Apologies for bumping an old thread. Just wanted to say thanks to @Jeremy P for providing a solution to my problem. Thank you!
     

Share This Page