Error when trying to change anything in a style

Status
Not open for further replies.

pspuser007

Active Member
161
2008
0
0
Hello all!


I get this error every time I am trying to change any value at a style:
Code:
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

What is that??
How can it be fixed?


Thank you for your time!
 
2 comments
*Note - I am not familiar with VB.

Create a ".htaccess" file in your VB admincp folder.

add:
Code:
php_flag suhosin.cookie.encrypt Off
php_value suhosin.request.max_vars 2048
php_value suhosin.post.max_vars 2048

Alternative solutions:

-----------------------
create php.ini (or .htaccess if php.ini doesn't work) in the admincp folder with this code:
Code:
php_value suhosin.request.max_vars 2048
php_value suhosin.post.max_vars 2048
-----------------------

-----------------------
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.
-----------------------
 
Status
Not open for further replies.
Back
Top