← Back to team overview

mahara-contributors team mailing list archive

[Bug 781426] Re: uploading file larger than max upload size doesn't inform user

 

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

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/781426

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

Status in Mahara ePortfolio:
  New

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


References