WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to add images to the site? (5 posts)

  1. stigbratvold
    Member
    Posted 2 years 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.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    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

  3. stigbratvold
    Member
    Posted 2 years 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.

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    Try asking your hosts for assistance. It could be a folder ownership issue.

  5. stigbratvold
    Member
    Posted 2 years 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 :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags