I have a problem I need help with

djchaos667

New Member
When I try and link to my site banner for some reason I get this message,

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


Can someone please help me get this fixed? This started when I updated to 3.8.1, my other forums have no such issues and it is making me crazy trying to figure it out.
 
djchaos667 said:
When I try and link to my site banner for some reason I get this message,

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


Can someone please help me get this fixed? This started when I updated to 3.8.1, my other forums have no such issues and it is making me crazy trying to figure it out.
You need to talk with your host about that.
 
I have gotten it worked out but I will post the procedure for correcting the problem in case anyone else runs into the same problem.

My host uses suPHP in their server. This is the common reason why php_flag or php_value doesn't work on MH servers. To change a value like "register_globals" or other you need to use a custom php.ini file put in the public_html folder. Suppose, if you want to change the value of register_globals using a custom php.ini file, just put the following inside a php.ini file created on your public_html folder:

register_globals = On

It should set your register_globals value to On, If you want to set the value to Off, use the following:

register_gloabls = Off

After you are done with setting up php.ini file, you need to set the suPHP configpath so that all other subdirectories in your public_html takes that php.ini as its default configuration file. To do this put the following line in your .htaccess:

suPHP_ConfigPath /home/username/public_html

You need to change two things to correct values from your account settings. Username set at the above configuration is your cpanel username. You also need to find what home directory you are on, if it is /home, you do not need to do any changes above, but if it is /home2 or /home3 etc, you need to change with correct values. This settings can be found in your file manager or Go to Cpanel and from the left menu find out the path to your "Root Directory" or "WWW Directory" or "Home Directory".

Then it's just a mater of going into the .htaccess and putting these lines in the php.ini File-(If there is no file in public_html then create a File)

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

Then upload it in your public_html with .htaccess file and you're done.

I hope this helps anyone who runs into the same problem, you can fix it yourself without having to bother your host with it.
 
Glad to help. I personally hate going to my host for issues I can fix or should be able to fix on my own. I try and save that for real problems, lol.
 
Need to check your edits to the .htaccess file. I found this on the web:
Code:
php_flag suhosin.cookie.encrypt Off
php_value suhosin.request.max_vars 2048
php_value suhosin.post.max_vars 2048
 
Back
Top