Skip to Content Skip to Menu

ID on comprofiler table not auto increment

12 years 9 months ago #188903 by bytekultur
ID on comprofiler table not auto increment was created by bytekultur
Hi All, I try to connect a chronoform with CB by adding the user to the comprofiler table "manually". If there is a better solution (Joomla 1.7 and CB 1.7.1) I am glad to know but by all posts I have researched it isn't.

So I do an "INSERT INTO #__comprofiler ..." query, but I realised while testing that the id is primary, but not auto increment in my database. Is this for a certain reason or should it actually be auto increment?

I ask because before I change it manually and risk to work against the system, I would like to know what consequence it might have.

Thanks in advance for any feedback.
Terry

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
12 years 8 months ago #189403 by krileon
Please understand the CBSubs support forums are for CBSubs related support, it's not a replacement for Advanced or Professional support where more general topics are accepted; thread moved.

Regarding your issue you can't manually insert users, it won't work; it must be done through API. The user_id column will not increment. The id column will however as it's setup as the auto increment column in in 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