Forums

Trackback and Pingback not doing anything... (41 posts)

  1. DianeClancy
    Member
    Posted 2 years ago #

    I thought I had fixed not being able to do trackbacks, but I haven't after all.

    Cliff - what has helped me be able to send trackbacks to my other site is to make sure the trackback address has /trackback/ at the end - I hadn't realized I needed that.

    But I can't figure out how to do it. I can send a trackback from Simpletracks if I use my blog address but not if I use the post address ...

    I am looking for ideas too.

    Thank you!
    ~ Diane Clancy
    http://www.dianeclancy.com/blog

  2. saphod
    Member
    Posted 2 years ago #

    Hi,

    I have the same issues with pingbacks here - not receiving any... trackbacks work fine, though...

    Please take a look at this post:
    http://www.saphod.net/wordpress-pingback-testing/

    Any ideas?

  3. iqisminc
    Member
    Posted 2 years ago #

    Wordpress 2.0 was the first time I used a blog and I did not receive any pingbacks - either internal or external. I upgraded to 2.1.3 and still no pingbacks or trackbacks. I am using ProtectWebForm Captcha plugin. I found out from the developers that their Captcha does not interfere with pingbacks.

    http://www.iqi-sm.com/blog/

    I have the necessary files in place along with the pingback header. It still does not work.

  4. saphod
    Member
    Posted 2 years ago #

    Try deactivating and re-activating your plugins one by one and then send a pingback from a testblog each time.

    This worked fine for me. I was using the "Anti Spam Image" comment captcha plugin which was interfering with pingbacks.

    So, although they say your plugin does NOT interfere, you better try testing by yourself. :-)

    Maybe this may help (no self-marketing here!):
    http://www.saphod.net/issues-with-incoming-pings-resolved/

  5. macbrink
    Member
    Posted 2 years ago #

    I also had a problem on receiving pings. It turned out that mod_security blocked access to xmlrpc.php.
    I have added this to my .htaccess file:

    <Files xmlrpc.php>
    SecFilterInheritance Off
    </Files>

    I have tested it and pingbacks work fine again!

  6. halsnalle
    Member
    Posted 2 years ago #

    Just wanted to report that this thread helped me solve my trackback problems: Unticked the checkbox requiring commenters to leave name and e-mail address, and now incoming trackbacks seem to work... :)

  7. shadabad
    Member
    Posted 2 years ago #

    Hi,
    In Options, check that this option is ticked:
    Attempt to notify any Weblogs linked to from the article (slows down posting.)

  8. McDermotts
    Member
    Posted 2 years ago #

    Hi

    Ive just been trying to fix the same problem. I added the following code into my single.php page and seems to work once trackback setup in admin

    code

    ">Trackback This Post |
    ">Subscribe to the comments through RSS Feed

    Here is what it looks like Chris McDermott BLOG

    Chris

  9. Petter
    Member
    Posted 2 years ago #

    I probably have the same missing incoming ping problem. For debugging I enabled logging in xmlrpc.php by changing an initial value like this:
    $xmlrpc_logging = 1;

    Then I made a pingback to myself from TestTrack (trackback works fine both in and out). This pingback did *NOT* show up in my blog comment field. Here is the debug output from the xmlrpc.log file:

    2007-11-28 13:42:46  Input: <?xml version="1.0"?>
    <methodCall>
    <methodName>pingback.ping</methodName>
    <params>
    <param><value><string>http://www.tamba2.org.uk/wordpress/TestTrack/2007/11/28/testingpinging/</string></value></param>
    <param><value><string>http://neppe.no/2007/04/test/</string></value></param>
    </params></methodCall>
    
    2007-11-28 13:42:46  Output: (PB) URL='http://neppe.no/2007/04/test/' ID='106' Found='url_to_postid()'

    This might also be related: PHP version 5.2.1. WordPress version 2.3.1, K2 RC 3 and Akismet. Commenter name and e-mail was not required during the test.

    PS: Due to comment spam, comments and trackbacks are now closed on the post used in this example.

  10. Petter
    Member
    Posted 2 years ago #

    By adding more debug in xmlrpc.php, I may have identified my problem. Either the php variable allow_url_fopen must be enabled, or the curl library needs to be installed. Without any of them, incoming pingbacks will not be parsed completely.

  11. kylebragger
    Member
    Posted 2 years ago #

    After some digging in the WP source (specifically the trackback() function in wp-include/comment.php) I've tracked down what I think to be the culprit:

    Using fsockopen() with fputs() doesn't reveal anything suspicious about the request as it returns error code 0, a valid resource handle, and no error message. The oddness starts when discovering that no request has actually ever been made to the target server. However, passing the generated headers and data through curl reveals this:

    curl: (18) transfer closed with 1 bytes remaining to read
    <html><head><title>Error</title></head><body>The parameter is incorrect.</body></html>

    It seems the following two lines from the header data are causing the request to be malformed:

    POST /path/to/trackback HTTP/1.0
    Host: some.host.com

    I took those out and sent it through curl again with this result:

    <?xml version="1.0" encoding="UTF-8"?>
    <response>
      <error>0</error>
    </response>

    Perfect.

    Hope this helps.

    Cheers,
    Kyle

Topic Closed

This topic has been closed to new replies.

About this Topic