3.6.9 error when edit style

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Switch02
    New Member
    • Nov 2006
    • 28
    • 3.6.x

    3.6.9 error when edit style

    Hello, just installed the 3.6.9 version and when i try to edit a style i get this errors:
    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
    I have read here some settings to solve this problem, and i have ask at my host to do them,
    suhosin.cookie.encrypt = Off

    suhosin.memory_limit = 32M

    suhosin.session.encrypt = Off

    suhosin.log.sapi = 511

    suhosin.get.max_value_length = 1024

    suhosin.executor.eval.blacklist = "exec,system,passthru,shell_exec,fopen,file_get_co ntents,file_put_contents,tmpnam"

    suhosin.request.max_vars = 2048

    suhosin.post.max_vars = 2048
    but also with this changes i have always this error, maybe someone can help me please?
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    That error is caused by "suhosin" on your server. You can disable it by creating a ".htaccess" file in your forum directory with this code in it:

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

    If that doesn't work then you need to ask your host to change it directly on the server.

    Note that you can sometimes avoid the error caused by suhosin by not using the All Style Options page but rather using the individual sections, like StyleVars and Main CSS.

    Comment

    • djawir
      New Member
      • Aug 2005
      • 14
      • 3.8.x

      #3
      Originally posted by Jake Bunce
      That error is caused by "suhosin" on your server. You can disable it by creating a ".htaccess" file in your forum directory with this code in it:

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

      If that doesn't work then you need to ask your host to change it directly on the server.

      Note that you can sometimes avoid the error caused by suhosin by not using the All Style Options page but rather using the individual sections, like StyleVars and Main CSS.
      get error 500 internal server error when use that code in .htaccess

      Comment

      • djawir
        New Member
        • Aug 2005
        • 14
        • 3.8.x

        #4
        problem solved

        create php.ini place in admincp folder whit this code :

        php_value suhosin.request.max_vars 2048
        php_value suhosin.post.max_vars 2048

        Comment

        • JackRPB
          New Member
          • Apr 2008
          • 7

          #5
          I'm running into this same problem and I've tried both solutions mentioned here.

          Anyone have any other suggestions?

          I am a total, total n00b.

          Comment

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

            #6
            Please start your own thread with all the relevant details. Thank you.
            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

            • Satfool
              New Member
              • Sep 2008
              • 14

              #7
              Originally posted by djawir
              problem solved

              create php.ini place in admincp folder whit this code :

              php_value suhosin.request.max_vars 2048
              php_value suhosin.post.max_vars 2048

              That solved my problem. Thanks

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...