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 property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.1.27 (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.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
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
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
error 101 [solved] - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: Installation (https://forums.formtools.org/forumdisplay.php?fid=4)
+--- Thread: error 101 [solved] (/showthread.php?tid=1363)

Pages: 1 2


error 101 [solved] - hellothere - Jun 12th, 2011

solved, I posted the answer in the comment below...

Hi guys n gals,

semi novice here.
I installed the formtools, along with a demo ("petition") form from formtools.

I got the form to work in test mode, and managed to set up the form in the admin section properly (or at least it shows up as "Online" in the admin.

But I keep getting an error 101:
http://docs.formtools.org/api/index.php?page=error_codes#101

Here's my current code, form ID is 1 (assuming it's the same form ID from the admin table). Here's my code:

Page 1 of the form:
Code:
<?php
require_once("formtools/global/api/api.php");
/*$fields = ft_api_init_form_page("", "test");*/
/*$fields = ft_api_init_form_page(2);*/
/*$fields = ft_api_init_form_page(1, "initialize");*/
$fields = ft_api_init_form_page(1);
$params = array(
  "submit_button" => "continue_button",
  "next_page" => "review.php",
  "form_data" => $_POST
    );
ft_api_process_form($params);
print_r($fields);
?>

Page 2: Review
Code:
<?php
require_once("formtools/global/api/api.php");
$fields = ft_api_init_form_page();
$params = array(
  "submit_button" => "continue_button",
  "next_page" => "thanks.php",
  "form_data" => $_POST,
    "finalize" => true
    );
ft_api_process_form($params);
print_r($fields);
?>

Page 3: Thank you


Code:
<?php
require_once("formtools/global/api/api.php");
$fields = ft_api_init_form_page();
ft_api_clear_form_sessions();
print_r($fields);
?>


Is it something to do with the form ID? The doc says the paramaters need to be removed, not sure if I did this correctly.

Who can spot what I'm doing wrong?!
THANK YOU FOR LOOKING

felipe


RE: error 101 - hellothere - Jun 13th, 2011

After some tinkering, I figured it out:
the index page required a Form ID for the "$fields = ft_api_init_form_page" function.
the review page cannot take a form ID for the "$fields = ft_api_init_form_page" function.
the confirmation page required a form ID for the "$fields = ft_api_init_form_page" function.
the confirmation page cannot take a form ID for the ft_api_clear_form_sessions" function.

Hope that helps somebody, took me about 4 hours tinkering back and forth, same 101 error. On to the next head scratcher....



RE: error 101 [solved] - Ben - Jun 14th, 2011

Hello there,

Sorry you had so much trouble! I'm actually just working on a new debugging API function to output various information about the current form data, + some additional functionality like clearing sessions. Hopefully this, added to your toolkit, will make future form integrations less painful...!

- Ben


RE: error 101 [solved] - hellothere - Jun 14th, 2011

(Jun 14th, 2011, 1:16 AM)Ben Wrote: Hello there,

Sorry you had so much trouble! I'm actually just working on a new debugging API function to output various information about the current form data, + some additional functionality like clearing sessions. Hopefully this, added to your toolkit, will make future form integrations less painful...!

- Ben

Ben,
I'm very impressed with form tools so far. If a total noob like me can get it running, that means your documentation is fantastic. Im super excited to tinker with this software, the learning curve has been steep but very rewarding. For someone who has wanted to learn how to program for a while, I think Ive found the tool that is useful and rewarding enough to keep me committed to trying to figure out how to get it to work. So yeah thanks to you and all the developers, great piece of software!
Felipe




RE: error 101 [solved] - Ben - Jun 17th, 2011

Thanks, Felipe!

Yeah, the documentation isn't bad, but I've never been happy about the API! It's still a little too complicated to get going... but I do have plans to simplify it. Ah to have more time...! Smile

- Ben


RE: error 101 [solved] - EverBartle - Oct 26th, 2020

Form tools that have data with installation among the forum arts they have documents with the extensions on it. An error can be solved with the factors that can be present by assignment writing services they can be solved among the formats to be read with some tools to take the information.


RE: error 101 [solved] - follwoersaustralia2 - Nov 25th, 2020

Runtime Error 101 is a problem that occurs on a Windows PC when a program stops working as a result of a corrupted file. The problem is fairly common among ...
buy instagram followers cheap


RE: error 101 [solved] - follwoersaustralia2 - Nov 25th, 2020

This means the existing HTTP connection between Chrome and the website is broken, most likely due to an interrupted Internet connection. Usually clicking on ...
by Epicfollowersuk


RE: error 101 [solved] - Buyinstgaram - Dec 8th, 2020

It is time to advertise your products and services with the help of local SEO. Search engine optimization has been around for nearly a decade now, and many ... by buy instagram followers canada


RE: error 101 [solved] - instgaram followers australia - Oct 25th, 2021

2. Clear Google Play Services & Google Play Store Data and Caches – · Go to the Settings · Search for the Installed Apps or Apps & Click on it instagram followers australia