← Back to team overview

mahara-contributors team mailing list archive

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

 

Public bug reported:

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.

** Affects: mahara
     Importance: Undecided
         Status: New

-- 
post-max-size exceeding error is not tracked
https://bugs.launchpad.net/bugs/634193
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: New

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.





Follow ups

References