← Back to team overview

mahara-contributors team mailing list archive

[Bug 1216481] A change has been merged

 

Reviewed:  https://reviews.mahara.org/2435
Committed: http://gitorious.org/mahara/mahara/commit/73149145244e76f5e781b416b8b732166098254f
Submitter: Aaron Wells (aaronw@xxxxxxxxxxxxxxx)
Branch:    master

commit 73149145244e76f5e781b416b8b732166098254f
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Mon Aug 26 08:18:28 2013 +1200

make dropzone respect  upload_max_filesize setting from php.ini (bug
#1216481)

- retrieving the upload_max_filesize value in php.ini
- converting it to bytes and then coverting it back to megabytes
as that is what the dropzone requires

Change-Id: I35bf81a47be01a393359d9699420f86e9b20f674
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contrib members
https://bugs.launchpad.net/bugs/1216481

Title:
  Drop zone does not respect php.ini max file size settings

Status in Mahara ePortfolio:
  In Progress

Bug description:
  When I drag and drop an image larger than 2 MB into the drop zone, the
  system refuses to upload it because it says that the maximum file
  upload size is exceeded.

  However, I can upload the same image just fine by clicking the Browse
  button. I checked my php.ini settings, and both

   upload_max_filesize
   post_max_size

  are set higher than 2 MB.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1216481/+subscriptions


References