The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
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 |