Contact your hosting company — they are knows where to add it.
Btw, it’s also known issue and planned to optimization in the next releases.
Thread Starter
zarga
(@zarga)
I saw that i can still use the plugin. Is there any future problem if i dont modify that php.ini?
If you will have too many scores, which are questions * answers * scales, then last values of your form (formulas, results, last scores) will just gone.
I saw this already locally on default PHP settings on example test (EPI).
It’s better to increase these settings anyway — even if this concrete plugin’s issue will be fixed.
Thread Starter
zarga
(@zarga)
If i have 15 questions, with 2 answers each, there will be a problem?
You forgot about scales: how many scales do you have? Only one like “Correctness” or more?
15 * 2 * 1 = 30 scores should be ok, as I remember.
Problem was with those example test, where we have 57 * 2 * 3 = 342 scores.
Just see — if nothing gone at the end of the form, then all is ok.
Another workaround is to move “Add New Questions” box at the bottom, then “Results And Formulas” box at the top. Then most critical will be always saved.
Thread Starter
zarga
(@zarga)
15 questions, 2 answers for each, 2 scales and 2 results.
15 * 2 * 2 = 60 scores should be ok.
But anyway, just find the way to update those settings.
Thread Starter
zarga
(@zarga)
i am talking now with an operator from the hosting company. He just need to add this?
Settings of your server are too low — form values could be cropped!
Add this into your php.ini:
max_input_vars=5000
suhosin.get.max_vars=5000
suhosin.post.max_vars=5000
suhosin.request.max_vars=5000
.. or .htaccess
php_value max_input_vars 5000
php_value suhosin.get.max_vars 5000
php_value suhosin.post.max_vars 5000
php_value suhosin.request.max_vars 5000
.. and reload (restart) server.
Thread Starter
zarga
(@zarga)
where in the php.ini i need to add that values?
No. Read it as:
Add this into your php.ini:
max_input_vars=5000
suhosin.get.max_vars=5000
suhosin.post.max_vars=5000
suhosin.request.max_vars=5000
.. or .htaccess
php_value max_input_vars 5000
php_value suhosin.get.max_vars 5000
php_value suhosin.post.max_vars 5000
php_value suhosin.request.max_vars 5000
.. and reload (restart) server.
> where in the php.ini i need to add that values?
I dont’ know — your hosting op knows 🙂
Thread Starter
zarga
(@zarga)
the operator send me in my cpanel and put me to modify the file.
So, find in cPanel, where are those settings.
Btw, all those cPanels/Plesks and others made for typical users, not for programmers. But.. Who knows? Anyway google it and post here the results/links.