WordPress.org

Ready to get started?Download WordPress

Forums

Can't upload media-get "Failed to write file to disk." message. (6 posts)

  1. briandbush
    Member
    Posted 6 years ago #

    The "Failed to write file to disk." message appears in the crunching bar after it appears to finish uploading. I have no idea what to do, or even where to start. I'm very new at this and at a total loss. Please god, help me.

  2. raygene
    Member
    Posted 6 years ago #

    With your FTP client (or your cPanel), have a look in your wp-content folder, you should have an "uploads" sub-folder and you have to give it write permissions (755 or 777 depending on your server).

    Gene

  3. jeremycherfas
    Member
    Posted 6 years ago #

    write permissions (755 or 777 depending on your server)

    This is the first I've heard about the write permissions being different depending on the server.

    Can you please expand?

    Would it make any difference if I had 777 and it should be 755?

    Thanks

  4. trejder
    Member
    Posted 5 years ago #

    This is the first I've heard about the write permissions being different depending on the server. Can you please expand?

    Why not - if you ask?
    From WP-Codex official documentation:
    http://codex.wordpress.org/Changing_File_Permissions

    The WordPress Database Backup Plugin requires the /wp-content/ folder be made writeable. In some cases, this may require assigning 755 permissions or higher (e.g. 777 on some hosts).

  5. ironcx
    Member
    Posted 5 years ago #

    I'm having the same issues. I've tried changing all the permissions, changed the upload directory in php.ini file, and made the necessary changes to the .htaccess file. I still am receiving the failed to write to disk message. Any thoughts?

  6. trejder
    Member
    Posted 5 years ago #

    Well... it depends. In my situation (on my hosting server) there was a problem with PHP.ini variable "upload_tmp_dir". It has to point to proper temporary directory and this directory has to have proper permissions. I wasn't able to correct it, but my host admin was and after that correction files uploading started working.

    Take a look here.

Topic Closed

This topic has been closed to new replies.

About this Topic