WordPress.org

Ready to get started?Download WordPress

Forums

Pingback does not work (9 posts)

  1. Gerd
    Member
    Posted 9 years ago #

    Whenever somebody pingbacks some of my articles, this is not recognized by WP, meaning that the pingback is not inserted into the comment table. Looking up the log files, everthing seems OK (there is code 200) when xmlrpc.php is called.

    Well, as far as I understand the concept of pingback, code 200 doesn't mean too much here, since a possible error is reported in the output (XML) of the call to xmlrpc.php.

    What might this be? Is there a way to actually see the output of a pingback to give me further hints? I'm running WP 1.2.2 on Debain Woody with PHP 4.1.2.

  2. NuclearMoose
    Member
    Posted 9 years ago #

    In OPTIONS > DISCUSSION there is a checkbox that says Allow link notifications from other Weblogs (pingbacks and trackbacks.). Is that checked? It must be to enable ping and trackbacks.

  3. Gerd
    Member
    Posted 9 years ago #

    Yes, trackbacks and pingbacks are enabled, and trackbacks work.

    Interestingly, I can ping myself. This is: If I write an article and refer to one of my prior ones, a comment is added to the this article.

    But pinging back from the outside seems to have no effect. I tried it with my local test installation and nothing happended (I am able to trackback, though). Pingbacks I got the last days (e.g. from bloggingpro.com) didn't show up either.

    While I think it is OK that pings from address "localhost" don't show, I wonder about the others, though. Maybe it's just some coincidence and there's a bug on the other side?

    It would be nice if somebody can point me to a web ressource to test pingbacks on my side.

  4. Gerd
    Member
    Posted 9 years ago #

    It's me again ;-). I switched on debug logging and captured a pingback request that failed:

    2005-01-18 16:41:12 Input: <?xml version="1.0"?>
    <methodCall>
    <methodName>pingback.ping</methodName>
    <params>
    <param><value>< array > <data>
    <value><string>[Caller URL]/</string></value>
    <value><string>[My URL]</string></value>
    </data>< /array ></value></param>
    </params></methodCall>

    2005-01-18 16:41:12 Output: Incorrect parameters passed to method: Wanted , got at param )

    2005-01-18 16:41:12 Output: <methodResponse><fault>
    <value>
    <struct>
    <member>
    <name>faultCode</name>
    <value><int>3</int></value>
    </member>
    <member>
    <name>faultString</name>
    <value><string>Incorrect parameters passed to method: Wanted , got at param )</string></value>
    </member>
    </struct>
    </value>
    </fault></methodResponse>

    May it be my wordpress 1.2.2 gets confused by <param><value>< array ><data>?

  5. Gerd
    Member
    Posted 9 years ago #

    A funny bug: enter &lt;array&gt; and look at your post. There should be < a r r a y >, but there is has disappeared...

  6. Gerd
    Member
    Posted 9 years ago #

    I'll keep on talking to myself ;-)

    Tried out http://www.tamba2.org.uk/wordpress and it works. However, this server sends a pingback XML containing the following tag hierarchy:

    params - param - value - string - /string - /value - /param - param - value - string - /string - /value - /param - /params.

    I still tend to blame my problems on the additional array and data tag in the failing pingback requests. Unfortunately, I don't understand the according code in WP 1.2.2, so I cannot help.

    To be honest, this bug really annoys me, since all the sites unsuccesfully pinging me actually are WordPress related sites running WordPress like wordlog.com, for example. And the pingbacks are on articles regarding my WordPress plugin. Duh! WP should be able to process its own requests, shouldn't it?

    Having a short look over pingback and XML-RPC specs, I tend to think that an array tag is not allowed here. Just guessing: May it be this actually is a bug in WP 1.5 sending wrong pingback requests?

  7. bruce78
    Member
    Posted 9 years ago #

    I am wondering if you ever solved this? I have the same problem?

  8. Bruce, double check your ability to receive pingbacks here: http://www.tamba2.org.uk/wordpress/Gemini/index.php it's pretty much the "official" test site around here.

  9. Gerd
    Member
    Posted 9 years ago #

    No I haven't solved this, how could I - without a single response? :(

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.