problem with vbulletin

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Omega404
    Member
    • Feb 2007
    • 39

    problem with vbulletin

    everytime I try to add something to one of my styles this shows up





    Required variables have gone missing and execution can not continue. Please try again.


    This error can sometimes occur as a result of Suhosin / Hardened PHP being installed on your server. If you know that you have Suhosin running and you have access to the PHP configuration, try increasing the value of the following variables:
    • php_value suhosin.post.max_vars
    • php_value suhosin.request.max_vars
    this litererly just happened to me,in fact this is the first time this has happened.Please somebody tell me how to fix this.
  • Omega404
    Member
    • Feb 2007
    • 39

    #2
    I really need help, this is scaring me.

    Comment

    • Steve Machol
      Former Customer Support Manager
      • Jul 2000
      • 154488

      #3
      The most likely cause of this problem is the suhosin module in PHP. If so this can be fixed by editing the php.ini (requires root access to the server) or by via a .htaccess file with the following contents:

      php_flag suhosin.cookie.encrypt Off
      php_value suhosin.request.max_vars 2048
      php_value suhosin.post.max_vars 2048


      You can create your own .htaccess file and upload it to your main forum directory. It's a simple text file.

      If this doesn't work or you get an 'Internal Server Error' after doing this, then unfortunately this means that your host is not allowing this change. The only thing you can do now is to ask your host to make the necessary changes to suhosin.

      Here is a post that lists some of the recommended suhosin settings for compatibility with vB:

      Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
      Change CKEditor Colors to Match Style (for 4.1.4 and above)

      Steve Machol Photography


      Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


      Comment

      • Omega404
        Member
        • Feb 2007
        • 39

        #4
        this is my first time making a httaccess file,so according to what you said, open notepad , have the following contents in notepad
        php_flag suhosin.cookie.encrypt Off
        php_value suhosin.request.max_vars 2048
        php_value suhosin.post.max_vars 2048



        save it as .httaccess, and then upload it to my forums,am I correct?

        Comment

        • Steve Machol
          Former Customer Support Manager
          • Jul 2000
          • 154488

          #5
          Correct. Make sure you upload it to your main forum directory in ASCII format.
          Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
          Change CKEditor Colors to Match Style (for 4.1.4 and above)

          Steve Machol Photography


          Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


          Comment

          • Omega404
            Member
            • Feb 2007
            • 39

            #6
            I uploaded the htaccess file to my forums directory,and then I tried updating one of my vbulletin styles again and It came up with the same message again,why didn't it work.

            Comment

            • Steve Machol
              Former Customer Support Manager
              • Jul 2000
              • 154488

              #7
              I don't know. Either you did this wrong or your host is blocking tis change. I suggest contacting your host since this is a server issue.
              Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
              Change CKEditor Colors to Match Style (for 4.1.4 and above)

              Steve Machol Photography


              Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


              Comment

              • Lynne
                Former vBulletin Support
                • Oct 2004
                • 26255

                #8
                I think you may have to reload apache after you add an .htaccess file. Try that.

                Please don't PM or VM me for support - I only help out in the threads.
                vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                Want help modifying your vbulletin forum? Head on over to vbulletin.org
                If I post CSS and you don't know where it goes, throw it into the additional.css template.

                W3Schools <- awesome site for html/css help

                Comment

                • Omega404
                  Member
                  • Feb 2007
                  • 39

                  #9
                  how do I reload apache.

                  Comment

                  • Lynne
                    Former vBulletin Support
                    • Oct 2004
                    • 26255

                    #10
                    Originally posted by Omega404
                    how do I reload apache.
                    Well, I reload it by typing "service httpd reload", but I think different servers have you do it different ways.

                    Please don't PM or VM me for support - I only help out in the threads.
                    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                    Want help modifying your vbulletin forum? Head on over to vbulletin.org
                    If I post CSS and you don't know where it goes, throw it into the additional.css template.

                    W3Schools <- awesome site for html/css help

                    Comment

                    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                    Working...
                    😀
                    😂
                    🥰
                    😘
                    🤢
                    😎
                    😞
                    😡
                    👍
                    👎