Hi I have just installed a wordpress blog on my site.
I have been getting to know and creating posts. Ive got an rss feed going and im happy.
However i am now trying to upload a photo image from my computer and i get this message
Unable to create directory /var/virtual/web/w2251/html/wordpress/wp-content/uploads/2010/02. Is its parent directory writable by the server?
Can anyone shed light on this? Where is my image being sent to?
henkholland
Member
Posted 2 years ago #
Hi
WordPress tries to send your image to wordpress/wp-content/uploads/2010/02 but the directory "02" (=february) does not exist yet and WordPress cannot create it.
Check if the directories "uploads" and "2010" have admission rights set to 0755 (use your hosting panel or an FTP program for that).
If this does not work, go in your WordPress Dashboard/Settings/Miscellaneous and de-select "Organize my uploads into month- and year-based folders "
thanks for your reply...i will try it out
t
Hi.. created folders 2010 and 02
checked and altered chmod permissions
could not put 0775 would only allow 3 digit setting. 775 i assume this is ok..
turned off arrange to year and date folders.
The error message has altered though
The uploaded file could not be moved to /var/virtual/web/w2251/html/wordpress/wp-content/uploads/2010/02.
is it a problem with the url string? just guesssing here. will keep trying but any extra opinion will be much appreciated
t
henkholland
Member
Posted 2 years ago #
Hi Anthony,
When you : ..turned off arrange to year and date folders.. you should not get the following error anymore: ..The uploaded file could not be moved to /var/virtual/web/w2251/html/wordpress/wp-content/uploads/2010/02 ...
since you do not use year/month folders anymore.
Did you hit the save button in the Admin screen where you turned off the year/month setting? (sorry, have to ask).
Did you try a logout/login after that for the Admin to refresh things?
Note: some servers running safe-mode just do not allow to let WP create directory's (for year/month). I have setups with the directory "uploads" at 777 and wp-content at 755 (forget the 0)
hi there... i fiddled a little bit more and now, it work..
thanx for your help
Anthony