The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (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.31 (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.31 (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.31 (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.31 (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.31 (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.31 (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.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Error 500 - Allowed memory size of 268435456 bytes exhausted - 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: Error 500 - Allowed memory size of 268435456 bytes exhausted (/showthread.php?tid=11786)



Error 500 - Allowed memory size of 268435456 bytes exhausted - trec-r - Feb 16th, 2016

First time using form tools and everything looks like it is going well. I am adding form tools to a preexisting external site and form. I used the direct method and followed the steps. After the initial steps I removed the following line as instructed.

Code:
<input type="hidden" name="form_tools_initialize_form" value="1" />

At this point I uploaded the html, refreshed the page, checked source, and resubmitted the form. That is when I got the error 500. Checking the error logs each time it is the same.

Code:
PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes)

I am using Form Tools v 2.2.6 on CentOS6.7 PHP 5.5.30. Ran system checks, however they would not complete any of the Table Verification tests. All other tests ran fine.


RE: Error 500 - Allowed memory size of 268435456 bytes exhausted - alexh - Mar 1st, 2016

Not sure why it's doing that, do you have a lot of form fields in this particular form?

You should be able to modify your php.ini to increase your memory_limit to something higher than what you have currently provisioned. This might be something your hosting provider can do if you are not familiar with it. That's the only thing I can think of!


RE: Error 500 - Allowed memory size of 268435456 bytes exhausted - trec-r - Mar 26th, 2016

Going to give this another try. I am trying to adapt a basekit site to plain html and use form tools. This is for a simple contact form with 4 fields. The error is happening on line 204 of the process.php, the last line of the if for below.

Code:
if ($form_info["submission_strip_tags"] == "yes")
        {
          for ($i=0; $i<count($value); $i++)
            $value[$i] = strip_tags($value[$i]);
        }

I am guessing it is getting stuck in a loop at that point. I am going to check the form to make sure syntax is correct. Other than that not sure how to fix this.


RE: Error 500 - Allowed memory size of 268435456 bytes exhausted - trec-r - Mar 26th, 2016

Found the problem. The name attribute in the input tag used square brackets. After removing the brackets the form is working fine.