Skip to Content Skip to Menu

User sync issue

  • halvarss
  • halvarss
  • OFFLINE
  • Posts: 6
  • Thanks: 0
  • Karma: 0
6 years 10 months ago #301308 by halvarss
User sync issue was created by halvarss
We are using Community Builder registration feature for a user registration. It will copy all the user data from jos_comprofiler table to jos_users table in database.

In Community Builder menu we can see Tools menu item; under it we have buttons ’Synchronize Users’ and ’Check Users Database’.

Pressing ’Synchronize Users’ will give an error message: SQL error Subquery returns more than 1 row . I check it few weeks ago and it worked fine.

Pressing ’Check Users Database’ infroms that everything is fine.

Checking Users Database:
All Community Builder comprofiler table rows have links to user table.
All users table rows have links to comprofiler table.
users table has no zero id row.
comprofiler table has no zero id row.
All rows in comprofiler table have user_id columns identical to id columns.
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.

Question:
- Do you have any idea where to check the user sync problem in jos_comprofiler or jos_users tables?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
6 years 10 months ago #301321 by krileon
Replied by krileon on topic User sync issue
Can't see how the sync query could throw "SQL error Subquery returns more than 1 row ". Review your _comprofiler table and ensure every row has the same value for id and user_id columns and ensure there's no duplicates (shouldn't be possible). If issue persists ensure Joomlas database is up to date by running Joomlas database tool within Extensions > Manage > Database.


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.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum