Skip to:
Content
Pages
Categories
Search
Top
Bottom

[SOLVED] HELP: When do tables for BP get created in my WP database?

  • The issue was a memory issue setting in .htaccess on my server since I do not have access to php.ini

    Found answer here, so thanks to all who offered their expertise!!

    — Jim


    ORIGINAL POST


    Hi all,
    Installed WP 3.1 – works fine
    Installed BP 1.2.8 – I see it, ready to activate it
    –> Activate [CLICK] – nothing… blank screen

    I looked in my log and it appears that some tables are not there.
    I look at my database and sure enough, the only tables are the wp_ tables after installing WP
    Soon as I delete the buddypress directory from my server, everything comes back to normal.

    QUESTION: When in the installation process (or activation process) do the wp_bp_* tables get created?

    My specific log errors are listed below;
    [25-Mar-2011 04:24:39] WordPress database error Table ‘370118_HSPOT_wp_2011.wp_bp_xprofile_data’ doesn’t exist for query SELECT value FROM wp_bp_xprofile_data WHERE field_id = 1 AND user_id = 1 made by require_once, require_once, require_once, require_once, do_action, call_user_func_array, bp_loaded, do_action, call_user_func_array, bp_setup_globals, do_action, call_user_func_array, bp_core_setup_globals, bp_core_get_user_displayname, xprofile_get_field_data, BP_XProfile_ProfileData->get_value_byid
    [25-Mar-2011 04:24:39] WordPress database error Table ‘370118_HSPOT_wp_2011.wp_bp_xprofile_fields’ doesn’t exist for query SELECT * FROM wp_bp_xprofile_fields WHERE id = 1 made by require_once, require_once, require_once, require_once, do_action, call_user_func_array, bp_loaded, do_action, call_user_func_array, bp_setup_globals, do_action, call_user_func_array, bp_core_setup_globals, bp_core_get_user_displayname, xprofile_set_field_data, BP_XProfile_Field->bp_xprofile_field, BP_XProfile_Field->populate
    [25-Mar-2011 04:24:39] WordPress database error Table ‘370118_HSPOT_wp_2011.wp_bp_xprofile_fields’ doesn’t exist for query SELECT id FROM wp_bp_xprofile_fields WHERE id = 1 made by require_once, require_once, require_once, require_once, do_action, call_user_func_array, bp_loaded, do_action, call_user_func_array, bp_setup_globals, do_action, call_user_func_array, bp_core_setup_globals, bp_core_get_user_displayname, xprofile_set_field_data, BP_XProfile_ProfileData->save, BP_XProfile_ProfileData->is_valid_field
    [25-Mar-2011 04:24:39] WordPress database error Table ‘370118_HSPOT_wp_2011.wp_bp_groups_members’ doesn’t exist for query SELECT COUNT(DISTINCT m.group_id) FROM wp_bp_groups_members m, wp_bp_groups g WHERE m.group_id = g.id AND m.user_id = 1 AND m.is_confirmed = 1 AND m.is_banned = 0 made by require_once, require_once, require_once, require_once, do_action, call_user_func_array, bp_loaded, do_action, call_user_func_array, bp_setup_nav, do_action, call_user_func_array, groups_setup_nav, groups_total_groups_for_user, BP_Groups_Member->total_group_count
    [25-Mar-2011 04:24:39] WordPress database error Table ‘370118_HSPOT_wp_2011.wp_bp_messages_recipients’ doesn’t exist for query SELECT unread_count FROM wp_bp_messages_recipients WHERE user_id = 1 AND is_deleted = 0 AND sender_only = 0 made by require_once, require_once, require_once, require_once, do_action, call_user_func_array, bp_loaded, do_action, call_user_func_array, bp_setup_nav, do_action, call_user_func_array, messages_setup_nav, messages_get_unread_count, BP_Messages_Thread->get_inbox_count

    Thanks to any and all that can guide me along to getting these tables created/working.

    — Jim

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

  • @mercime
    Participant

    @mercime

    There are many possibilities why DB tables were not created in your install: e.g. corrupt files, the web server, CPU limitations, PHP version, memory limit etc. First thing I’d do is deactivate BuddyPress. If you installed BuddyPress via dashboard, re-upload BuddyPress files manually i.e. via FTP, cpanel, etc. Then activate BuddyPress and go to BP panel and save settings. Check database.

    If that doesn’t work, please provide more info including
    – Did you install WP in the domain root, in subdiretory or in subdomain?
    – Which company provides your hosting? Or are you running it on your computer, XAMPP, MAMP, LAMP, etc?
    – Is your server running Windows, or if Linux; Apache, nginx or something else?
    – What PHP version are you on? PHP 4 or PHP 5.2+ or PHP 5.3+?


    @mercime
    Participant

    @mercime

    @theshooter Solved? Cool. So did manual re-uploadi of BP files solve it for you?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[SOLVED] HELP: When do tables for BP get created in my WP database?’ is closed to new replies.
Skip to toolbar