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
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
Is it possible... - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Is it possible... (/showthread.php?tid=930)



Is it possible... - sstoney200 - Nov 12th, 2010

to add a captcha to a form that uses formtools scipts? Has anyone managed to do so and if so how?

Cheers,
Jamie Stone
jamie@bubbleweb.eu


RE: Is it possible... - Ben - Nov 12th, 2010

Hi Jamie,

Sure, no problem! Here's how to do it for each type of form:

API forms:
http://docs.formtools.org/api/?page=ft_api_display_captcha

POST forms:
http://docs.formtools.org/tutorials/post_form_captchas/

- Ben


RE: Is it possible... - sstoney200 - Nov 12th, 2010

Hi Ben, thanks, I've nearly got that all working here http://www.for-rent-nerja.com/contact.php

Only problem is it's allowing me to post a message without fillin in the captcha! I'm fairly sure i've covered every step but it's obvious i've done something wrong, just cant see what..


RE: Is it possible... - sstoney200 - Nov 15th, 2010

Has anybody else come across this problem when installing the captcha?


RE: Is it possible... - sstoney200 - Nov 16th, 2010

ahhh man! :/

I've tried it with and without the hidden field and double checked everything!


RE: Is it possible... - Ben - Nov 18th, 2010

Hi Sstoney,

Sorry for not responding sooner!

Could you send me your code? (just zip up the page and email it to me at ben.keen@gmail.com). I'd like to take a look at it and test it out myself.

- Ben


RE: Is it possible... - sstoney200 - Nov 21st, 2010

(Nov 18th, 2010, 9:51 PM)Ben Wrote: Hi Sstoney,

Sorry for not responding sooner!

Could you send me your code? (just zip up the page and email it to me at ben.keen@gmail.com). I'd like to take a look at it and test it out myself.

- Ben

Hi Ben, no problems, thanks for replying! I've emailed you from jamie@bubbleweb.eu

Cheers
Jamie


RE: Is it possible... - Ben - Nov 23rd, 2010

Ack! This is a bug. At the top of process.php, you'll find this line:

PHP Code:
@include_once("$folder/global/api/api.php"); 

Right before it, add this:

PHP Code:
$folder dirname(__FILE__); 

So, in total, the top section of code will be this:

PHP Code:
$folder dirname(__FILE__);

// always include the core library functions
require_once("$folder/global/library.php");

// if the API is supplied, include it as well
$folder dirname(__FILE__);
@include_once(
"$folder/global/api/api.php"); 


I'll include a fix for this in 2.1.0.

- Ben


RE: Is it possible... - sstoney200 - Nov 24th, 2010

(Nov 23rd, 2010, 8:51 PM)Ben Wrote: Ack! This is a bug. At the top of process.php, you'll find this line:

PHP Code:
@include_once("$folder/global/api/api.php"); 

Right before it, add this:

PHP Code:
$folder dirname(__FILE__); 

So, in total, the top section of code will be this:

PHP Code:
$folder dirname(__FILE__);

// always include the core library functions
require_once("$folder/global/library.php");

// if the API is supplied, include it as well
$folder dirname(__FILE__);
@include_once(
"$folder/global/api/api.php"); 


I'll include a fix for this in 2.1.0.

- Ben

YOU THE MAN BEN! (SORT OF) HAHA

I changed the code and uploaded the process.php but when I try to access my contact page: http://www.for-rent-nerja.com/contact.php it is now saying

'The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

* This problem can sometimes be caused by disabling or refusing to accept cookies.'

ARGH! lol

p.s. I did try removing and re-uploading process.php without the aforementioned changes but that didn't change the error so I'm thinking it's nothing to so with that!


RE: Is it possible... - Ben - Nov 24th, 2010

Huh! Well I'm puzzled... that fix works for me locally - and I certainly can't think of any reason it would cause that error you're getting.

Any chance I could get temporary access to your server so I log in and debug it directly? (If so, email me!)

- Ben