• Resolved anhbinu

    (@anhbinu)


    Hello,

    I just test this case

    Steps to reproduce:
    1. Enable This plugin
    2. Export and then import with enable download media file option

    Issue:
    No media file imported

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    Thanks for reporting that, I’ll look into it.

    Plugin Author nosilver4u

    (@nosilver4u)

    Appears the error is somewhat in the WP importer plugin… it assumes that nothing will attempt to check the filesize of the image in the time period between the file being created and the file being downloaded. But the wp_handle_upload filter is run in between those two events, which is where a lot of image resizing plugins hook into. When Imsanity checks the filesize, it is 0, and PHP caches that. So when the importer goes to check that the filesize of the downloaded file matches the content-length header, it thinks the file download failed.

    At any rate, since we can also avoid the problem in Imsanity, we’ll release a fix in the next release.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error: Cannot import media file using WordPress Import if module enabled’ is closed to new replies.