Announcement

Collapse
No announcement yet.

No editor and problem with adminCP...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

    ScreenShottr - Open Source Screen Capture Tool (Just pin to your taskbar)

  • #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

    TalkNewsUK - My vBulletin 5.5.6 Demo
    AdminAmmo - My Cloud Demo

    Comment


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

      ScreenShottr - Open Source Screen Capture Tool (Just pin to your taskbar)

      Comment


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

        Comment


        • #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


          • #6
            Originally posted by Paul M View Post
            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.

            ScreenShottr - Open Source Screen Capture Tool (Just pin to your taskbar)

            Comment


            • #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


              • #8
                Originally posted by Paul M View Post
                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'); 

                ScreenShottr - Open Source Screen Capture Tool (Just pin to your taskbar)

                Comment


                • #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...
                X