Hello
I have a problem with the permissions. Here is the problem:
I (super admin) check one or more permission boxes and hit "save
permissions" and I get the following statement:
"Validation error, please try again. If this error persists, please
contact the site administrator."
And the permission doesn't get saved.
At first it all worked fined, but as the size of the website grew
and I had to check more permissions then suddenly this problem
started.
I can bypass this problem by installing xampp server on my home
computer and checking the permissions there and then it works
fine. From there I can install that database onto the web and then
it works fine.
As an experiment I created a new dummy website (clean drupal
install) and created few users and starting ticking permission
boxes and when I got to approx 390 permissions this problem
started again.
So my question is. Is there limits on how many permissions drupal
can handle (which I don't believe) or is this some server problem
(since I don't have this problem when running the drupal website on
my computer). If so, what configurations am I supposed to change?
Thank you very much
Franz
Here you can try this problem out
www.franzdesign.net
user: test
password: test
Comments
I logged in and tried to save
I logged in and tried to save the permissions, but got no problem.
I get "The changes have been saved."
Did you try to select all ?
Have you tried to select all for every user and save ?
I see the error and it does
I see the error and it does appear to be linked with the number of boxes ticked.
Rebuilding permissions in content -> post settings makes no difference.
Bug report!
I don't think this is a bug in Drupal
I don't think this is a bug in Drupal.
When I try this at my home computer with xampp installed, I have no problem at all.
I see the error, but not sure if this is a bug
I saw the error appear on the site as well, but they've said they can't reproduce it on their local machine. That really sounds like a server configuration issue.
Do you know if your server is running Suhosin? If so you might be hitting their max_vars setting.
http://www.hardened-php.net/suhosin/configuration.html#suhosin.request.m...
Yes it is running Suhosin
http://franzdesign.net/phpinfo.php
Probably one of it's settings then
You can try what the first commenter here did:
http://drupal.org/node/122383
Checking a submission in firebug showed the POST was over 400 lines long, something I don't think Suhosin supports with default settings.
Thanks for all the help
I have fixed the problem.
I edited the php.ini file and restarted Apache.
suhosin.post.max_vars = 5000
suhosin.post.max_value_length = 500000
suhosin.request.max_vars = 5000
suhosin.request.max_value_length = 500000