Avactis shopping card errors with Cpanel with Suhosin security patch activated

Some fellas are experiencing errors with long form post data – when users press send button not all form fields are submitted. This is because Cpanel with suhosin patch does accept only max post vars of 200. Avactis shopping cart users may experience problems with country post data. The fix is very easy, you need to add the following string to your php.ini

On most Linux platforms your php.ini can be found /usr/local/lib directory. Full path: /usr/local/lib/php.ini

Add to the bottom of this file:

suhosin.post.max_vars = 2048

Remember to restart your Apache daemon and you should be set. You can check the new value with phpinfo(); function output. Cheers!


Leave a Reply