WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] File upload problems (7 posts)

  1. Bill Dennen
    Member
    Posted 8 years ago #

    I just set up WP 2.0 and everything is going fine, except for file uploads. No matter which image I pick to upload, I get an error:

    "File is empty. Please upload something more substantial."

    Any ideas?

    Thanks-
    Bill

  2. skeltoac
    Member
    Posted 8 years ago #

    Try a different browser. I think WP is using whatever the browser claims as the file size when it gives that error.

  3. Bill Dennen
    Member
    Posted 8 years ago #

    Thanks for the reply. I tried Safari, Firefox, and Opera, and all give the same result. There is nothing in my apache error_log that indicates a problem. This is very puzzling.

  4. Bill Dennen
    Member
    Posted 8 years ago #

    Note to self: it helps if file_uploads are on.

    D'oh.

  5. metatron
    Member
    Posted 8 years ago #

    So how do you turn on the file_uploads?

    I'm having the same problem myself with importing an rss file.

  6. jonez
    Member
    Posted 8 years ago #

    I'm having this issue on one server with a new install.. uploads work like a charm on my other server. Any leads on this?

    Permissions are wide open, but "File is empty. Please upload something more substantial." is still a constant companion.

  7. jonez
    Member
    Posted 8 years ago #

    Yay! This solved my problem too, once I figured out what wjdennen was talking about.

    The site's PHP.ini had file_uploads set to OFF.

    D'oh indeed!

    ps: You can check your site's setting with a quick <? phpinfo() ?>. I created a new page with just that command.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags