cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Login form protected by Login LockDown.


Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Change Captcha TimeOut Settings
June 11, 2007
6:57 am
RickCheah
Guest

I love this new Captcha features and is installed perfectly well and running into my WP2.2 cForm.  Only 2 hiccups i experience,

1. Sometimes there is no characters displayed in the box, I need to refresh the page around 5 times or more using FireFox as well as IE.

2. My cForm requires more than 10 minutes to fill up everything especially the Message Box.  But unfortunately, I believe there is an auto TIMEOUT integrated to  Captcha which will reject the correct code we keyed into the box.  It says "Please double check your verification code".

Could anyone teach me how to change the TIMEOUT to a longer period or infinity? 

Thanks in advance! 

 

 

June 11, 2007
7:48 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

to 1:

that's odd, since it either works or it doesn't work (for a few reasons). for one your PHP server needs to be compiled with the right switches to support the image creation process and users need to have cookies turned on.

to 2:

There is no captcha time out. The code produces the image AND an encrypted token that should test fine regardless of any time constraints.

(but it may be a nice feature enhancement for v5.0 – thanks!

What cforms version are you using? Are you using more than one form on your page?

What's the URL so I can test it?

June 11, 2007
10:06 am
RickCheah
Guest

Thanks for your reply Oliver.

I am using cForms v4.8 and at present have only one cForm running at http://www.tellsweetheart.com/sweetheart

Once the website has been fully downloaded, you will see that much time is needed to type the message which is actually story telling.  I experimented 10 mins inactive on that page, and later tried to submit the form by entering the given code, but it seems too late and I assume timeout because it asks me to please double check my verification code although i filled in correctly.

About missing characters in the captcha box, it really does happen even on my friends computers but it's not at the same time. That means, I may not be experiencing such problem right now, but my friend who is accessing my website from another computer at the same time will face such problem.  Looks like it's not my host problem which is bluehost.  I will give it more testrun to confirm the % of failure, as 5% or less is not an issue at all.  So far it has happen to me 2 days out of 2 days.  

By the way, i would love a feature placed at the bottom left of my cForm that shows 'Your IP Address xx.xx.xxx has been logged'.  Hoping this will minimise abuse.  Thanks. 

 

June 11, 2007
5:46 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

I tested your page and I do not get the letters/number in the captcha image either. Pls check the FAQ (at the top) if this is the cause to your captcha issue.

Besides the the FAQ item, it could also be related to improperly managed PHP sessions, in which case you'd have to contact your web hoster.

EDIT: also, you might want to check on any firewalling/security that might interfere with running a PHP session.

June 12, 2007
6:28 am
RickCheah
Guest

Gday Oliver,

I have contacted Bluehost for support and they also tested my website and captcha did not work at all, although it's working perfectly well on my own notebook and office computer.

They have advised me to make this phpinfo.php page to see if there is anything missing.  I would really be so grateful if you could help me review this phpinfo settings.  I am totally lost now with no other support available.   

Please look through for me at:

http://tellsweetheart.com/phpinfo.php

Thanking you in advance. 

 

 

June 12, 2007
7:23 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

It seems that PHP has all the proper features it should have.

Let's troubleshoot in a few areas, open cforms-captcha.php:

  1. and set it to create png instead of jpg  in line 25/26 and see what if that makes a difference
  2. in line 33, set $turing = $_SESSION['turing_string']; to an absolute value, ie. $turing = 'test123'; and see if that works
  3. Also, make sure you have the specified font file (line 14) in /captchafonts accessible and readable
June 12, 2007
9:08 am
RickCheah
Guest

ok, i have done step 1 to 3.

The characters 'test123' is displayed correctly on the computer that does not work previously.  So, I went and reverse step 2 back to the original state, and there was no display again for Internet Explorer 7.  

So happen i am in the office, i tried other PCs using IE6 and IE7 and they all worked fine, except one particular PC with IE7 that does not work which is similar to your PC situation.  I checked the privacy, security and phishing settings and confirmed they are the same setup as other PCs that worked.

The attributes for font4.ttf is   -rw-r--r--  (owner: read & write | group&world: read only) 

What should i do next with Line 33? 

June 12, 2007
9:07 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

You can revert line 33 back to what it was before.

This shows one thing: the creation of the captcha image per se is working, it's just that the PHP session apparently is not managed properly across most? or many systems – not sure why it's in fact working for some while it doesn't for others.

Could double check with your provider to see if there are any PHP session management related switches/features/settings that may interfere with the plugin? 

June 12, 2007
11:36 am
RickCheah
Guest

ok, thanx for your support.  I will wait for your Version 5, hope it magically solve my problem.  In the meantime i use Q&A.

Where can i put in more Q&A like your sums? 

June 12, 2007
10:11 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

You can do that on the plugin settings page.

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
27 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3732

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5332

Posts: 18695

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)