PDA

View Full Version : Style manager php problem?



rnix
05-10-2008, 08:09 PM
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

All our admins keep getting that when we try to edit any style in style manager.
Any help? :(

NN-Dom
05-10-2008, 11:18 PM
Ask your host to:

A) Reconsider using php suhosin
B) Change the vaules of the settings it says.

Source
06-10-2008, 12:37 PM
First of all this is generally an easy thing to get fixed, sometimes you can do it in cpanel if you have the correct permissions, or using a PHP.ini on your local hosting zone - if you know that your hosts allow any of these then tell me and I will do a quick write-up to tell you how to fix it.

Onto what Dom said. Do not recommend them changing/taking off the Suhosin harderned PHP patch as this in someways protects you greatly from other websites on your hoster, Suhosin patches the holes in PHP that people were using to hack into other websites from their own FTP/php scripts. That leads onto the variables, they are they to protect you and other sites, to stop people doing spamming over and over...

Its a simple change for your host, or if you own the server then it will be in your PHP.ini.

rnix
08-10-2008, 10:58 AM
We sent your reply [source] to our hoster and they changed it but it still says the same problem :(

today
08-10-2008, 08:42 PM
I had the problem couple of months ago.

I contacted vBulletin directly, the reply was :


This is a problem with your server. Most likely the Suhosin module they have added to PHP. Editing vB templates requires sending through more than 275 input fields, which goes over what Suhosin is configured to allow: 100.

If your host is not willing to do anything to fix this, then you MAY be able to override their limits by creating an .htaccess file with the following lines and placing it in your main forum directory:

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

Note: This will only work if your host has not blocked you from doing this.

If you are blocked from doing this by your host, then you will need to contact them for a resolution.

All the best,
Wayne Luke
vBulletin Sales and Support

Cixso
08-10-2008, 08:59 PM
We sent your reply [source] to our hoster and they changed it but it still says the same problem :(

Tell them it hasn't worked and to do it again, or hire somebody to do it for them if they can't.

Want to hide these adverts? Register an account for free!