I don't see any error message when file is larger than limit in php settings. Is this case, file is not uploaded. But error messages are shown only if file is uploaded (function file_save_upload() in file.inc, line 494).

What are the steps required to reproduce the bug? >> To upload a file as an attachment that is larger than limit in php settings.
What behavior were you expecting? >> To show error message, why file wasn't uploaded.
What happened instead? >> To error message is shown.

PHP version: 5.2.5-3
Apache version: Apache/2.2.8 (Debian)

Comments

damien tournoud’s picture

Status: Active » Closed (duplicate)