uploading file larger than max upload size doesn't inform user
Bug #781426 reported by
Hugh Davenport
This bug report is a duplicate of:
Bug #634193: post-max-size exceeding error is not tracked.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Triaged
|
Medium
|
Unassigned |
Bug Description
on artefact/
When you choose a file to upload (mine was 10.3 MB), and the max upload size is smaller (mine is 2 MB, i know small :P)
You would expect the user to be informed that it is too large, instead a "Loading..." bar appears at the top, and it says "Uploading largefile.data to Home" with a spinning loading thingy.
In the logs, I get one error:
[Thu May 12 11:02:52 2011] [error] [client ::1] PHP Warning: POST Content-Length of 10757471 bytes exceeds the limit of 8388608 bytes in Unknown on line 0, referer: http://
We should detect the uploaded filesize and report to user if it is too large.
Cheers,
Hugh
To post a comment you must log in.
See also https:/ /bugs.launchpad .net/mahara/ +bug/634193
Probably a much bigger problem now that we have removed the .htaccess file?