FILE UPLOAD ISSUES WITH THE NEW HTML UPLOADER AND FILE SIZE ISSUES IN V3.50 AND OTHER VERSIONS - Dec 16th, 2019
|
File Upload issues with the html uploader in V3.50 and possibly other versions
Issue 1) (from version 3.15 - Not tested in 3.50) .mov files could not be uploaded without throwing a 'forbidden file type' error.
Daniel Loewe, a programmer from Interactive Tools said that was a related to an ongoing issue that we are aware of and currently looking at solutions for. He suggested adding the file type quicktime (the whole word) as an allowed filetype. That solved the error and I could upload a small test .mov file.
Issue 2) (from version 3.50) Attempts to upload large files (300mb) of any kind would throw an error similar to ‘414 Request-URI Too Large" error from nginx/1.14.1.1'. or 'The requested URL's length exceeds the capacity limit for this server'. Initially, I thought this to be related to the upload_max_filesize and post_max_size settings in my php.ini file(s). (I actually found 2 php.ini files, a global one in the site root directory and the other in my cmsAdmin directory. (You may have to ask your webhost to change the values in the Global php.ini file for your site)
I changed both the values in both files to 999M (999Mb) and thought that might solve the issue.
When I checked the values in the Admin>General tab they still showed an upload_max_filesize of 102M, and when I checked the php.ini, using the link in the Admin>General tab under Server Info, the values were 102M local and 999M global.
Still, trying to upload a large (300mb) file threw the nginx error.
Again Daniel came to the rescue.
He said:
“That nginx error is reported when a URL is requested that is too long for the server's configuration. In this case, this appears to be a bug in how the HTML5 uploader is handling some errors. That's something that we'll have to look into as a secondary issue, but hopefully sorting out your configuration problems will also clear this error up.
For PHP configuration, CMSB comes with a number of different default configuration files, as different server setups will check different files/locations. These files have different values set to help locate which one is being loaded. 102MB indicates that it's checking the .user.ini file in your cmsAdmin directory for it’s values. Try changing the values there.”
I change both of the values to 999M in the cmsAdmin>.user.ini file, and now large uploads are working as expected with no errors.
Hope this helps someone.
|
The materials on this web site have been created for use with CMS Builder content management software. CMS Builder software is published and licensed for use by InteractiveTools.com. Please contact
Interactive Tools for information on the downloading of the software or the purchasing of licenses.