Skip to:
Content
Pages
Categories
Search
Top
Bottom

Can't Install any version of BP


  • AutomatedKid
    Participant

    @automatedkid

    From bad to worse!

    Scenario: bp and wp in a multisite setup

    I previously had a fresh install of bp 1.6.1 and wp 3.4.2 somewhat working where it gave me registration link errors on subsites and missing “my links” menu item, and now thinking an upgrade would solve my problems, now I can’t install bp no matter what, either bp 1.6.2 & wp 3.5 or bp 1.6.1 & wp 3.4.2, or any combo, respectively. Unfortunately I lost my previous backup folder in the middle of night thinking I was deleting an older, older backup and that wasn’t the case, so now I’m stuck with nothing. Anyways…

    With this new install I tried with a few plugins installed and disabled, no plugins installed whatsoever from a fresh install, and I get the same issue, blank admin screens, can’t update bp from 1.6.1 to 1.6.2 either from ftp or install menu, etc. I was able to rename the bp folder to get back into the site, however that serves me no good when I need to at least get an older version of bp installed on the site.

    Yes, I know, I’m just ranting since I can’t even replicate getting to the previous point I had before with the issues I had. Yikes!

    I am able to install a fresh wp 3.5 multisite setup on its own, had a minor issue with disabling and re-enabling the themes to clear errors, and was even able to register / login via a subsite, and all seems to work just fine. It’s only when I introduce bp into the mix that things start getting crazy.

    If anyone can tell me what I am doing wrong, I’d really appreciate it, since no sleep is taking a toll on me.

Viewing 8 replies - 1 through 8 (of 8 total)
  • If you get a white screen when activating, look in your web server’s error log and let us know what the messages are. You may need to ask your web host for support if you aren’t sure how to access the log.


    AutomatedKid
    Participant

    @automatedkid

    Hey Paul, thanks for the reply!

    I somewhat discovered part of the problem: I completely overlooked the php.ini and the modified htaccess file when reinstalling wp, which now allowed me to finalize the install of bp.

    However, when trying to activate the default bp theme on the primary site I get the dreaded “Cheatin’ uh?” screen. Heck, I wish I could’ve cheated with this damn thing! lol

    If you could possibly guide me along, and maybe a question or two after this one, I’d really appreciate it and hopefully it may also help others out in a similar situation right now.


    AutomatedKid
    Participant

    @automatedkid

    update: reinstalled wp 3.5 and bp 1.6.2 and all is well with default bp template, accessing setup pages, registering via the top toolbar, accessing the forum, etc.

    But I am now back to square one with the wp meta widget ‘register’ link where it takes me to myprimarysite.com/blogs/create, not myprimarysite.com/register link, like it should. I verified the pages setup in bp, saved it again to be sure, still the same issue. And on the primary site the meta register link goes to the correct form. On all sites the top toolbar register and log in links work just fine.

    ——
    To others: If you are experiencing a similar situation like I started with, verify your php.ini and/or htaccess file setup in your root directory, to possibly save yourself a lot of time. Also, backup, backup and backup!! And don’t accidently delete a backup folder unless you know for sure you won’t need them anymore!


    AutomatedKid
    Participant

    @automatedkid

    Here are the 3 error logs when clicking the meta register link

    WordPress database error Multiple primary key defined for query ALTER TABLE wp_PRIVATE_usermeta ADD PRIMARY KEY (umeta_id) made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), call_user_func_array, bp_template_redirect, do_action(‘bp_template_redirect’), call_user_func_array, bp_screens, do_action(‘bp_screens’), call_user_func_array, bp_forums_directory_forums_setup, do_action(‘bbpress_init’), call_user_func_array, bp_forums_load_bbpress, bp_bb_dbDelta

    WordPress database error Multiple primary key defined for query ALTER TABLE wp_PRIVATE_users ADD PRIMARY KEY (ID) made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), call_user_func_array, bp_template_redirect, do_action(‘bp_template_redirect’), call_user_func_array, bp_screens, do_action(‘bp_screens’), call_user_func_array, bp_forums_directory_forums_setup, do_action(‘bbpress_init’), call_user_func_array, bp_forums_load_bbpress, bp_bb_dbDelta

    WordPress database error Duplicate key name ‘user_nicename’ for query ALTER TABLE wp_PRIVATE_users ADD UNIQUE KEY user_nicename (user_nicename) made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), call_user_func_array, bp_template_redirect, do_action(‘bp_template_redirect’), call_user_func_array, bp_screens, do_action(‘bp_screens’), call_user_func_array, bp_forums_directory_forums_setup, do_action(‘bbpress_init’), call_user_func_array, bp_forums_load_bbpress, bp_bb_dbDelta

    thank you.


    AutomatedKid
    Participant

    @automatedkid

    update: verified all sites are set to permalinks “day and name”

    verified “register” page in bp pages setup is set to “register” but the view link takes me to primarysite.com, not primarysite.com/register

    and discovered the following error in the phpadmin, possibly the culprit, not sure:

    Problems with indexes of table wp_PRIVATE_users

    The indexes user_login and user_login_key seem to be equal and one of them could possibly be removed.

    If you have site creation enabled, the link going to myprimarysite.com/blogs/create/ makes sense, as myprimarysite.com/register/ is primarily used for new user registrations.

    The database warnings don’t appear to be critical; thanks for checking them out.


    AutomatedKid
    Participant

    @automatedkid

    That’s the problem, I tested again with “User accounts may be registered” setting – not “Both sites and user accounts can be registered” enabled – and I’m getting the page not found since it’s looking for /blogs/create/ and somehow not directing to /register/. Again, this is via the wp meta widget > register link.

    I’m also getting the same error when trying to click the “register” link attached to the login screen on a site other than the primary.

    I found a filed bug from 10 months ago, it says that it’s fixed, but I am somehow recreating that same issue…today! lol

    Here’s a link to ticket # 4032 on trac: https://buddypress.trac.wordpress.org/ticket/4032

    So do you think those 3 errors I posted above regarding the user login key and the message “The indexes user_login and user_login_key seem to be equal and one of them could possibly be removed.” found in the phpadmin panel, there is no correlation and I shouldn’t be concerned with either message?

    [RESOLVED – for some reason when I enabled the other theme it disabled the default bp-theme in the network. Once it was re-enabled it, no Cheatin Uh? message] Lastly, not related to this same topic, but I thought I resolved the Cheatin Uh? message after reinstall, only to discover when changing to a different bp theme, then trying to switch back to the default bp-theme, I get that dang message again! [/]

    Thanks again.


    AutomatedKid
    Participant

    @automatedkid

    Any thoughts, Paul?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Can't Install any version of BP’ is closed to new replies.
Skip to toolbar