Topic: "Can’t post for [blog] because the server reported an error"

Can’t post for [blog] because the server reported an error: parse error. not well formed.

Some things to note:

1. I've been posting fine to this blog and made no changes leading up to this point.
2. After receiving this error I decided to upgrade Wordpress to 2.6.5
3. I still receive this error after updating.
4. This is only affecting one of two blogs I have set up in MarsEdit, and both are hosted on the same server (separate Wordpress installs).

As far as I can tell this means it is something in Wordpress, but I wanted to make sure there wasn't something else I should double check in MarsEdit first. I can log into the blog and post without any issues, so I'm not certain where to go from here.

I looked at a few of the threads that seemed to have similar errors, but I didn't see one that jumped out at me as providing a solution I understood, though I was probably staring it in the face. If so I do apologize for asking the same question again.

Network Log:

Network message sent: 2008-12-08 08:22:00 -0500
URL: http://www.[domain].com/blog/xmlrpc.php
Method name: metaWeblog.newPost
Network reply received: 2008-12-08 08:22:05 -0500
URL: http://www.[domain].com/blog/xmlrpc.php
Method name: metaWeblog.newPost
Status code: 200
Succeeded: NO
--Fault Error--
Fault code: -32700
Fault string: parse error. not well formed
Request text:
<?xml version="1.0" encoding="utf-8"?>
<methodCall>
    <methodName>metaWeblog.newPost</methodName>
    <params>
        <param>
            <value><string>1</string></value>
            </param>
        <param>
            <value><string>[admin]</string></value>
            </param>
        <param>
            <value><string>[password]</string></value>
            </param>
        <param>
            <value>
            <struct>
            <member>
            <name>mt_allow_comments</name>
            <value><int>1</int></value>
            </member>
            <member>
            <name>mt_tags</name>
            <value><string>Management,Leadership</string></value>
            </member>
            <member>
            <name>mt_keywords</name>
            <value><string>Management,Leadership</string></value>
            </member>
            <member>
            <name>mt_convert_breaks</name>
            <value><string>0</string></value>
            </member>
            <member>
            <name>title</name>
            <value><string>A Series on Management and Leadership</string></value>
            </member>
            <member>
            <name>mt_excerpt</name>
            <value><string></string></value>
            </member>
            <member>
            <name>description</name>
            <value> [blog text] </value>
            </member>
            <member>
            <name>mt_text_more</name>
            <value><string></string></value>
            </member>
            <member>
            <name>mt_allow_pings</name>
            <value><string>0</string></value>
            </member>
            </struct>
            </value>
            </param>
        <param>
            <value><boolean>0</boolean></value>
            </param>
        </params>
    </methodCall>

Response text:
<?xml version="1.0"?>
<methodResponse>
  <fault>
    <value>
      <struct>
        <member>
          <name>faultCode</name>
          <value><int>-32700</int></value>
        </member>
        <member>
          <name>faultString</name>
          <value><string>parse error. not well formed</string></value>
        </member>
      </struct>
    </value>
  </fault>
</methodResponse>

Re: "Can’t post for [blog] because the server reported an error"

There are a few common causes of this type of error from WordPress.

The first, is sometimes a bad character worms its ways into the post content in MarsEdit.  Have you tried posting to the same blog, but with a completely new post in MarsEdit, and with some really simple post text? 

Second, there may be a plugin that is giving this particular WordPress installation a hard time.  Is there any difference in the plugins you have installed on the WordPress that works vs. the one that doesn't?

Danie

Re: "Can’t post for [blog] because the server reported an error"

It must be something with that particular post. I logged into the Wordpress installation this morning and posted the specific entry I was having problems with. I cannot pull that entry back into MarsEdit either through a refresh, although a new test post (single line of text) posts fine.

Thank you for the insight. I'll probably go back and recreate the specific entry that is giving me problems. The only think it could be is one of the links that was copied and pasted, so I should be able to find it easy enough.

Re: "Can’t post for [blog] because the server reported an error"

Yeah this kind of problem can be a real hassle.  It's often some kind of mis-type while pasting or something. Hitting an invisible character by mistake.

I'm planning some features in future updates that will help detect and resolve this better.