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
/showthread.php 26 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
/showthread.php 26 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
/showthread.php 26 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
/showthread.php 26 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
/showthread.php 26 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
/showthread.php 26 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
/showthread.php 137 forum_permissions
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 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
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 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
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 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
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 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
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 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
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 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key "mybb" - Line: 1952 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1952 errorHandler->error
/inc/functions_indicators.php 41 my_set_array_cookie
/showthread.php 629 mark_thread_read
Warning [2] Undefined property: MyLanguage::$ratings_update_error - Line: 5 - File: showthread.php(732) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/showthread.php(732) : eval()'d code 5 errorHandler->error
/showthread.php 732 eval
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_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
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_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
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_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
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_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
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_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
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_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "invisible" - Line: 1506 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 1506 errorHandler->error
Warning [2] Undefined variable $threadnotesbox - Line: 30 - File: showthread.php(1533) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/showthread.php(1533) : eval()'d code 30 errorHandler->error
/showthread.php 1533 eval
Warning [2] Undefined variable $addremovesubscription - Line: 79 - File: showthread.php(1533) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/showthread.php(1533) : eval()'d code 79 errorHandler->error
/showthread.php 1533 eval



FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fatal Error
#1
I am receiving the following error:

Code:
Fatal error: Call to undefined function ft_process_hook_calls() in /home/zuka/public_html/test.support/formtools/global/api/api.php on line 695

This form is set up on one site but is accessing the api on a support site, which also is on the same server. I like to just have one instance of formtools that handles all the sites. However I have just moved this site to a new server and so, not having seen this error before, I am hoping someone has an idea of what this is and how to fix it?

Cheers,

Dave
Reply
#2
This appears, from searching around ) to be a API version error. The version in this current server is only version 2.0.0. So, thinks I, you must upgrade. So, in the interface I go to Settings > Main and select Check for Updates. This takes me to the Upgrade page and I am presented with a "DO NOT UPGRADE" warning!! So, thinks I, this is strange!. Then I look closer and the explanation I see is that, if I upgrade to version 2.0.6, some of my components may cease to work?? It suggests that I try another version. So, I try downgrading a bit to all the version below 2.0.6 but they all say the same thing. DON'T DO IT!! So I say, WTF?

It seems the only version that is safe to upgrade to is the beta 2.1.0 version, except that it also says that it should ne be used to production environments? Again I say, WTF??

So, someone please tell me, what am I supposed to do?

Dave
Reply
#3
Hi Dave,

So yeah, it sounds like have a version problem with the API. Just download the latest version that is compatible with 2.0.0:
http://docs.formtools.org/api/?page=changelog

(i.e. you'll want API version 1.0.1).

Regarding the problems on the upgrade page, it actually makes sense... that page tries it best to put together a compatible bunch of things to upgrade to. But in your case, you have incompatible elements already installed, so it's just getting confused.

All the best -

Ben
Reply
#4
So I upgraded OK I? believe and the admin part seems to operate OK but when I submit a form, I get a whack of errors, i.e.:
Code:
Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: view_field_smarty_markup in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1025

Notice: Undefined index: settings in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1026

Notice: Undefined index: view_field_rendering_type in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1029

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: view_field_smarty_markup in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1025

Notice: Undefined index: settings in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1026

Notice: Undefined index: view_field_rendering_type in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1029

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: view_field_smarty_markup in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1025

Notice: Undefined index: settings in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1026

Notice: Undefined index: view_field_rendering_type in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1029

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: field_type_id in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1018

Notice: Undefined index: view_field_smarty_markup in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1025

Notice: Undefined index: settings in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1026

Notice: Undefined index: view_field_rendering_type in /home/zuka/public_html/test.support/formtools/global/code/field_types.php on line 1029

Warning: Cannot modify header information - headers already sent by (output started at /home/zuka/public_html/test.support/formtools/global/code/field_types.php:1018) in /home/zuka/public_html/test.support/formtools/global/api/api.php on line 881

Any ideas now?

Dave
Reply
#5
I am not trying to be impatient here as I truly do understand and appreciate the nature of this software, but I am right in the middle of moving a bunch of sites to a new server and after the upgrade, all my sites are producing errors as in the previous post as well as the one below:
Code:
Notice: Undefined index: email in /home/thirdv/public_html/index.php on line 5

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/thirdv/public_html/index.php:5) in /home/zuka/public_html/test.support/formtools/global/api/api.php on line 1585

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/thirdv/public_html/index.php:5) in /home/zuka/public_html/test.support/formtools/global/api/api.php on line 1585

Warning: Cannot modify header information - headers already sent by (output started at /home/thirdv/public_html/index.php:5) in /home/zuka/public_html/test.support/formtools/global/api/api.php on line 1586

Warning: Cannot modify header information - headers already sent by (output started at /home/thirdv/public_html/index.php:5) in /home/zuka/public_html/test.support/formtools/global/api/api.php on line 1587

Notice: A session had already been started - ignoring session_start() in /home/zuka/public_html/test.support/formtools/global/api/api.php on line 1585

Warning: Cannot modify header information - headers already sent by (output started at /home/thirdv/public_html/index.php:5) in /home/zuka/public_html/test.support/formtools/global/api/api.php on line 1586

Warning: Cannot modify header information - headers already sent by (output started at /home/thirdv/public_html/index.php:5) in /home/zuka/public_html/test.support/formtools/global/api/api.php on line 1587

which is sort of similar to the previous error.

This is the block of code I have at the top of the page:

Code:
<?php
require_once("/home/zuka/public_html/test.support/formtools/global/api/api.php");
ft_api_delete_unfinalized_submissions(15, false);
$criteria = array("email" => $_POST["email"]);
$fields = ft_api_init_form_page(15);
ft_api_start_sessions();
$fields = isset($_SESSION["form_tools_form_data"]) ?
  ft_strip_tags($_SESSION["form_tools_form_data"]) : array();
$params = array(
  "submit_button" => "submit",
  "next_page" => "subscribe-thanks.php",
  "form_data" => $_POST,
  "finalize" => true
    );
ft_api_process_form($params);
?>

If I comment out the $criteria array, it reduces the error to:

Code:
Notice: A session had already been started - ignoring session_start() in /home/zuka/public_html/test.support/formtools/global/api/api.php on line 1585

Warning: Cannot modify header information - headers already sent by (output started at /home/zuka/public_html/test.support/formtools/global/api/api.php:1585) in /home/zuka/public_html/test.support/formtools/global/api/api.php on line 1586

Warning: Cannot modify header information - headers already sent by (output started at /home/zuka/public_html/test.support/formtools/global/api/api.php:1585) in /home/zuka/public_html/test.support/formtools/global/api/api.php on line 1587

I really need to see if I can repair this otherwise I will be faced with reinstalling and perhaps even putting separate instances of Formtools up ... one for each site. I think that would defeat the purpose though.

If anyone has any ideas about this I would certainly like to hear them.

Dave
Reply
#6
Hi Dave,

Since you need to get this fixed quickly, I'd do a simple band-aid: turn down the error reporting to display only genuine errors. Add this line to your /global/config.php file:

PHP Code:
$g_default_error_reporting 1

By default, Form Tools main releases always have that value set. Beta versions have it cranked up to 2047 so all minor warnings and notices like this are displayed.

All the problems you listed were minor: an "email" var not being defined, which ouputs the error, which prevents the form redirecting properly because content had already been sent to the browser, etc.

(And no worries about sounding impatient at all! I know what a pain it can be to try to resolve these things when time is at a minimum!)

- Ben
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)