[wpmu-trac] [WordPress MU Trac] #232: Broken "New Blog" Link

WordPress MU Trac wpmu-trac at lists.automattic.com
Tue Jan 23 07:26:55 GMT 2007


#232: Broken "New Blog" Link
------------------------+---------------------------------------------------
 Reporter:  vdachev     |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  high        |   Milestone:  WPMU 2.0
Component:  component1  |     Version:  2.0     
 Severity:  trivial     |    Keywords:          
------------------------+---------------------------------------------------
 When I tried creating a blog using wp-signup.php , I came across a bug in
 the install_blog() function in wp-include/wpmu-functions.php that tries to
 insert some rows in $wpdb->sitecategories. Due to a column change in the
 table, the number of fields in the table exceeds the number of values
 passed to the INSERT statement. Columns should be explicitly defined like
 this:
 [[BR]][[BR]]
 ''$wpdb->query( "INSERT INTO " . $wpdb->sitecategories . " (cat_ID,
 cat_name, category_nicename, last_updated) VALUES (0, 'Blogroll',
 'blogroll', NOW())" );''
 [[BR]][[BR]]
 This bug seems to exist in the step3() function of index-install.php too.

 P.S. I tried this on a nightly build from 2007-01-17

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/232>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list