← Back to team overview

mahara-contributors team mailing list archive

[Bug 634193] Re: post-max-size exceeding error is not tracked

 

Many places in Mahara use uploading files without tracking this errors

Here is the result of
 $ grep -r "'type'.*'file'" htdocs/
 htdocs/skin/import.php
 htdocs/import/index.php
 htdocs/admin/site/font/add.php
 htdocs/admin/site/font/installgwf.php
 htdocs/admin/site/font/install.php
 htdocs/admin/users/add.php
 htdocs/admin/users/institutions.php
 htdocs/admin/users/uploadcsv.php
 htdocs/admin/groups/uploadmemberscsv.php
 htdocs/admin/groups/uploadcsv.php
 htdocs/artefact/file/js/filebrowser.js
 htdocs/artefact/file/profileicons.php
 htdocs/artefact/file/import/leap/lib.php

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/634193

Title:
  post-max-size exceeding error is not tracked

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  If post-max-size PHP setting
  (http://php.net/manual/en/ini.core.php#ini.post-max-size) value is
  exceeded (by large file upload for example) no error is triggered, as
  result wherever upload is handled by ajax, no callback functions are
  called.

  This is partly related to bugs:
     https://bugs.launchpad.net/mahara/+bug/633760
     https://bugs.launchpad.net/mahara/+bug/547505

  Given that this error is triggered by PHP prior to processing the
  code, it can't be catch through exception. As forums suggests, it may
  worth using error_get_last() and grep result for "PHP Warning:  POST
  Content-Length of" string.

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


References