Page 2 of 2

Re: Same Problem as Zugschlus...

Posted: Tue Mar 20, 2007 1:24 pm
by garvinhicking
Hi midnightflash!

Do you use the plugin to send xml-pings/announcements to foreign sites?

Hi Rince!

The entryproperties plugin is called "Extended properties for entries". Do you use a plugin called "Announce Entries"?
I see that the trackback pings go to the exit-url, not the real URL. I don't know why.
Do you use the "manual trackback" plugin?
Well - the list of plugins via sql shows 208 rows, shall I give you the complete list or are you looking for some specific?
Your DB then also holds non-installed plugins, so I'd only need the plugin names of the event plugins listed in your admin suite.

Regards,
Garvin

Re: exit tags lead back to blog

Posted: Tue Mar 20, 2007 2:26 pm
by Zugschlus
garvinhicking wrote: If you browser your serendipity_exits table, is there anything within the recent exits that corresponds to the URL you entered? Do its url_id/entry_id match the one in your entry?
my s9y_exists table does not have an url_id column. For the entry_id, there are database entries:

Code: Select all

mysql> select * from mh_s9y_exits where entry_id=523;
+----------+------------+-------+--------+-------------------+------+----------------------------------------------------+-------+
| entry_id | day        | count | scheme | host              | port | path                                               | query |
+----------+------------+-------+--------+-------------------+------+----------------------------------------------------+-------+
|      523 | 2007-03-06 |    15 | http   | blog.zugschlus.de |      | /archives/344-Looking-for-useable-CA-software.html |       |
|      523 | 2007-03-07 |    14 | http   | blog.zugschlus.de |      | /archives/344-Looking-for-useable-CA-software.html |       |
|      523 | 2007-03-08 |     2 | http   | blog.zugschlus.de |      | /archives/344-Looking-for-useable-CA-software.html |       |
|      523 | 2007-03-09 |     8 | http   | blog.zugschlus.de |      | /archives/344-Looking-for-useable-CA-software.html |       |
|      523 | 2007-03-10 |     1 | http   | blog.zugschlus.de |      | /archives/344-Looking-for-useable-CA-software.html |       |
|      523 | 2007-03-12 |     2 | http   | blog.zugschlus.de |      | /archives/344-Looking-for-useable-CA-software.html |       |
|      523 | 2007-03-15 |     1 | http   | blog.zugschlus.de |      | /archives/344-Looking-for-useable-CA-software.html |       |
|      523 | 2007-03-16 |     1 | http   | blog.zugschlus.de |      | /archives/344-Looking-for-useable-CA-software.html |       |
|      523 | 2007-03-17 |     1 | http   | blog.zugschlus.de |      | /archives/344-Looking-for-useable-CA-software.html |       |
|      523 | 2007-03-18 |     2 | http   | blog.zugschlus.de |      | /archives/344-Looking-for-useable-CA-software.html |       |
|      523 | 2007-03-20 |     2 | http   | blog.zugschlus.de |      | /archives/344-Looking-for-useable-CA-software.html |       |
+----------+------------+-------+--------+-------------------+------+----------------------------------------------------+-------+
11 rows in set (0.00 sec)
garvinhicking wrote: When you upgraded your s9y, are you sure you uploaded all files properly, especially the include/functions*.* files?
I am running from an svn checkout from svn://svn.berlios.de/serendipity/branches/1.1 which seems to be fine. svn status only shows my uploads directory, some templates, a manual change to fix a bug in event_spamblock, and the spartacus plugins.
garvinhicking wrote: If you use the entryproperties plugin, do you have caching enabled? That could be a possible source of the problem.
Yes, I have caching enabled. I am reluctant to disable this to reduce impact on the server. Shall I do so for testing?
garvinhicking wrote: When you save your entry, do you perform trackbacks/url pings? Can you make sure they succeed, or save your entry without performing xmlrpc pings?
I have saved the offending article once more, s9y did not send out the trackback this time, and the link is still broken.

[

Spartacus 2.9, Transforms HTML for comments 1.01, Spam Protector (SURBL) 1.0, Spam Protector (RBL) 1.0, Spam Protector 1.61, Tagging of entries 2.36, Tooltips 1.2, Trackback-Control 1.6, Extended properties for entries 1.13, Versioning of Entries 0.3, Category Assignment 1.0, Link List 1.4, POPfetcher 1.6, Layout-Plugin Link-Markup 1.0, Layout-Plugin Printerfriendly version 1.0, Layout-Plugin Quote-Markup 1.0, Properties/Templates of categories 0.6, Tempalte chooser 1.4, User Profiles 0.14, HTML Link Metatags 1.1, Google Sitemap Generator 0.12, Links to next/previous entry 1.23, Validates authors login 1.01, Show read/unread state of entries for visitors 1.1, Statistics 1.44, Markup, NL2BR 1.7, Markup: Serendipity 1.3, PLUGIN_EVNT_QUOTES_NAME 1.0, Markup: Wordwarp long text 1.01, Markup: Track exists 1.8, Gravatar/Favatar 1.2, Fix common XHTML errors 1.5, HTML Validator 1.0. There really should be a front-end to obtain a pastable list of installed plugins ;) or at least a documented database query.

Greetings
Marc

Re: exit tags lead back to blog

Posted: Tue Mar 20, 2007 2:46 pm
by garvinhicking
Hi!

