[wp-trac] [WordPress Trac] #16568: Network install disables site when blog_id is not 1
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 15 20:07:04 UTC 2011
#16568: Network install disables site when blog_id is not 1
--------------------------+----------------------------
Reporter: wpmuguru | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Multisite | Version: 3.0.5
Severity: normal | Keywords:
--------------------------+----------------------------
This is an edge case and only occurs when MySQL is configured to skip
numbers in auto number fields.
The network install inserts the blog record and allows MySQL to assign the
blog_id. The blog prefix logic in wpdb depends on the blog_id of the main
blog being 1.
The manual fix for this is to edit the DB and change the blog_id of the
main blog to 1. Between being an edge case and a relatively easy fix, this
isn't severe, imo.
Forum thread: http://wordpress.org/support/topic/database-error-when-
enabling-mutlisite
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16568>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list