Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 12 years ago

#936 closed defect (bug) (fixed)

upgrading 1.0.3 to trunk 1680 - sql error [has-patch]

Reported by: djpaul's profile DJPaul Owned by:
Milestone: 1.2 Priority: minor
Severity: Version:
Component: Keywords: has-patch
Cc:

Description

[23-Aug-2009 15:06:16] WordPress database error Duplicate key name 'useritem' for query ALTER TABLE wp_bp_notifications ADD KEY useritem (user_id, is_new) made by require_once, require, do_action, call_user_func_array, bp_core_check_installed, bp_core_install, dbDelta

Attachments (1)

dbdelta-fix.diff (454 bytes) - added by rvenable 12 years ago.

Download all attachments as: .zip

Change History (5)

#1 @apeatling
13 years ago

  • Milestone changed from 1.1 to 1.2

Similar situation to #682.

#2 @apeatling
12 years ago

  • Milestone changed from 1.2 to 1.2.1

#3 @rvenable
12 years ago

  • Keywords has-patch added
  • Milestone changed from 1.2.1 to 1.2
  • Summary changed from upgrading 1.0.3 to trunk 1680 - sql error to upgrading 1.0.3 to trunk 1680 - sql error [has-patch]

I ran into this bug, and fixed it. It is because dbDelta does not accept whitespace in between the column names in index definitions.

#4 @apeatling
12 years ago

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

(In [2652]) Fixes #936 props rvenable

Note: See TracTickets for help on using tickets.