Aurora Corporate documentation

Error while attaching files to new message

Permission issues

Common problem with attachments is insufficient permissions for attachments temporary storage which is located in the temp subdirectory of data directory. You need to make sure that webserver is allowed to write to the data directory recursively, see Troubleshooting issues with data directory documentation page for details. Also, make sure there's enough free disk space on the drive used.

PHP configuration

Another typical reason of this issue is that attachments size is limited in PHP configuration. To increase the limit, open your php.ini file and locate the following lines:

upload_max_filesize = 2M
post_max_size = 8M

You should set these limits according to your needs, but post_max_size should be equal to at least upload_max_filesize * 2.

Nginx configuration

If you encounter the following error message: Nginx 413 Request Entity Too Large

It means you need to increase client_max_body_size configuration value in nginx.conf file.

IIS configuration

If you use IIS 6, size of a file that can be uploaded onto the server is limited to 200K by default. You can increase this limit according to your needs. To do this, type notepad %WINDIR%\system32\inetsrv\MetaBase.xml in command line, search for the "AspMaxRequestEntityAllowed" property, and specify necessary size in bytes, then save this file. Please note that "Enable Direct Metabase Edit" must be turned on, otherwise you will be not able to edit this file. To check this option, look at your web host properties in Internet Information Services (IIS) Manager.