Sorry, was pointing you to the wrong database table. Not s9y_exits but s9y_references is the one that's important for me :(
I am running from an svn checkout from svn://svn.berlios.de/serendipity/branches/1.1 which seems to be fine. svn status only shows my uploads directory, some templates, a manual change to fix a bug in event_spamblock, and the spartacus plugins.
Ah, okay. All the better. In that case it would definitely need to work.
Yes, I have caching enabled. I am reluctant to disable this to reduce impact on the server. Shall I do so for testing?
Since it's not the real solution to the problem, you don't need to do that. Now that I know you're running that plugin, I believe that dependencies with it can be the problem.

Thanks for the list of plugins; it's a fairly long list, but I think it should work with those.

Well, now I only need to reproduce this problem on my host. You don't happen to know the circumstances under which it maybe could be reproduced?

Best regards,
Garvin

Re: exit tags lead back to blog

Posted: Tue Mar 20, 2007 2:56 pm
by Zugschlus
garvinhicking wrote: Sorry, was pointing you to the wrong database table. Not s9y_exits but s9y_references is the one that's important for me :(

Code: Select all

mysql> describe mh_s9y_references;
+----------+------------------+------+-----+---------+----------------+
| Field    | Type             | Null | Key | Default | Extra          |
+----------+------------------+------+-----+---------+----------------+
| id       | int(11)          |      | PRI | NULL    | auto_increment |
| entry_id | int(10) unsigned |      | MUL | 0       |                |
| link     | text             | YES  |     | NULL    |                |
| name     | text             | YES  |     | NULL    |                |
| type     | varchar(128)     |      | MUL |         |                |
+----------+------------------+------+-----+---------+----------------+
5 rows in set (0.01 sec)

mysql> select * from mh_s9y_references where entry_id=523;
+------+----------+----------------------------------------------------------------------------+----------------------+------+
| id   | entry_id | link                                                                       | name                 | type |
+------+----------+----------------------------------------------------------------------------+----------------------+------+
| 2228 |      523 | http://blog.zugschlus.de/archives/344-Looking-for-useable-CA-software.html | useable CA Software, |      |
+------+----------+----------------------------------------------------------------------------+----------------------+------+
1 row in set (0.00 sec)

mysql>
garvinhicking wrote: You don't happen to know the circumstances under which it maybe could be reproduced?
All I know that is occurs frequently during normal operation of my blog.

Greetings
Marc

Re: exit tags lead back to blog

Posted: Tue Mar 20, 2007 3:01 pm
by garvinhicking
Hi!

Ah, I see the error. In the database the ID is 2228, but the exit.php leads to ID 2227.

Looks like some strange "off by one" error, maybe caused by saving an entry multiple times.

I'll try to reproduce it here. Editing your database and setting the ID to 2228 should fix it temporarily.

Regards,
Garvin

Re: Same Problem as Zugschlus...

Posted: Tue Mar 20, 2007 3:55 pm
by midnightflash
garvinhicking wrote:Do you use the plugin to send xml-pings/announcements to foreign sites?
Yes I do.

Re: Same Problem as Zugschlus...

Posted: Wed Mar 21, 2007 11:55 am
by garvinhicking
Hi!

I was able to reproduce and fix this behaviour in the current snapshots:

http://svn.berlios.de/viewcvs/serendipi ... 2&view=rev

The patch involved a more complicated URL checking, so I can't easily backport this to 1.1.2.

If possible, please try this patch and see if it has any side effects on sending trackbacks? (though I doubt that this will create other problems) :)

Best regards,
Garvin

Re: Same Problem as Zugschlus...

Posted: Wed Mar 21, 2007 12:04 pm
by Zugschlus
garvinhicking wrote: The patch involved a more complicated URL checking, so I can't easily backport this to 1.1.2.

If possible, please try this patch and see if it has any side effects on sending trackbacks? (though I doubt that this will create other problems) :)
Do you want me to upgrade to a development snapshot for testing? If so, please send me the SVN url to track - I'd like to go back to the released code once you have released for the next time though. I'd appreciate if changing back would be possible by just chaning to a different SVN url as well.

Greetings
Marc

Re: Same Problem as Zugschlus...

Posted: Wed Mar 21, 2007 12:09 pm
by garvinhicking
Hi Marc!

You don'T need to upgrade everything, just apply that patch to your installation. you can simply use the whole serendipity_handle_references() function like in the new file and put it into your current functions_trackbacks.inc.php file.

You can browse the SVN files here:

http://svn.berlios.de/viewcvs/trunc/include/

I don't think that a 1.1.3 release will be made anytime soon only because of this bug, though.

Best regards,
Garvin

Posted: Wed Mar 21, 2007 2:55 pm
by Jürgen Hösch
Thx for that fix. That problem has been bugging me for a while..

Posted: Wed Mar 21, 2007 3:01 pm
by Rince
I can confirm that after disabling caching in the "Erweiterte Eigenschaften" (Advanced Properties)-Plugin the links work again - thanks for finding the bug ;)

Posted: Mon Apr 23, 2007 12:29 pm
by garvinhicking
Hi!

This bug has been fixed in Serendipity 1.2 snapshots.

To prevent it from happening on your blog with an older s9y version you either need to:

1. Disable caching of the 'entryproperties' plugin

or

2. Disable the "Track Exits" event plugin. If you are also using the entryproperties caching plugins, you might need to rebuild the cache for your entries ("Cache all entries" link in admin sidebar).

HTH,
Garvin