hi. i am create cb(and joomla) user via cbAPI. Almost in each 500 user i see some of users not correctly create in cb but they create in joomla.i use cb Tools and get this result:
Code:
Checking Users Database:
Warning: 2 entries in Community Builder comprofiler table without corresponding user table rows.
Following comprofiler id: 7691, 8411 are missing in user table
This one can be fixed using menu Components / Community Builder / tools and then click "Synchronize users".
Warning: 14 entries in users table without corresponding comprofiler table rows.
users id: 12053, 12054, 12282, 13266, 13267, 14036, 14039, 14040, 14042, 14046, 14101, 14107, 14146, 14147 are missing in comprofiler table
This one can be fixed using menu Components / Community Builder / tools and then click "Synchronize users".
users table has no zero id row.
comprofiler table has no zero id row.
Warning: 1 entries in comprofiler table with user_id <> id.
comprofiler id=6434 is different from user_id=0.
This one can be fixed using menu Components / Community Builder / tools and then click "Synchronize users".
All users table rows have ACL entries in user_usergroup_map table.
All ACL user_usergroup_map table rows have corresponding entries in users table.
1-why this occur ? Is it due to the use of api? (also I have Xdebug on server if you have any advise to use that for finding problem)
2-how to prevent that?
i understand that is can use Synchronize users to fix.
You've 2 users that exist in CB that don't exist in Joomla. You've 14 users that exist in Joomla that don't exist in CB. You've 1 user who's user_id column doesn't match the id column. We do not provide custom implementation assistance. You will need to debug and fix your custom implementation. CB Connect creates users directly using API; you can review its code for further examples.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.