Can any one help?

Axed123

New Member
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 get this error when I try and update a style. Can any one help me remove this error.
 
Do you have suhosin installed on your server? ISPs sometime do that install without telling you. Check your phpinfo.php listing to see if suhosin has been installed. I got this same thing a while back and was embarrassed to find out that I ragged on vbsupport and my ISP actually DID install it without telling me.
 
Well they installed these files called cgi-bin and 3 other files. It's never happened before till I changed my host to warez-host.info. I found one file called postinfo.html. Were can I find phpinfo.php?
 
Go to your admincp/maintenance. It is the last box or if you haven't set permissions to run it, create a file on your server called myphpinfo.php and add:

PHP:
<?php

phpinfo();

?>


Save and Run it, for example, by entering YourSiteURL/myphpinfo.php.

Because it dumps out info about your site, you should change permissions on it or delete it when you are finished using it.

In the dump screen you get use your browser to search for Suhosin.

If you have it installed you need to add some stuff to your .htaccess file or get your host to remove it.
 
If you do have it running on your server, here is what vB recommends to put in your .htaccess file:

suhosin.cookie.encrypt = Off
suhosin.memory_limit = 32M
suhosin.session.encrypt = Off
suhosin.log.sapi = 511
suhosin.get.max_value_length = 1024
suhosin.request.max_vars = 2048
suhosin.post.max_vars = 2048
suhosin.executor.eval.blacklist = "exec,system,passthru,shell_exec,fopen,file_get_co ntents,file_put_contents,tmpnam"
 
Axed123 said:
Can't I just remove it bye deleting there .htaccess file?

Suhosin is installed on your server. Only your ISP can remove it. You just have to try to work around it by adding the suhosin codes to your .htaccess if you can get your host to turn it off for you.
 
When I added this
Code:
suhosin.cookie.encrypt = Off
suhosin.memory_limit = 32M
suhosin.session.encrypt = Off
suhosin.log.sapi = 511
suhosin.get.max_value_length = 1024
suhosin.request.max_vars = 2048
suhosin.post.max_vars = 2048
suhosin.executor.eval.blacklist = "exec,system,passthru,shell_exec,fopen,file_get_co ntents,file_put_contents,tmpnam"
to my .htaccess file I got errors? were do I add it?
 
add it to the top of the file, you want that to be the first thing evaluated because everything else depends on getting that access.


What errors?
 
bluescorpion said:
add it to the top of the file, you want that to be the first thing evaluated because everything else depends on getting that access.


What errors?

I didn't get errors I mean I got the same error.
 
Maybe you need to simplify the .htaccess include, try this one at the top of your file:

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

You may have to get your hosting company to help you solve this. Usually these flags are set in php.ini and some hosts want you to set them in a local php.ini file but you will have to get them to tell you how to make that work. Server configurations can be pretty spooky sometimes.
 
Back
Top