• My error:
    –> Failed to write file to disk.
    –> Back to Image Uploading

    Well I’ve look on the posts here and they haven’t resolved my problem.

    I used to run WP1.2 and was able to upload images, host has php upload ON.

    File is a 96kb JPG
    Using Safari on Mac OS X
    Trying to use the upload image on the Edit Page screen

    Appreciate any help

    Thanks
    Jason

Viewing 7 replies - 1 through 7 (of 7 total)
  • Does it ask you if the folder is writable, as well? or is that the entire error message? What version of WP are you using?

    Thread Starter jasonstone

    (@jasonstone)

    The folder has permissions 777 so it’s writable.
    That’s the entire message yes.
    Version is 2.0.7

    Thanks for any help

    Everything else is ticking along nicely

    Cheers
    Jason

    did you see this?

    It turned out it was the host’s problem in that case. But it gives some things to try out to see what the problem might be…

    Thread Starter jasonstone

    (@jasonstone)

    Thanks doodlebee – yeah i saw that.
    I’ve asked them about the /var partition

    but I can’t find anything wrong!

    directoy exists
    permissions ok (wp-content is 755 and uploads is 775 have tried 777 too)
    file is not too large – <100Kb
    name doesn’t have any weird characters
    php upload of files is ON – checked in phpinfo

    I tried uploading to a new post and to an existing post thinking perhaps there was something in the code – nope – no difference

    this is driving me nuts – i’m in IT and so I’ve got some ideas about these things but just can’t crack this one!!!

    thanks for any assistance!!

    cheers
    Jason

    I’m having the same issue. Yes, host has php upload ON.
    yes permission for folders are OK (755).
    The only anomaly I can think of is is the uploads folder wasn’t there so i created it.

    I had the same problem, and was able to finally fix it.
    In addition to all the other recommendations, I changed /etc/php.ini file as follows:

    upload_tmp_dir =/tmp/phpUploadTmp

    Initially ‘upload_tmp_dir’ is commented, forcing PHP to use
    system default (???). I created /tmp/phpUploadTmp directory
    with 777 permissions, and restarted the system.

    I did all these things (not sure if I created the tmp/phpUpload TMP directory in the right place) but I’m still getting the error signal. It’s very weird b/c I had files uploaded and they don’t seem to be found. I’m a little frustrated and not a coder so maybe more step-by-step directions (e.g. which is your main directory docroot or wp_content?

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