#4240 closed defect (bug) (fixed)
Import WXR post_max_size < file size fails with AYS then "File is empty. Please upload something more substantial."
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.3 |
| Component: | Administration | Version: | 2.3 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Import WXR post_max_size < file size fails with AYS then "File is empty. Please upload something more substantial."
ENV: WP / trunk r5411
I have an 18.7 MB WXR file to restore, so I increased upload_max_filesize to 20M, but I did not know to also increase post_max_size from 8M. That is what resulted in this confusing error symptoms.
Attachments (1)
Change History (5)
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

wp_import_upload_form() should take post_max_size into consideration and display the lesser of it and upload_max_filesize as the limit.