Skip to:
Content
Pages
Categories
Search
Top
Bottom

Getting Rss Error

  • Avatar of Nightstalker101
    nightstalker101
    Participant

    @nightstalker101

    Hi,

    I´m getting the folowing Error in my Rss Feed:

    Warning: cannot yet handle MBCS in html_entity_decode()! in /kunden/164714_98574/charly-beta/wp-content/plugins/buddypress/bp-activity/bp-activity-templatetags.php on line 287

    But: The latest activity gets dispalyed corretly. ( http://pc-store.org/activity/feed )

    Why?

    Lars

Viewing 8 replies - 1 through 8 (of 8 total)
  • It is because you are running PHP4. See http://bugs.php.net/bug.php?id=27626. I suggest you upgrade to PHP5 (PHP4 was end-of-life’d on 2008-08-08).

    There might be a workaround but I’m unwilling to suggest it as I haven’t got a PHP4 installation that I can test it on.

    Avatar of Nightstalker101
    nightstalker101
    Participant

    @nightstalker101

    I can not change that,my provider is responsible for that, is there still any other solution?

    Lars

    Avatar of Mattlay
    mattlay
    Participant

    @mattlay

    Same situation here this is a setback.

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Go to your bp-activity-templatetags.php file and change this line from:

    return apply_filters( 'bp_get_activity_feed_item_description', html_entity_decode( str_replace( '%s', '', $activities_template->activity->content ), ENT_COMPAT, 'UTF-8' ) );

    to:

    return apply_filters( 'bp_get_activity_feed_item_description', utf8_decode( str_replace( '%s', '', $activities_template->activity->content ) ) );

    Not sure if this will work, but worth a shot!

    Avatar of Mattlay
    mattlay
    Participant

    @mattlay

    I managed to fix it using this thread and advice from the venerable Trent.

    http://buddypress.org/forums/topic/forum-install-some-helping-hints-2/page/2#post-4804

    Avatar of Paul Gibbs
    Paul Gibbs
    Keymaster

    @djpaul

    Going to mark this as resolved because we’ve got at least one useful link for others to find.

    Avatar of jiaju99
    jiaju99
    Participant

    @jiaju99

    @r-a-y:

    I have resolve this problem.But Chinese displays ??? in buddypress rss url

    co.jiaju99.com/members/yijia/activity/feed

    Why?

    @r-a-y that’s a different issue which relates to non-latin characters in URLs and BuddyPress slugs

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.