Kent
Active member
The uploader detects PHP's upload limit, but not the web server's limit.
If the web server's file upload size limit is lower than XenForo's, it causes the uploader to just return an error "undefined."
JS console produces this after a few upload progress updates:
Reproduce: try to upload a larger file than allowed by the web server.
With Nginx:
Nginx responds with HTTP 413 (Request Entity Too Large)
If the web server's file upload size limit is lower than XenForo's, it causes the uploader to just return an error "undefined."
JS console produces this after a few upload progress updates:
Code:
Uploaded 8060928/11290580 bytes.
Upload failed: [Object { creationdate=Date, size=11290580, type=".zip", more...}, -220, "Error #2038"]
All files uploaded.
Reproduce: try to upload a larger file than allowed by the web server.
With Nginx:
Code:
client_max_body_size 1m;
Nginx responds with HTTP 413 (Request Entity Too Large)