InMotion Hosting Support Center

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.

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

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Post a Comment

Email Address:
Phone Number:

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?


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:
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!