stigbratvold
Member
Posted 3 months ago #
I am running a self hosted wordpress server. Does anyone know how I can upload images to the server? When I try to do it inside the wp-admin I just get an error saying:
“Bratvold Brumer, Reidar.jpg” has failed to upload due to an error
Unable to create directory /var/www/domains/reidar-bratvold.com/docs/wp-content/uploads/2012/02. Is its parent directory writable by the server?
I still a newb and this is my first time using wordpress. Do I have to upload a folder with the images by using Filezilla? When I was working on the localhost I just used the wp-admin to upload.
Try changing the permissions on the wp-content directory to 766. If you still have problems, try 767, 775 or 777. Once your uploads are working, change the permissions on wp-content back to 755 again and check that everything still works OK.
http://codex.wordpress.org/Changing_File_Permissions
stigbratvold
Member
Posted 3 months ago #
I tried all of those different ones but they did not work.
I still get this message:
Unable to create directory /var/www/domains/reidar-bratvold.com/docs/wp-content/uploads/2012/02. Is its parent directory writable by the server?
I even tried to put in on the wp-content>wp-includes>images to see if an image folder would do any difference.
Try asking your hosts for assistance. It could be a folder ownership issue.
stigbratvold
Member
Posted 3 months ago #
I talked to the host an the issue was that somehow I did not have a folder called "2" which is where the uploader tried to save the images.
Thanks for your advice Esmi :)