Suhosin Problem!

Webestrian

New Member
Common Problem

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


Solutions Please:
But other than the common solutions as under:
Code:
-----------------------
create php.ini (or .htaccess if php.ini doesn't work) in the admincp folder with this code:

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

-----------------------
-----------------------

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

-----------------------
Already tried these solutions! Both fail!
 
Create a .htaccess file in your public_html that has this staement:

Code:
suPHP_ConfigPath /home/youraccount/public_html

If you have any php_flag or php_value statements in your .htaccess file, remove them from the .htaccess and put them in a php.ini and remove the php_flag or php_value from the statement and insert an =, such as

Code:
php_value suhosin.post.max_vars 2048

would become

Code:
suhosin.post.max_vars = 2048

Place this php.ini in your /home/youraccount/public_html or where ever you have the suPHP_ConfigPath statement pointing to.
 
Back
Top