#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: | foolswisdom | Owned by: | |
---|---|---|---|
Milestone: | 2.3 | Priority: | normal |
Severity: | normal | Version: | 2.3 |
Component: | Administration | Keywords: | |
Focuses: | 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)
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.