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 property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/printthread.php(257) : eval()'d code 2 errorHandler->error
/printthread.php 257 eval
/printthread.php 117 printthread_multipage
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
API - Blank form browser display after API integration - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: API (https://forums.formtools.org/forumdisplay.php?fid=17)
+--- Thread: API - Blank form browser display after API integration (/showthread.php?tid=2442)

Pages: 1 2


RE: API - Blank form browser display after API integration - Joe - Jun 7th, 2013

Hi there,

We're going to need a bit more detail to help out. Please post a link to your form or provide some additional code. Thanks.

Cheers,

Joe


RE: API - Blank form browser display after API integration - im4u_fforum - Jun 21st, 2013

Hi,
Two things to consider:
1 - when does it disappear....after which action?
2. If your page is saving but when submitting your form your browser goes blank then the path is wrong as it is not locating the file (I had the same problem). Try this


...("/home/XYZ/abc/ftools/global/api/api.php")

where XYZ is your ID with which you log on to Cpanel
and abc is the main folder for your pages ("public_html" if this is so)
Note that ftools is the folder name of your form tools in which your api form is located. So write here the name of your form tools folder.

hope this helps
alok

(Jun 7th, 2013, 11:43 AM)zobok@hotmail.co.uk Wrote: Every time i add the

<?php
require_once("http://______________/ftools/global/api/api.php");
?>

to my form all the content disappears not sure where i am going wrong,

someone plllllllease help?http://forums.formtools.org/images/icons/sad.gif




RE: API - Blank form browser display after API integration - Waffleman - Nov 19th, 2013

I'm still not getting it...

I created a php page and a thank you page , also php.
It is located here:http://www.isa-niagara.org/testapiform.php

All I get is a blank page. Actually in Firefox its a blank page but in explorer I get http500 internal server error. Here is the code:
Can anyone help me?

<?php
require_once("home/isaniaga/public_html/formtools/global/api/api.php");
<!-- $fields = ft_api_init_form_page("", "test"); --->

$fields = ft_api_init_form_page(4, "initialize");

$params = array(
"submit_button" => "submit",
"next_page" => "testapiformthanks.php",
"form_data" => $_POST,
"file_data" => $_FILES,
"finalize" => true
);
ft_api_process_form($params);
?>
<Head>
<title>API form test page</title>
</HEAD>

<body>

<p>Hello world, this is my entry form</p>
<!-- <form action="welcome.php" method="post" -->
<form action="<?php echo $_SERVER["PHP_SELF"]?>" method="POST">
<input type="hidden" name="form_tools_form_id" value="4" />
NAME:<input type="text" name="name">
<input type="text" name="company">
<input type="text" name="email">
<input type="checkbox" name="mem" value="Yes">
<input type="checkbox" name="attend" value="Yes">
<input type="number" name="Guest" value="0">
<input type="hidden" name="event" value="techmeet_OSHA" />
<input type="submit">
</form>
</body>


Thanks in advance,
Waffleman



RE: API - Blank form browser display after API integration - Waffleman - Nov 19th, 2013

I figured it out.
The path to the server was incorrect and also the HTML-tags were missing.(= Stupid )