sskhalsa
Member
Posted 18 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.
sskhalsa
Member
Posted 18 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?
Are you deleting blogs? If you do, that does create some gaps in the numbering.
phil2711
Member
Posted 18 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!