Skip to Content Skip to Menu

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

CB 2.0.10 Row Size to Large

  • moomoo7
  • moomoo7
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
9 years 2 months ago #269789 by moomoo7
CB 2.0.10 Row Size to Large was created by moomoo7
Hi
I am using CB 2.0.10
I am wondering, I get this error, 500 from the server.

I am running a sql command
$query
->select($inputnames)
->from('#__comprofiler')
->where('user_id='.$user->id);

Error
1118
Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row format, BLOB prefix of 768 bytes is stored inline. SQL=UPDATE `_comprofiler` SET cb_s4p8q5="" WHERE user_id=672

I have alot of fields in the table _comprofiler.
233 fields when i use phpMyAdmin.
All the fields were created in community builder.

I believe my problem is I have to many columns/fields in that table.
Am i right?

I have tried all the options in tools, all fields are green and there is no fix button, because I believe all the fields are text.
I have put the fields into different tabs but does move those fields into a new table.

What do you suggest?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48471
  • Thanks: 8280
  • Karma: 1443
9 years 2 months ago #269806 by krileon
Replied by krileon on topic CB 2.0.10 Row Size to Large
You have too many fields. Change your database engine for the CB database tables (all _comprofiler, _cbsubs, and _groupjive) to Innodb if you have not done so already and that should boost your field limit to around 1,000. If you've textareas with a large amount of information in them though that will cause problems for Innodb.


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