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
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
Problem, error #100 - 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: Problem, error #100 (/showthread.php?tid=463)



Problem, error #100 - Sioux - Jan 27th, 2010

Hi.
I'm trying to add single-page form with the API.
I correctly have done step 1 and step 2. According to step 3 I add this code to my form.php
PHP Code:
$fields ft_api_init_form_page(1"initialize"); 
Then I've done this:
Quote:After saving, go to your "thankyou" page in your browser to ensure that sessions have been deleted, then go back to your form. Here, fill in every field in your form and click submit. You should see something like the screenshot.
But after submit I get Error Code: #100:
Quote:This occurs when trying to initialize a form. It usually means you're sending along an incorrect form ID.
I had just installed Formtools, it's my first form, so ID must be 1. I haven't any other form.

So what's wrong? How can I fix it?


RE: Problem, error #100 - axel - Jan 30th, 2010

Have you setup the form yet in Form Tools?

As in going though the "New Form" process and selecting Code Submission.
It gives you the directions from there.

http://[yourformtools]/admin/forms/add/step1.php?add


If you haven't done that, Form Tools has no idea what it's getting. Tongue


RE: Problem, error #100 - Sioux - Feb 1st, 2010

Sure. I've done this:
Quote: Log into Form Tools (as the administrator) and on the Forms page, click on "Add Form". Continue to step 3 and click on the second "Code" option. There, it will have generated a line of PHP which looks like this (X will be your form number):
PHP Code:
$fields ft_api_init_form_page(X"initialize"); 
Copy that line and overwrite the corresponding line in your form page.

I got this code:
PHP Code:
$fields ft_api_init_form_page(1"initialize"); 
Now in the Forms list I have one form with ID=1 and status incomplete (I can't get test submission because of error #100).

So...


RE: Problem, error #100 - axel - Feb 1st, 2010

Now that's just plain weird.
When you are setting up Form Tools and getting API error 100, you've got some other problem going on with Form Tools or your code.

I'd have to see what's going on in your Form Tools and your Form to make any sense of that.

If you'd like, you can email me at r.wright@aurohack.com with your Form Tools Login, where your FT address, and temporary FTP access and I can help you from there.


RE: Problem, error #100 - Sioux - Feb 2nd, 2010

Thanks for help. Unfortunately, at this moment I have some controversy with my hosting company, and I can’t access to my account. When I solve this problem, I’ll try FT 2.0 Final, and if this error occurs again, I’ll contact with you.