• Resolved scarlettr8

    (@scarlettr8)


    Some uploads are failing, while others work. Trying to upload an 8.5MB PDF, but it fails. GD bbPress is set to 15MB (15000KB) max file size and server is set to 32MB Max upload. No error message displays and no error is logged. Smaller uploads up to 1MB work.

    • This topic was modified 1 year, 9 months ago by scarlettr8.
    • This topic was modified 1 year, 9 months ago by scarlettr8.
Viewing 1 replies (of 1 total)
  • Plugin Author Milan Petrovic

    (@gdragon)

    PHP has two settings related to upload, it is not just max upload size, the POST max size (‘post_max_size’) also has to be increased to at least the max upload file size (and to much higher value – if you allow 32MB for a file upload, and you want to upload 4 files with 32MB, POST max size has to be at least 128MB for that to work), because uploads are done via POST transfer. By default ‘post_max_size’ is 8MB. And, if this check fails in PHP, there will be no error to log, the upload just fails silently, and the FILES submited from PHP will be empty.

Viewing 1 replies (of 1 total)
  • The topic ‘Upload fails on some docs’ is closed to new replies.