Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[#5584] CB-Connect Error: Unknown column 'fb_userid'

  • Tegger
  • Tegger
  • OFFLINE
  • Posts: 17
  • Thanks: 1
  • Karma: 0
9 years 20 hours ago - 8 years 11 months ago #272826 by Tegger
Hello!

I'am using:
Joomla 3.4.5
CB 2.0.11
PHP 5.4.45, cURL enabled, openSSL enabled

Successfully installed the CB Connect 7.0.0 beta 4.
Strictly follow the Facebook configuration manuals ( (from here , and from here too).
And after trying to frontend facebook login, there was an error:

Failed to retrieve Facebook profile. Error: Unknown column 'fb_userid' in 'where clause' SQL=SELECT `id` FROM `tnq15_comprofiler` WHERE `fb_userid` = '990947080961399'

I uninstall CB Connect 7.0.0. beta 4, and install 7.0.0. beta 3 - results the same.
Uninstall CB Connect 7.0.0. beta 3, and install 6.0.5 - results the same.

Try the Google login, that results the same with 'google_userid'.

I check the field manager, and there are cb_fb_userid, cb_google_userid, etc. And there aren't any fb_userid, google_userid, etc.
You mentioned in a former topic that during the CB Connect install the program must create fb_userid instead of cb_fb_userid (and must do the same with the other social logins).

It seems that in my case the program makes cb_ prefix at the install.
What can I do since I cannot change these field names.

Thank you!
Last edit: 8 years 11 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
8 years 11 months ago #272870 by krileon
Replied by krileon on topic CB-Connect Error: Unknown column 'fb_userid'
The fields should not be prefixed with cb_, not sure why they are. Navigate to _comprofiler_fields and delete the cb_fb_userid, cb_google_userid, etc.. fields then re-install CB Connect 7.x Beta to see if the fields will create properly. Please ensure you have latest CB 2.0.12 before installing CB Connect 7.x Beta.


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.

  • Tegger
  • Tegger
  • OFFLINE
  • Posts: 17
  • Thanks: 1
  • Karma: 0
8 years 11 months ago #272892 by Tegger
Hello!

Thanks your advice!
Ok, I delete all of the cb_fb_userid, cb_google_userid, etc. fields in Plugin menu.
Uninstall former CB Connect.
Update CB from 2.0.11 to 2.0.12.

Install the newest CB Connect module 7.0.0 beta 4.
And there were again the cb_ prefix in all of the fieldname of social login fields.
I went to phpmyadmin and manually changed the record: cb_fb_userid to fb_userid.

And after I try to login form frontend there is a new error:

Sign up with Facebook is not permitted.

I think the bad fieldnames problem is solved, but why is the ban still standing?

I really want to use your social connection module.
Thanks.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
8 years 11 months ago #272916 by krileon
Replied by krileon on topic CB-Connect Error: Unknown column 'fb_userid'

And there were again the cb_ prefix in all of the fieldname of social login fields.

Strange, that shouldn't be happening will test and see if there's a problem in CB it self or CB Connect.

Sign up with Facebook is not permitted.

This means Facebook either isn't configured or isn't enabled. Please see the below tutorial for configuring it.

www.joomlapolis.com/forum/6-news-and-publicity/229505-configuring-cb-connect-7x#263227


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.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
8 years 11 months ago #272921 by krileon
Replied by krileon on topic CB-Connect Error: Unknown column 'fb_userid'
Ok, looks like it's a bug in CB directly. You should be able to fix it by re-installing CB Connect and it should create the proper fields. You maybe able to then delete the old ones.

forge.joomlapolis.com/issues/5584


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