Support » Fixing WordPress » Can’t upload media-get “Failed to write file to disk.” message.

  • 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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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

    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

    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).

    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?

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t upload media-get “Failed to write file to disk.” message.’ is closed to new replies.