WordPress.org

Ready to get started?Download WordPress

Forums

uploading an image file (7 posts)

  1. marcoacm
    Member
    Posted 2 years ago #

    WordPress seemed to have installed fine, but when trying to upload a header image (or any image to media) I get this error...

    Warning: touch() [function.touch]: Unable to create file D:\Hosting\8996629\html/wp-content/main.tmp because Permission denied in D:\Hosting\8996629\html\wp-admin\includes\file.php on line 177
    The uploaded file could not be moved to D:\Hosting\8996629\html/wp-content/uploads.

    Server: iis
    Hosting: godaddy

  2. rockt204
    Member
    Posted 2 years ago #

    Gave the directory 777 permissions so that Apache could create files and folders beneath it.

  3. marcoacm
    Member
    Posted 2 years ago #

    I am not using apache, I am using IIS

  4. rockt204
    Member
    Posted 2 years ago #

    Alrite then give enough permission to upload directory

  5. marcoacm
    Member
    Posted 2 years ago #

    I gave 777 to everything, and still doesn't work....
    I used filezilla to give 777 to everything. But the server is ISS.
    I think permissions on ISS dont work like that! right?

  6. Go Daddy
    Go Daddy Support
    Posted 2 years ago #

    marcoacm,

    You're right, permissions on a Windows hosting plan are managed differently. Read this article from the Go Daddy Community for more information - http://x.co/h62q

    You'll see that you set permissions by folder, not individual files.

    As a sidenote, I would recommend you switch to a Linux hosting plan for any WordPress site or other PHP-based content. You'll get better performance in general, and I'd expect you to also have fewer permissions issues. If you have ASP or .NET code running on the server, you'll need a Windows plan, but otherwise, you shouldn't have any problem switching to Linux. Here's a quick guide for how to change the operating system of your hosting account - http://x.co/h638

    Alon
    [ Signature moderated. ]

  7. marcoacm
    Member
    Posted 2 years ago #

    I did just that!!! Apache is on...

    Thanks GoDaddy

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags