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



Form Tools
cached version of api? or… 2nd form posting to finalized submission? - 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: cached version of api? or… 2nd form posting to finalized submission? (/showthread.php?tid=352)



cached version of api? or… 2nd form posting to finalized submission? - sergiozambrano - Oct 31st, 2009

Is there any chance the api.php is being cached on server?

I'm having different issues when trying to figure out how to get a second form posting to a finalized submission (using "may_update_finalized_submissions" => true) and I think there's some kind of delay between the changes I made and the php is executed after that.

I've setup a form to have more than one form, and I noticed I had to set it up so like 3 times before it reflects so in the form options panel.

Then, tired of the form throwing error 101, I removed the line "finalize => true" and when it didn't fix it, I've put it back and magically it started working.

Then, when first form submission never appeared in the form list, (not finalizing it anymore) I just removed the second form/page from the form setup panel and suddenly everything started working, i.e. THE SECOND FORM IS LOADED even when the setup says the next page should be thankyou.php.

With that lack of consistency in the results (html and css seems to be automatically updated, it's just the php) I can't come up with a solution by trial and error (my first learning process hehe)

I'm lost.

The only thing I need is a way to get the first form being finalized and sending an email, regardless of the user filling out the second optional form or not.

I promess, Ben, if you help me with this one I'll post the whole tutorial for you Big Grin
I'm sending you the info by mail so you can check it out.

Thanks!


UPDATE - sergiozambrano - Nov 4th, 2009

It seems that sharing the same thankyou.php page was causing some troubles.

Now it works fine, so far, but leaving the first form incomplete (captcha or validation error) would make impossible to get the second form submitted, and would keep the info from first one being reloaded time after time when trying to reload the page.

Also, wrong captcha makes the form to lose all information in it.

In other words, it's filled out when it shouldn't, and it's not when it should.

The php for form 1 is an exact copy of another form was working fine with recaptcha, and had the reloading empty form issue already fixed.

Ideas?


UPDATE 2 - sergiozambrano - Nov 4th, 2009

The basic error is here http://forums.formtools.org/showthread.php?tid=358


RE: cached version of api? or… 2nd form posting to finalized submission? - Laraain - May 12th, 2020

When we work with our platform in the technical field the API server is the important part of every containing server. The best instruction in my essay pro where I put all the information on this tool.