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 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
Which Path - Which API? - 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: Which Path - Which API? (/showthread.php?tid=1602)



Which Path - Which API? - braven - Sep 6th, 2011

I started from scratch on a new domain new server because I had lost admin password (now I have tutorial to fix that).

I read in the create new form process that if you are going to use PHP forms they need to be on the same domain as the form_tools is? BUT my form_tools is on coachdereksports_com and I'm using the forms on coachderek_com. (I made them PHP so I could use the recaptcha which isn't working & that's why I'm wondering if this is why).

Still, the emails my new forms are generating are perfect!

if I view the results online, some of the fields are empty that show up filled in the email versions (different domain different server)?

here's my question: Is the reason I can't get recaptcha to work because of the different domains/servers?

IF my Forms are created & processed on "domain 2" on "server 2" and Forms are USED on "domain 1" on "server 1"
Do I use the API & PATH for domain 1 or domain 2?

Thanks!


RE: Which Path - Which API? - Ben - Sep 7th, 2011

Hey Braven,

Quote:I read in the create new form process that if you are going to use PHP forms they need to be on the same domain as the form_tools is? BUT my form_tools is on coachdereksports_com and I'm using the forms on coachderek_com. (I made them PHP so I could use the recaptcha which isn't working & that's why I'm wondering if this is why).

Ah, actually - it's just for API forms. API forms need to be on the same server (I may say they need to be on on the same *domain*, but I think they'll work if they're on the same server as the Form Tools installation).

Forms (PHP or any other language) can be located anywhere, if they use the POST/direct submission method.

Quote:here's my question: Is the reason I can't get recaptcha to work because of the different domains/servers?

Yes, exactly. The reCAPTCHA is part of the API, which needs to be on the same server. The reason is that you can't include PHP files for execution on another server.

Sorry about that!

- Ben



RE: Which Path - Which API? - braven - Sep 7th, 2011

Thank you, Ben!
I just love these forms & am endlessly knocked out with how they perform.
I'm very sorry about the API thing-a-ma-bob (technical term) so I will have to find a work around for that so I can stop the spam. maybe if I call the old server which the domain is actually on.. well, I'll keep playing but again, thanks so much for all the help. This is such a friendly forum!

- Billie