Richard, though your current solution is useful, it does not fix the bug. It is possible though to track that error using error_get_last(). I think we should leave this bug open yet until it is entirely fixed.
-- You received this bug notification because you are a member of Mahara Committers, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/634193 Title: post-max-size exceeding error is not tracked Status in Mahara ePortfolio: In Progress 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. _______________________________________________ Mailing list: https://launchpad.net/~mahara-core Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-core More help : https://help.launchpad.net/ListHelp

