Break lines and registration page don't work after move to https

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Haytten
    Member
    • Mar 2010
    • 40
    • 4.2.x

    Break lines and registration page don't work after move to https

    Hello,

    I have enabled SSL and redirected all traffic from http to https. Almost everything is working fine, except a few pages with images linked from http URL, but that's inevitable.

    There are however two serious issues that cropped up since I enabled https.

    1) When we click on register, we can access normally the two registration pages (birth date, then user info). But when we click on 'Proceed', it says that the page isn't working. At that time the page URL reverts to http instead of https. It's the only page that does that. I don't understand why as I implemented the https redirection in the htaccess file. Is there something to edit inside a PHP file?

    2) The break line between paragraphs isn't working for any new post on the forum. Old posts are properly encoded though.

    I am using vB 4.2.5. I tested on several browsers (Chrome, Opera, Firefox) and the issue is the same with all of them. I cleared the cache and restarted the browsers. Nothing changes. How can I fix this?



  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74161

    #2
    You're getting a 404 error on at least Javascript used on the register page. This can break all javascript from working.

    Code:
    Request URL:https://www.eupedia.com/forum/ajax.googleapis.com/ajax/libs/yui/2.9.0/build/yuiloader-dom-event/yuiloader-dom-event.js
    Request Method:GET
    Status Code:404 
    Remote Address:104.24.122.126:443
    Referrer Policy:no-referrer-when-downgrade
    Response Headers
    cf-cache-status:HIT
    cf-ray:3acbe20beb8222ca-LAX
    content-encoding:gzip
    content-type:text/html
    date:Thu, 12 Oct 2017 17:47:12 GMT
    server:cloudflare-nginx
    status:404
    vary:Accept-Encoding
    Request Headers
    :authority:www.eupedia.com
    :method:GET
    :path:/forum/ajax.googleapis.com/ajax/libs/yui/2.9.0/build/yuiloader-dom-event/yuiloader-dom-event.js
    :scheme:https
    accept:*/*
    accept-encoding:gzip, deflate, br
    accept-language:en-US,en;q=0.8,es;q=0.6,ru;q=0.4,fr;q=0.2
    cookie:__cfduid=d5450d73ecb7627345116b1ab0501880e1507830398; bb_sessionhash=6c9a6b69de9eb3d0d4c426e53b6144b4; bb_lastvisit=1507830378; bb_np_notices_displayed=1000; bb_lastactivity=0
    dnt:1
    referer:https://www.eupedia.com/forum/register.php?do=checkdate
    user-agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
    Same issue can be causing the editor problems.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • Mark.B
      vBulletin Support
      • Feb 2004
      • 24288
      • 6.0.X

      #3
      I see this in the page sourse:

      var AJAXBASEURL = "http://www.eupedia.com/forum/";

      Try this.

      In the template headinclude,

      Find this:
      Code:
      var AJAXBASEURL = "{vb:raw ajaxbaseurl}";
      Change to:
      Code:
      var AJAXBASEURL = "{vb:raw basepath}";
      Make sure you make the edit in the template for your custom style, and all styles actually used on the site.

      MARK.B
      vBulletin Support
      ------------
      My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
      My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

      Comment

      • Haytten
        Member
        • Mar 2010
        • 40
        • 4.2.x

        #4
        Thank you very much for your reply. Changing the code in the headinclude fixed the problem with the text editor. Unfortunately the 404 error persists on the registration page. I tried after clearing the browser cache.

        Comment

        • Mark.B
          vBulletin Support
          • Feb 2004
          • 24288
          • 6.0.X

          #5
          You're getting a white page on submitting registration.

          Do you have any third party plugins that make changes to the registration process?
          MARK.B
          vBulletin Support
          ------------
          My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
          My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

          Comment

          • Haytten
            Member
            • Mar 2010
            • 40
            • 4.2.x

            #6
            I disabled the plugins one by one and it turned out that it was GlowHost - Spam-o-Matic that was causing the white page. It's quite a useful plugin. Any idea how I could solve this?

            Comment

            • Haytten
              Member
              • Mar 2010
              • 40
              • 4.2.x

              #7
              I tried to re-enable KeyCAPTCHA (freshly installed latest version for vB 4.2.5) but it causes a white page after the first page (birthday) of the registration process. So I can't use that plugin either.

              Comment

              • Mark.B
                vBulletin Support
                • Feb 2004
                • 24288
                • 6.0.X

                #8
                We can't really help with plugins. You would need to speak to the authors, or check vbulletin.org for any updated versions or manual fixes.

                At a guess I'd say you're using php 7 and these plugins aren't compatible.

                A short term workaround would be to run php 5.6.
                MARK.B
                vBulletin Support
                ------------
                My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                Comment

                • Haytten
                  Member
                  • Mar 2010
                  • 40
                  • 4.2.x

                  #9
                  OK, thank you for your reply.

                  Comment

                  Related Topics

                  Collapse

                  Working...