WordPress.org

Forums

HTML Import 2
[resolved] Pages with 0 Bytes (2 posts)

  1. DPartridge
    Member
    Posted 3 years ago #

    I noticed when converting pages that I would sometimes get the following cryptic message (and this halted the import):

    The PHP functions fopen() and file_get_contents() have both failed. We can't import any files without these functions. Please ask your server administrator if they are enabled.

    FYI: This message appears when the program hits a file of 0 bytes... perhaps you could check for a file greater then 0 bytes before importing, and if the file is 0 bytes provide a message at the bottom informing the user of the file.

    Dennis

  2. Stephanie Leary
    Member
    Plugin Author

    Posted 3 years ago #

    Yikes. Thanks. I'll put that into the final version.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • HTML Import 2
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic