When troubleshooting error messages similar to "Failed to write file to disk", the most common causes include:

  • The server's hard drive is full
  • The server's tmp folder is full
  • There are not sufficient privileges set to the folder being written to

This error, "Failed to write file to disk", within WordPress generally means that the tmp folder is full. While there could be other causes of the error, a review of posts in WordPress' forums shows the issue is most often with your php tmp folder setup, upload_tmp_dir.

If you are an InMotion Hosting Customer

The default WordPress installation with InMotion Hosting has no problems with the tmp folder and how WordPress uploads images. If you are getting this error, Create a phpinfo.php file and check what the "upload_tmp_dir" is set to. If it is set to:

  • "no value" - WordPress is defaulting to the /tmp folder on the server. This is rare, but the /tmp folder may have become full. Please contact our Support Department for further assistance.
  • something other than "no value" - It would appear that you have a custom folder set for your upload_tmp_dir. Please ensure that you have that folder's permissions set to 755.

If you are not an InMotion Hosting Customer

If you are not an InMotion Hosting customer, the same items as above generally apply. If you have not set a custom upload_tmp_dir, then you're using the server's default tmp folder and you should contact your host and ask for help with checking to see if the /tmp folder is full or not.

Like this Article?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm Brad Markle, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Latest Questions

If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Ask a Question!
Recent Questions
  1. My domain name is in redemption. Can you help me recover it?
  2. forgot password - how can I get into my website
  3. Configuring Mandrill SFP / DKIM settings

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!