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



Form Tools
Paypal-enabled form, blank page instead of process.php - 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: Paypal-enabled form, blank page instead of process.php (/showthread.php?tid=2388)



Paypal-enabled form, blank page instead of process.php - xcrunner529 - Feb 26th, 2013

Hello all,

I am a current user of the older Form Tools v1 and have a test install that I am working on for v2. I made some modifications to the PayPal example given for v1 to allow me to use it on multiple forms among other things.

I downloaded Ben's latest PayPal demo and it mostly looks the same so I made my same changes and named the file process.php.

I added my test form to Form Tools and after initializing successfully, tried submitting a real submission. Instead, all I get is a blank page with just my page header (it's in include on my test form). The URL at the top is still my form page as well (instead of process.php). Amusingly, in the database the same submission (the second one) is getting rewritten each time I submit another test instead of continually adding new entries (if that makes sense).

Any ideas? Below is the formtools specific code I'm using...

Code:
if (isset($mode))
{
  $params = array(
    "submit_button" => "submit",
    "next_page" => "process/success.php",
    "form_data" => $_POST,
        "finalize" => true
  );
}
else
{
  $params = array(
    "submit_button" => "submit",
    "next_page" => "process/process.php",
    "form_data" => $_POST
  );
}
ft_api_process_form($params);