taylorren
Member
Posted 5 years ago #
Installed Vista Business a week ago. PHP+MySQL configured OK. WP runs almost fine except one thing:
When I am trying to upload an image (in the Writing a post section), I get the following error:
Failed to write to disk.
I have checked the upload directory (default one). It (and its sub-dir) had Full Control granted to "Everyone" and I also granted Full Control to "IUSR_xxxx" which is the Internet guest account.
Still does not work.
I have the same problem.
did you ever find a solution?
Originally i installed and ran wp on apache on vista business. worked fine including upload of images. Long story short, moved wp over to iis7. seemed to work until I tried to upload an image. same error message "Failed to write to disk."
Not sure why this is not a support topic. My dev machined is vista. I need to upload images to test. IIS permissions seem fine, but who knows. Also I can find no trace of an error outside of the message displayed.
dcduo12
Member
Posted 4 years ago #
I have just found the solution to this problem after spending hours trawling the net so I hope this helps you.
make a blank file called test.php and just put the following code into it
<?php phpinfo(); ?>
Now check to see where your upload_tmp_dir is pointing to. I had the problem of it saying not defined. So I created one in the C:/intepub/wwwroot called uploads and then opened my php.ini file and changed the following line
upload_tmp_dir = "C:\Inetpub\wwwroot\uploads"
*remember to uncomment it
Then apply the permissions to full in the security tab. Since then it has worked fine
visiblemedia
Member
Posted 4 years ago #
here's a wrinkle... i did that but this is what i found:
upload_tmp_dir no value no value
any idea how to overcome this?