File upload size limit

The maximum file upload site is defined by upload_max_filesize and post_max_size in php.ini. This value can be limited from the maximum value in the application by defining MAX_UPLOAD_FILE_SIZE_BYTES in constants.xml. MAX_UPLOAD_FILE_SIZE_BYTES should be defined as a whole number representing the maximum number of bytes to allow. After setting a value for MAX_UPLOAD_FILE_SIZE_BYTES you will then need to clear the config cache.

MAX_UPLOAD_FILE_SIZE_BYTES defines the maximum file size that can be uploaded to:

  • the image manager
  • the download manager

If MAX_UPLOAD_FILE_SIZE_BYTES is not defined, the value of upload_max_filesize in bytes is used.

Deleting config cache

This can be done by logging into the Control Center and navigating to http://www.example.com/jadu/maintenance/cacheBash.php and checking Config Cache then Delete Selected.

Alternatively delete the cache from the cache directory on the server directly.

ModSecurity

Where ModSecurity is in use, you may also need to increase the maximum content-length allowed. To do this edit /etc/httpd/conf.d/mod_security.conf and increase the value of SecRequestBodyLimit to a larger number. Save your changes and restart Apache.

results matching ""

    No results matching ""