Closed alanbarrett closed 8 years ago
@Paulina-Rosetta , Maddalena,
With reference to https://github.com/TheRosettaFoundation/SOLAS-Match/issues/1248 ... I think it is best if we limit the total file upload size for all segments to 145MB (equal to the file original upload limit). I think it is dangerous/not appropriate, for a number of reasons, to increase that. Is that OK?
So I have added new "JavaScript" software that will alert the browser user to the problem when "Submit Segmented Tasks" is clicked before trying to upload the server at getting further possible errors.
I need translations for the following two messages...
<string name="common_maximum_file_total_size_is">The maximum total MB that can be uploaded for all files is <strong>%sMB</strong></string>
<string name="common_maximum_file_total_size_vs_limit_is">You have selected to upload %1$sMB, but the limit is %2$sMB.</string>
For the first we already have a similar message which is not quite appropriate but I include here for reference...
<string name="common_maximum_file_size_is">Maximum file size is <strong>%sMB</strong></string>
<string name="common_maximum_file_size_is">La grandezza massima del file è di <strong>%sMB</strong></string>
<string name="common_maximum_file_size_is">El tamaño admitido para los archivos es <strong>%sMB</strong></string>
<string name="common_maximum_file_size_is">Die maximale Dateigröße beträgt <strong>%s MB</strong></string>
Alan.
@Paulina-Rosetta Resolved by commit 5aacd870cd65fff165af2d4d826641772fc96035
Alan.
PHP Warning: POST Content-Length of 532607378 bytes exceeds the limit of 157286400 bytes referer: https://trommons.org/task/18981/segmentation
1) I have already increased the POST upload limit many times. It would probably be unreasonable and too much a load on the system to increase it further. But I will think about this.
2) I need to add proper error messages to segmentation... it should be clear what the problem is rather than giving wrong error messages... other places in Trommons do this correctly, I think.
Current php.ini settings... memory_limit = 1000M post_max_size = 150M upload_max_filesize = 145M