The MU forums have moved to WordPress.org

BIG problem with user/blog creation (5 posts)

  1. sskhalsa
    Member
    Posted 17 years ago #

    I have big problem with user/blog creation. The ID #s for users and corresponding blog are not the same.

    Here are three screenshots that show the problem:

    http://www.mydietblogger.com/files/prob1.gif
    http://www.mydietblogger.com/files/prob2.gif
    http://www.mydietblogger.com/files/prob3.gif

    I really need help fixing this. Because as more blogs are created, the problem just gets worse. Thanks.

  2. sskhalsa
    Member
    Posted 17 years ago #

    bump!

  3. andrea_r
    Moderator
    Posted 17 years ago #

    Chances are no one is answering because no one knows. That is a very weird problem.

    What about lower number blogs? Are they okay? Does your host have any kind of database limits?

  4. ergate
    Member
    Posted 17 years ago #

    Are you deleting blogs? If you do, that does create some gaps in the numbering.

  5. phil2711
    Member
    Posted 17 years ago #

    Encountered a similar problem when users were allowed to add users and the ID's got out of sync (removed that since). It is not safe to always assume that blogID = userID, so you need to look in $wpdb->usermeta to find the relationship by looking for the "primary_blog" meta_key. Hope this helps!

About this Topic

  • Started 17 years ago by sskhalsa
  • Latest reply from phil2711