No editor and problem with adminCP...

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kent55
    Senior Member
    • Oct 2012
    • 224

    No editor and problem with adminCP...

    Hi,

    It's been a while since I've needed to use my vB license however finally running a new server on DigitalOcean I have actually found a need for it. I have just run a fresh installation of vBulletin 4.2.2 Patch Level 3 and I seem to have a couple of problems. The first and also the highest priority is the fact that CKEditor doesn't show, at all. The smilies are there but they do not work when clicked. Below is a screenshot.



    I have checked that the sprites.png file is uploaded in the images/editor directory and I have also tried creating a new theme with no parent style. However neither made any difference.

    The next problem doesn't seem to affect the functionality entirely but is just an inconvenience. Whenever I save a setting or option in the adminCP instead of the page reloading, it just dies. See the screenshot below.



    If someone could shed any light on why these problems could be occurring, that would be great. As I have never experienced these before when using vBulletin. But as I mentioned earlier this is a new server.

    Thanks in advance,

    - Matt
  • Answer selected by Kent55 at Sat 27 Nov '21, 10:06am.
    Kent55
    Senior Member
    • Oct 2012
    • 224

    Originally posted by Paul M
    Then off the top of my head, I have no clue what your issue may be.
    I dont use MariaDB, so I cannot comment on what effect that may have, but its hard to see how it would affect the above.
    I found the cause of the problem. I am using CloudFlare's SSL. To fix it I simply modified these constants in /includes/class_core.php:

    PHP Code:
    define('VB_URL_SCHEME'$url_info['scheme']);
    define('REQ_PROTOCOL'$url_info['scheme']); 
    to

    PHP Code:
    define('VB_URL_SCHEME''https');
    define('REQ_PROTOCOL''https'); 

    Comment

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

      #2
      Could be mod_security or Suhosin.....ask your hosts if either if these, or similar, are running on the server.
      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

      • Kent55
        Senior Member
        • Oct 2012
        • 224

        #3
        ** EDIT ** Just found a patch of suhosin installed by default. I'll see if it's the problem

        Comment

        • Zachery
          Former vBulletin Support
          • Jul 2002
          • 59097

          #4
          do you have any frontend caching servers or services? Or javascript optimizers?

          Comment

          • Paul M
            Former Lead Developer
            vB.Com & vB.Org
            • Sep 2004
            • 9886

            #5
            I run all my test systems on Digital Ocean without any issues - how did you build the VPS ?

            (I took a basic Centos Image and installed Apache, MySQL etc myself).
            Baby, I was born this way

            Comment

            • Kent55
              Senior Member
              • Oct 2012
              • 224

              #6
              Originally posted by Paul M
              I run all my test systems on Digital Ocean without any issues - how did you build the VPS ?

              (I took a basic Centos Image and installed Apache, MySQL etc myself).
              I installed CentOS, Apache, PHP and MariaDB. Aside from that nothing else really besides ruby. Everything works except those two problems. I haven't installed anything that I know to cause issues with vBulletin.

              Comment

              • Paul M
                Former Lead Developer
                vB.Com & vB.Org
                • Sep 2004
                • 9886

                #7
                Then off the top of my head, I have no clue what your issue may be.
                I dont use MariaDB, so I cannot comment on what effect that may have, but its hard to see how it would affect the above.
                Baby, I was born this way

                Comment

                • Kent55
                  Senior Member
                  • Oct 2012
                  • 224

                  #8
                  Originally posted by Paul M
                  Then off the top of my head, I have no clue what your issue may be.
                  I dont use MariaDB, so I cannot comment on what effect that may have, but its hard to see how it would affect the above.
                  I found the cause of the problem. I am using CloudFlare's SSL. To fix it I simply modified these constants in /includes/class_core.php:

                  PHP Code:
                  define('VB_URL_SCHEME'$url_info['scheme']);
                  define('REQ_PROTOCOL'$url_info['scheme']); 
                  to

                  PHP Code:
                  define('VB_URL_SCHEME''https');
                  define('REQ_PROTOCOL''https'); 

                  Comment

                  • Paul M
                    Former Lead Developer
                    vB.Com & vB.Org
                    • Sep 2004
                    • 9886

                    #9
                    Ah, so you are sending https requests to clouldfare, but cloudfare is passing the requests onto your server as http ?
                    Baby, I was born this way

                    Comment


                    • Kent55
                      Kent55 commented
                      Editing a comment
                      Yes, precisely
                  widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                  Working...