Hi,
I just published an article with several links, two of which were internal.
For one internal link s9y found a trackback for the other not?
This is the article:
http://scrmblog.com/archives/238-This-W ... -2011.html
For this link it found a trackback
http://scrmblog.com/archives/235-Agile- ... ainty.html
For this it did not:
http://scrmblog.com/archives/232-Impact ... mance.html
See also on the screen shot.
Daniel
Trackback not found
Trackback not found
- Attachments
-
- Trackback bug
- Screen shot 2011-04-29 at 16.26.21.png (29.72 KiB) Viewed 2557 times
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Trackback not found
Hi!
That's quite strange. In include/functions_trackbacks.inc.php the function serendipity_trackback_autodiscover() should take care of evaluating a requested response like the URL you mentioned.
The output "echo '<div>• ' . sprintf(TRACKBACK_FAILED, TRACKBACK_NOT_FOUND) . '</div>';" only can happen, when the "trackback:..." output is not found inside the requested URL. Clearly, in your URL this text *is* existing.
So I can only suppose due to some reason the HTTP request of that file failed. When you create a new article, does the same still occur?
The matching itself is performed through the same file, function serendipity_reference_autodiscover().
Maybe if you can edit line 286 from this:
to this:
This will show you the URL that was fetched, and how many bytes it contained. With the given HTML, we should be able to see why the regular expression for matching "trackback:ping"... from the file could fail...
Thanks for reporting,
Garvin
That's quite strange. In include/functions_trackbacks.inc.php the function serendipity_trackback_autodiscover() should take care of evaluating a requested response like the URL you mentioned.
The output "echo '<div>• ' . sprintf(TRACKBACK_FAILED, TRACKBACK_NOT_FOUND) . '</div>';" only can happen, when the "trackback:..." output is not found inside the requested URL. Clearly, in your URL this text *is* existing.
So I can only suppose due to some reason the HTTP request of that file failed. When you create a new article, does the same still occur?
The matching itself is performed through the same file, function serendipity_reference_autodiscover().
Maybe if you can edit line 286 from this:
Code: Select all
$trackback_result = serendipity_trackback_autodiscover($fContent, $parsed_loc, $url, $author, $title, $text, $loc);
Code: Select all
echo "The response contains " . $fContent . " bytes.<br />\n";
$trackback_result = serendipity_trackback_autodiscover($fContent, $parsed_loc, $url, $author, $title, $text, $loc);
echo nl2br(htmlspecialchars($fContent));
Thanks for reporting,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/