uploading file larger than max upload size doesn't inform user

Bug #781426 reported by Hugh Davenport
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Triaged
Medium
Unassigned

Bug Description

on artefact/file/index.php

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://localhost/mahara/artefact/file/

We should detect the uploaded filesize and report to user if it is too large.

Cheers,

Hugh

Revision history for this message
Richard Mansfield (richard-mansfield) wrote :

See also https://bugs.launchpad.net/mahara/+bug/634193

Probably a much bigger problem now that we have removed the .htaccess file?

Revision history for this message
François Marier (fmarier) wrote :

That's a good point. Let's add some warnings / error messages in 1.4 to preempt support requests on the forums.

Changed in mahara:
milestone: none → 1.4.0
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.