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.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

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!