Reviewed: https://reviews.mahara.org/9006 Committed: https://git.mahara.org/mahara/mahara/commit/640b642ff9e9e09290469dea4c9c5983f1f7605b Submitter: Cecilia Vela Gurovic ([email protected]) Branch: master
commit 640b642ff9e9e09290469dea4c9c5983f1f7605b Author: Robert Lyon <[email protected]> Date: Thu Jul 12 17:33:24 2018 +1200 Bug 634193: Checking for too big file before form submit This should be ok as if the file is too big for quota then it will be complained about. If it is too big for post_max_size then will error out behatnotneeded Change-Id: I0b4fc8cd6bfad9c302299e1ea14a8180d427b3c6 Signed-off-by: Robert Lyon <[email protected]> -- 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: Fix Committed 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 _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

