In some cases, you web host limits the number of variables WordPress can use. But don’t worry, you can break this (stupid) limit.
1st method : update the .htaccess
- Open you FTP client and connect to your web host. Browse to the root directory of your wordpress blog (the one with « wp-config.php »).
- Edit the file called .htaccess with a text editor. If you don’t see this file, you have to display the hidden files (look at the options panel of your FTP software, it’s a regular feature).
- Add this 3 lines at the end of the .htaccess file and save it :
php_value max_input_vars 5000
php_value suhosin.post.max_vars 5000
php_value suhosin.request.max_vars 5000
Check immediately if your site is always working. It can show a « error 500 ». If it does,remove the 3 lines from the .htaccess and try the next method.
2nd method : the php.ini
If you can’t update this setting via your .htaccess, you can try with the php.ini file. It’s a file used to update the PHP configuration.
- Open you FTP client and connect to your web host. Browse to the root directory of your wordpress blog (same than method 1).
- Create a new file called « php.ini » on this directory.
- Put those 3 lines into the php.ini file and save it (not the same lines than method 1):
max_input_vars = 2000
suhosin.post.max_vars = 2000
suhosin.request.max_vars = 2000
Try to save your quiz again. If it doesn’t work, rename the « php.ini » file to « php5.ini ». If it always doesn’t work, please contact us and we will find another solution.