• Resolved quasimagyar

    (@quasimagyar)


    I’ve recently upgraded my server running Debian Linux from Apache 1.3 to Apache 2.2. The upgrade seemed to work flawlessly, as WordPress works without problems. However, what was broken was Windows Live Writer, which can no longer send images to the server. Every time I try to send a post with an image, I receive the following error:

    Invalid Server Response
    The response to the metaWeblog.newMediaObject method received from the weblog server was invalid.

    I’ve found a few postings complaining about this error in earlier versions of WordPress, but not with 2.1.3. Can anyone recommend a way for me to troubleshoot this problem? Perhaps someone else is experiencing the same thing?

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Well, on the plus side, I can tell you that I use WLW with 2.1.3 (including images) and have no issues.

    Are the wp-content directories that WLW uses to store images at a permissions level such that your apache process can write to them?

    Anything in your apache error logs after a failed attempt?

    Thread Starter quasimagyar

    (@quasimagyar)

    For testing purposes, I had set the file permissions on the uploads folder under wp-content to 777 (read, write, execute for all). This didn’t seem to help. I was able to upload files from within WordPress, which makes me suspect that file permissions are fine. Am I wrong to assume this?

    As for the Apache log files, I checked access.log, and it contains all of my attempts to post. Here’s an example:

    xx.xx.xxx.xxx – – [16/Apr/2007:11:07:44 -0700] “POST /weblog/xmlrpc.php HTTP/1.0” 200 459 “-” “Windows Live Writer/1.0.1.6”

    I then checked error.log and found no corresponding error message in and around this time.

    Thanks a lot for your help!

    Thread Starter quasimagyar

    (@quasimagyar)

    To further muddy things, I’ve discovered that WLW will sometimes upload images. It appears to have something to do with the size of the image. Anything over 150K or so will result in failure.

    Would that happen to be a php.ini configuration (max file size perhaps)?

    Thread Starter quasimagyar

    (@quasimagyar)

    I increased the maximum file size from 2MB to 6MB with the following line in php.ini:

    upload_max_filesize = 6M

    Still no luck. I’ll try fiddling in php.ini to see if something else does the trick.

    Thread Starter quasimagyar

    (@quasimagyar)

    For the sake of trying something else, I upgraded from PHP4 to PHP5 to see if this would solve the problem. Now, I get a new error to replace the old one: “The following images cannot be published because the weblog does not support image publishing”.

    *sigh*

    Thread Starter quasimagyar

    (@quasimagyar)

    I decided to download BlogDesk, which uploads image just fine. There appears to be some unique problem with WLW and WordPress–at least with my configuration.

    Thanks for the help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Windows Live Writer, WordPress 2.1.3, Invalid Server Response’ is closed to new replies.