Skip to Content Skip to Menu

[SOLVED] Probably a standard problem but user list does not work...

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
10 years 1 week ago - 10 years 1 week ago #251658 by timstohr
Hi

Just changed a database field name. When I click on user list, it tells me 1054 - Unknown column 'cb_areyouinterestedinbeingaddedtothedatingdatabase' in 'where clause' SQL=SELECT COUNT( DISTINCT u.id ) FROM ifm_users u JOIN ifm_user_usergroup_map g ON g.`user_id` = u.`id` JOIN ifm_comprofiler ue ON ue.`id` = u.`id` WHERE u.block = 0 AND ue.approved = 1 AND ue.confirmed = 1 AND g.group_id IN (2) AND ( `cb_areyouinterestedinbeingaddedtothedatingdatabase` = '' )

How do I get rid of this error? I changed the name of the field to cb_adddatingdatabase.
Last edit: 10 years 1 week ago by nant.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
10 years 1 week ago - 10 years 1 week ago #251689 by krileon
Looks like you added a filter for a field that doesn't exist? Check your filters on your userlist to ensure they're set correctly. As a side note that is a huge field name. Please ensure you're using CB 2.0.1 as we've made a few fixes to userlists.


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.
Last edit: 10 years 1 week ago by krileon.

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

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
10 years 1 week ago #251703 by timstohr
OK it does work now.

Thank you very much. I will know it for the next time.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
10 years 1 week ago #251764 by krileon
This shouldn't be a problem in 2.0.1 though as the filter dropdown now should only show fields with a database column. So if you created the list before 2.0.1 that would be why as it showed every field. Does that field still show in your basic filter dropdown as a selectable field? If it does you may want to run CBs database tools as it means a fields column is missing.


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