Forums

[resolved] 3.0 on linux localhost file permissions (7 posts)

  1. danielveazey
    Member
    Posted 1 year ago #

    I'm running 3.0 on my linux localhost with Xampp, just for funsies. When I go to the admin panel > Media > Add new and try to upload a picture, I get the following error message:

    “littledaniel.jpg” has failed to upload due to an error
    Unable to create directory /opt/lampp/htdocs/wordpress/wp-content/uploads/2010/06. Is its parent directory writable by the server?

    So I think I need to change some permissions, right? Would I do that with chmod?

  2. danielveazey
    Member
    Posted 1 year ago #

    Or should I do it with chown?

  3. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    chmod

    http://codex.wordpress.org/Changing_File_Permissions
    has some info on file permissi8ons

  4. danielveazey
    Member
    Posted 1 year ago #

    Excellent! Thank you. I am now able to upload media to my testing website. Now, I have run into another snag. While I'm trying to install plugins, I get the message:

    To perform the requested action, connection information is required.

    It asks me for Hostname, Username and Password, and has two options for Connection Type: FTP and FTPS (SSL). I'm pretty sure the Hostname is localhost because if I type anything else, I get an error message that says:

    Failed to connect to FTP Server localhost/wordpress:21

    But if I use localhost as the Hostname, it just says my username/password are incorrect. So what username and password is it looking for? I tried the MySQL username and password. I tried the admin username and password, but it just keeps saying I have the wrong username/password. Any ideas?

  5. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

  6. danielveazey
    Member
    Posted 1 year ago #

    RVoodoo, you are awesome. This took care of it perfectly. Thank you again :)

  7. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    You got it!! Glad we got that taken care of!

Topic Closed

This topic has been closed to new replies.

About this Topic