This kind of error means that the request is too large for your particular server. To get around the problem, try the following:

  1. Increase limits in your web server configuration:

For Apache2 set add “LimitRequestBody 39452672;” in vhost configuration or .htaccess file

For Nginx set “client_max_body_size 32M” in nginx.conf

  1. Increase values for the following parameters: ‘memory_limit’ and ‘post_max_size’ in PHP configuration.
  2. If the module suhosin for PHP is installed on the server, increase the parameter ‘suhosin.post.max_value_length’.