Blogs / Steven E. Bailey / Protip suhosin

Protip suhosin

Sunday 10 July 2011 10:54:30 am

  • Currently 3 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

By : Steven E. Bailey

If you are using suhosin you WILL end up having a problem when trying to edit a class with more than 20 attributes if you don't first increase the suhosin.post.max_vars and suhosin.request.max_vars to more than the default 200.

The error message will look something like this in the apache log:

ALERT - configured POST variable limit exceeded - dropped variable 'ContentAttribute_description[]' (attacker '127.0.0.1', file '/var/www/<site>/index.php'), referer: http://<site>/admin/class/edit

Blog Post Discussion

Protip suhosin