Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 14 years ago

#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's profile 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)

4240.diff (2.1 KB) - added by mdawaffe 17 years ago.

Download all attachments as: .zip

Change History (5)

#1 @ryan
17 years ago

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

@mdawaffe
17 years ago

#2 @ryan
17 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [5964]) Take post_max_size into account when determining the upload limit. Props mdawaffe. fixes #4240

#3 @ryan
17 years ago

  • Milestone changed from 2.4 (next) to 2.3

#4 @hakre
14 years ago

Related: #13575

Note: See TracTickets for help on using tickets.