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
Limit in the number of fields - 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: Limit in the number of fields (/showthread.php?tid=375)



Limit in the number of fields - Alexis - Nov 27th, 2009

Hello

i have setup a big form with 374 fields, most of them are tiny size, but some are 20 chars, and up to " large text" size.
for now we have 64 submissions, everything is working fine, but when i wanted to download an excel file i had a memory error and had to increase PHP memory limits to 20 MB to make it work

the error was
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 2049963 bytes)

form submission was still working fine

do you know about potential problems with such big forms

thank you

alexis


RE: Limit in the number of fields - Ben - Dec 1st, 2009

Hi Alexis,

Thanks for your post!

1677721 bytes == 16 MB, which isn't all that much. Many larger PHP scripts like Drupal will require more than that, including Form Tools. 20 MB should be fine for most stuff, but I'd be tempted to double it to 32MB or even 64MB.

That should solve all your problems. It's possible that when you export really huge forms with lots and lots of submissions you'll eventually run into memory problems again, but for fringe cases like that, just download the entire content piecemeal - half at a time or something.

- Ben


RE: Limit in the number of fields - vizzaroo - Nov 17th, 2010

how does one increase the size allowed ? As I've now ran into the same problem.


RE: Limit in the number of fields - Ben - Nov 18th, 2010

Hi Vizzaroo,

You need to update your php.ini file for the Form Tools folder. Different hosts manage this differently. Some just let you add a file with that overridden value; others require you to stick it in a special subfolder somewhere.

The setting is this one:

Code:
memory_limit = 64M;

- Ben