This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Captcha always wrong
#1

Hello,

The install went okay but captcha is not working right for me. Every time I enter the code I get this error message

Sorry but 1 error was found when processing your comment.

Please correct this error and submit the form again:

* The characters entered from the captcha image were incorrect. Please try again.


I spent along time trying to figure it out but I cant. Can someone help me?
I have an Example page here
http://www.custompicturegifts.com/test.php
Reply
#2

It sounds like this could be a session problem.

I assume since you're using the example that you have the following at the very top of the page:
PHP Code:
<?php
session_start
();
ob_start();
?>

You can try this:
http://www.commentics.org/support/knowle...article=15

Also, it could be a server issue. Do you have any other scripts on your website that use sessions and if so are they working okay? Have you changed your php ini file at all? You might need to talk to your host.

Have you completed the interview?
Reply
#3

(08-Feb-2011, 08:46 PM)Steven Wrote:  It sounds like this could be a session problem.

I assume since you're using the example that you have the following at the very top of the page:
PHP Code:
<?php
session_start
();
ob_start();
?>

You can try this:
http://www.commentics.org/support/knowle...article=15

Also, it could be a server issue. Do you have any other scripts on your website that use sessions and if so are they working okay? Have you changed your php ini file at all? You might need to talk to your host.
Hello,

Yes I have that on the top of the page. I have other scripts using sessions and are working fine. I turned error logging on and have no errors showing up. Attached is a screen shot of phpinfo.php showing info about sessions. Any other ideas on how I get fix it?

Thanks
Arnold    
Reply
#4

Take a look at the comments on here:
http://www.commentics.org/project.php?p=2#comments

I'm giving you three guesses...
Reply
#5

I have just installed Commentics and have a problem with no Captcha image showing. However the audio Captcha does work. Not sure if the images are missing from the captcha Folder????

Can anyone point me in the right direction

Ian T
Reply
#6

I found this on the FAQ page for the captcha script:

Quote:No image appears and nothing shows up when I go to securimage_show.php

A fatal PHP error may have occurred that is preventing the image from displaying and the PHP configuration is not set to show error messages. To enable error display add the following code just after <?php in your securimage_show.php script:

ini_set(‘display_errors’, ‘on’);
error_reporting(E_ALL);

After saving the file with those changes go to securimage_show.php in your browser to see if any errors are displayed that can help in determining why the image is not showing.

The securimage_show.php file is at: yoursite.com/comments/captcha/securimage_show.php

Have you completed the interview?
Reply
#7

Hi Steven

I have entered the code and no errors show in the browser. I have tried to right click the symbol where the Captcha image should be and "Save image as...." the result is a saved php file "secureimage_show.php"

This does contain the following error message.

<br />
<b>Fatal error</b>: Call to undefined function imagecreatetruecolor() in <b>C:\wamp\www\website\comments\captcha\securimage.php</b> on line <b>478</b><br />

(Of course this error may be from trying to right click save the Captcha image)

This was running on XP using Chrome and IE as browsers


Hope this helps Ian T Huh


Reply
#8

Hi,

That error message helps.

Check the two top FAQs here: http://www.phpcaptcha.org/faq/

Have you completed the interview?
Reply
#9

Thanks Steven

I think you may have hit the nail on the head. I am using a wamp server I installed on my laptop about 3 years ago so I suspect the PHP is out of date. I'll try the site on a proper up to date server and see if that fixes it.

Regards Ian T

Reply
#10

Hi
I do not speak English
The same problem
Sorry but 1 error was found when processing your comment.

Please correct this error and submit the form again:

* The characters entered from the captcha image were incorrect. Please try again.

php version 5.3.3

Code:
gd

GD Support    enabled
GD Version    bundled (2.0.34 compatible)
FreeType Support    enabled
FreeType Linkage    with freetype
FreeType Version    2.3.9
GIF Read Support    enabled
GIF Create Support    enabled
JPEG Support    enabled
libJPEG Version    6b
PNG Support    enabled
libPNG Version    1.2.44
WBMP Support    enabled
XBM Support    enabled
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
20-Aug-2019, 12:20 PM
Last Post by Steven
06-Feb-2014, 07:44 PM
Last Post by Steven
27-Mar-2012, 05:00 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)