[resolved] Failed to write file to disk. (5 posts)

  1. montanaflynn
    Posted 7 years ago #

    So I freshly installed wordpress on a Yahoo Hosting account, I did it the 5 minute way and not through the yahoo one click install because I've read bad things, anyways I set it up and have it running with a theme and all.

    Then when I try to upload an image I get this error:

    Failed to write file to disk.

    I've been digging around and so far have tried the following:

    1) I did a phpinfo(); function and my 'file_uploads' function is On.

    2) Added an empty TMP folder the the root.

    3) Created an uploads folder with 777 permissions in the wp-content folder. (where options -> misc. says uploads should go.

    4) Looked at a ton of support tickets from years ago without finding a definitive answer.

  2. piper5ul
    Posted 7 years ago #

    What worked for me was to edit the PHP.INI file and set this parameter

    and i restarted apache! Worked like a charm!

  3. saham
    Posted 6 years ago #

    create a php.ini (with the line
    and upload in public_html folder.
    restart apache
    It works for me 2
    Thanks piper5ul

  4. Baaster
    Posted 6 years ago #

    Hi, could You pls help me to finalize it.
    I did a "tmp"
    Message: "failed to write file to disk" dissapeared but jpg files are not visible (just empty space with the frame of the pic)
    Did I forget something?

  5. mrposse
    Posted 6 years ago #

    I am also getting a "failed to write file to disk" but all of a sudden. It has been fine for the last 4 months (since I set-up the blog) but today ... bang. A problem. But I am new at this and a bit lost in the tech (PHP.INI file, etc.). Can someone direct me to a "How to fix the failed-to-write-file-to-disk problem for Dummies". Many thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic