Permission issues
Common problem with file upload is insufficient permissions for file storage which is located in the files subdirectory of data directory. You need to make sure that webserver is allowed to write to the data directory recursively. Also, make sure there's enough free disk space on the drive used.
PHP configuration
Another typical reason of this issue is that upload 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.
Permission issues in cPanel
To allow for handling files, data/files directory of Aurora Corporate must be writable recursively; and due to the nature of how cPanel works (multiple system accounts accessing the same location, specifically), setting the directory writable for all is required. That's done using the following command, run as root:
chmod -R 777 /usr/local/cpanel/base/3rdparty/afterlogic/data/files
Apache configuration
If you encounter the following error message: Request Entity Too Large
It means you need to increase LimitRequestBody
configuration value in webserver configuration file, it may be either main httpd.conf
file or virtual host definition file.
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.