PDA

View Full Version : Cannot edit skins.



Supersam
01-08-2008, 09:57 PM
Hi.

Im trying to make a new skin for a vB forum and it seems everytime I click "Save" or "Save CSS" 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



And the person who owns it has no idea where those are or what Suhosin is and nor do I....

Can anyone help?

Thanks!

today
01-08-2008, 10:18 PM
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

http://www.vbulletin.com/
[email protected]

I had the same problem several months ago, and i contacted vBulletin that was the reply.

Supersam
01-08-2008, 10:25 PM
How do I make a .htaccess file and where do I create it in?

I have access to the cpanel.

Calon
01-08-2008, 10:31 PM
How do I make a .htaccess file and where do I create it in?

I have access to the cpanel.
Use your cPanel file manager (If you are asked to show "dot" files, select it)

- Look for a file named ".htaccess"
If not existant;
- Create a file named ".htaccess"

(Without quotation marks)

Then insert
"
php_value suhosin.request.max_vars 2048
php_value suhosin.post.max_vars 2048
"

within the file, then save it.

Supersam
01-08-2008, 10:41 PM
When I search for the file it comes up in the results. But when I double click to open it it just goes to /public_html again.

And I cant make one because it says its already there.

today
01-08-2008, 11:03 PM
in Cpanel when you click "file manager" click "show hidden files"

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