• Resolved montanaflynn

    (@montanaflynn)


    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • What worked for me was to edit the PHP.INI file and set this parameter
    upload_tmp_dir=”/tmp”

    and i restarted apache! Worked like a charm!

    saham

    (@saham)

    create a php.ini (with the line
    upload_tmp_dir=”/tmp”)
    and upload in public_html folder.
    restart apache
    It works for me 2
    Thanks piper5ul

    baaster

    (@baaster)

    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?

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Failed to write file to disk.’ is closed to new replies.