Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

Last modified 3 years ago

#3875 closed defect (bug) (fixed)

New install thinks it's an upgrade

Reported by: djpaul's profile DJPaul Owned by:
Milestone: 1.6 Priority: critical
Severity: critical Version:
Component: Core Keywords:
Cc:

Description

Attempting to perform a new install of BuddyPress 1.6-trunk seems to think its doing an upgrade, and loads those screens in the wizard. This prevents trunk from being able to be installed. Also see #3682 and #3802 for related issues.

Removing the '_bp_db_version' assignment from bp_get_default_options() seems to fix the issue. Also why is it adding all of those keys to the database before install, couldn't they be set in one of the wizard installation screens?

Change History (3)

#1 @boonebgorges
13 years ago

why is it adding all of those keys to the database before install

IMO this is the real root of the problem. I think it has to do with the fact that the BP core components are loaded during an installation; see https://buddypress.trac.wordpress.org/browser/trunk/bp-loader.php?annotate=blame&rev=5566#L448

#2 @boonebgorges
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [5656]) Reconfigures require() order for loading process during installation and upgrade.
Corrects outdated function calls and path names in installation wizard.
See #3740.
Fixes #3875. Fixes #3802. See #3865.

#3 @boonebgorges
13 years ago

I'll note, for posterity's sake, that I'm not thrilled about the way that we're loading things piecemeal during the installation process. But the inelegance of my solution is, for the moment, outweighed by the fact that it works :) Let's revisit in the next cycle.

Note: See TracTickets for help on using tickets.