• Hi there.

    I’m having trouble with an install of 1.2.2 on a windows server.

    first hassle:

    the root is weird:
    D:\domains\webroot/images

    i could not get WP to recognize the “\” symbol, so i simply reversed them based on similar topics for gallery plugin problems i found here.

    the permissions are set to “777” for the images folder.

    Still, nothing will load.

    what’s the deal?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter dss

    (@dss)

    nobody uses a windows server?

    IIS or Apache?

    If you are using IIS then help maybe limited as there aren’t many that use it.

    On the other hand, if you are using Apache, we’ll see what we can do.

    Tg

    Thread Starter dss

    (@dss)

    It’s IIS

    : (

    had the same issues and heres what i did. I went in to the wp-options table of the database using php admin and manually entered the directory, keep in mind that the back slash in php is the “escape this” flag soo if you are typing C:\apache\htdocs for a php app you would need to type c:\\apache\\htdocs because the first slash gets escaped away… or something like that. I hope that makes sense, it worked for me

    For IIS it would be something like

    c:\\inetpub\\wwwroot\\images

    Note that (if it works for you) the reported filesize will be 0 (zero) even when an upload is successful. I’ve been trying to figure out the reason for that one without any luck…

    I tried the above solution for my installation of WordPress on Windows Server 2003, and it worked.

    I have been battling with file uploads for hours, and this has just solved it! Perhaps this could be added to the installation instructions?

    I’m having a similar problem, and nothing’s working for me. I’m running IIS6, and WordPress 1.5, latest PHP. I’m only new to this, and still finding my feet, but this has me stuffed. When I try to upload, I get:
    Couldn’t upload your file to
    c:\inetpub\wwwroot\wp-images/IMG_5985.JPG. (ie. the last slash is the wrong way around)
    When I tried the above fix, I just got Couldn’t upload your file to c:\\inetpub\\wwwroot\\wp-images/IMG_5985.JPG.

    I’m stuffed, anyone have any clues? Thanks in advance.

    OK, fixed the first problem so I’ll post the fix if someone else is having the same drama.
    Open upload.php, find where it has (‘fileupload_realpath’).”/”. something.
    Delete the “/”, and then make sure your path in Options has the final \ on it.
    Now I’m getting
    Couldn’t upload your file to c:/inetpub/wwwroot/wp-images/IMG_5987.JPG.
    Which looks good, it’s probably something else I’ve ballsed up. Probably a permissions thing.

    GITTY UP! It worked, I just had to give Write permissions to the IUSR account for that folder.

    Thanks for the er, help…. ?? Hopefully this helps someone else.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘trouble uploading on Windows server’ is closed to new replies.