Forums

[Plugin: Gengo] Bug in comments feed (4 posts)

  1. guzmanbraso
    Member
    Posted 3 years ago #

    Hello there,

    Comments feed is not running in default language (english) neither spanish.

    Both shows a php error when the comments feed url is loaded:

    WordPress database error: [Unknown table 'l']
    SELECT SQL_CALC_FOUND_ROWS wp_posts.*, l.*, p2l.translation_group FROM wp_posts WHERE 1=1 AND wp_posts.ID IN (5) ORDER BY wp_posts.post_date DESC LIMIT 0, 10

    Best Regards,

    Guzman

  2. ChristianB
    Member
    Posted 3 years ago #

    I added a ticket and a patch to the bugtracker. See #896

  3. guzmanbraso
    Member
    Posted 3 years ago #

    Hi!

    Thanks for your reply!

    Tried the patch and has one little bug and a work around for it by change the way rss comments feed links are built.

    Right now (WordPress out of the box plus gengo) produce a link for comments feed like this:
    _YOUR_BLOG_/comments/feeds/_SUPPORTED_LANGUAGE_/
    Being _YOUR_BLOG_ your blog url and _SUPPORTED_LANGUAGE_ any language you support and have properly configured.

    In my case none was working before applying the patch.
    Now in my default language it works as expected, in my alternative language (espanish) it doesnt.

    Playing a little with it found that if you call it without the last slash, in default language works & in alternative language works great.
    However if you call it with the slash at the end of the url (and that's how WP 2.6 builds the link at the end of each post), it works well in default language but no in the alternative one.

    Examples:
    Default With Slash: http://guzman.braso.info/comments/feed/en/
    Default Without Slash: http://guzman.braso.info/comments/feed/en
    Alt With Slash (Bug): http://guzman.braso.info/comments/feed/es/
    Alt Without Slash: http://guzman.braso.info/comments/feed/es

    Kind Regards,

    Guzman

  4. pixline
    Member
    Posted 3 years ago #

    patch committed to trunk. thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags