Import from old bbPress broken when bbPress uses WP user tables (3 posts)

  1. Milan Petrovic
    Posted 4 years ago #

    I have bbPress installation that shares user tables with the WordPress installation. When I try to import data to new format, I get following errors for each topic/reply:

    WordPress database error: [Table 'bb_usermeta' doesn't exist]
    SELECT user_id FROM bb_usermeta WHERE meta_key = 'bb_favorites' AND FIND_IN_SET( 140, meta_value ) > 0

    This is only for favorites data, but still, this should be fixed.


  2. John James Jacoby
    BuddyPress/bbPress Lead
    Plugin Author

    Posted 4 years ago #

    Weird. If your users tables are shared, I wonder why bbPress thinks 'bb_usermeta' is the name of your users tables. It should be getting the table names directly from you wp-config.php and bb-config.php files, respectively.

    Are you able to trouble-shoot or investigate further?

  3. Milan Petrovic
    Posted 4 years ago #

    I couldn't wait for the solution, since the support forum needed to be transfered quickly, so I simply made a copy of WP users tables to BB users tables to make import.

    But, bb-config.php doesn't have users tables names set at all. I was using latest SVN trunk version of the bbPress, and integration with WP was controlled by some database settings, including the users tables.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • bbPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic