The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Help - Form Field Could not be added - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Help - Form Field Could not be added (/showthread.php?tid=23672)



Help - Form Field Could not be added - scottbud - Apr 18th, 2017

Hello all,

New here and hoping you can help me with a small hick-up.
I'm running 2.2.6
I have created a form with 92 fields, most of the fields are a simple text box with a few other types thrown in for good measure.

Trying to add another "textbox" field and I am getting the below error, can someone help point me in the right direction?

Error Message as follows:

X The form field 'Description' could not be added. "Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs"

Cheers
Scott


RE: Help - Form Field Could not be added - scottbud - Apr 20th, 2017

Bump... any ideas anyone?


RE: Help - Form Field Could not be added - paullittrell - Apr 21st, 2017

Without knowing what your schema, you are running into a width problem for your row. Here is a link that describes the issue you are having.

https://dev.mysql.com/doc/refman/5.7/en/column-count-limit.html

If you are leaving the field length the default width of 255, you can quickly hit the maximum width for InnoDB tables. what you can do is go back through your field and determine, what the field is going to be used for and limit the size to only what you need.

For example, I have field for States limited to 3 char, as I use an abbreviation in that field. I have some forms that have Yes/No answers, and again that field is limited to just 3 char. If you find in the future that you didn't create the field wide enough, you can always increase it on fly to fit.

Hope this helps.
Cheers

(Apr 18th, 2017, 4:18 AM)scottbud Wrote: Hello all,

New here and hoping you can help me with a small hick-up.
I'm running 2.2.6
I have created a form with 92 fields, most of the fields are a simple text box with a few other types thrown in for good measure.

Trying to add another "textbox" field and I am getting the below error, can someone help point me in the right direction?

Error Message as follows:

X The form field 'Description' could not be added. "Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs"

Cheers
Scott



RE: Help - Form Field Could not be added - scottbud - Apr 24th, 2017

Thanks so much!
That solved the issue.


(Apr 21st, 2017, 6:40 AM)paullittrell Wrote: Without knowing what your schema, you are running into a width problem for your row. Here is a link that describes the issue you are having.

https://dev.mysql.com/doc/refman/5.7/en/column-count-limit.html

If you are leaving the field length the default width of 255, you can quickly hit the maximum width for InnoDB tables. what you can do is go back through your field and determine, what the field is going to be used for and limit the size to only what you need.

For example, I have field for States limited to 3 char, as I use an abbreviation in that field. I have some forms that have Yes/No answers, and again that field is limited to just 3 char. If you find in the future that you didn't create the field wide enough, you can always increase it on fly to fit.

Hope this helps.
Cheers

(Apr 18th, 2017, 4:18 AM)scottbud Wrote: Hello all,

New here and hoping you can help me with a small hick-up.
I'm running 2.2.6
I have created a form with 92 fields, most of the fields are a simple text box with a few other types thrown in for good measure.

Trying to add another "textbox" field and I am getting the below error, can someone help point me in the right direction?

Error Message as follows:

X The form field 'Description' could not be added. "Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs"

Cheers
Scott