[Plugin: SI CAPTCHA for WordPress] Error reading captcha cookie
Whenever I activate Captcha on comments, I receive this error:
ERROR: Could not read CAPTCHA cookie. Make sure you have cookies enabled.
Cookies are enabled on both I.E. and Firefox. Any thoughts on what the problem could be?
Cookies have to be enabled in your web browser and not blocked for the blog web domain. In version 1.7, I added the feature to check for the cookie.
Before version 1.7, a blocked cookie would cause a user to be confused as to why the captcha would always return the error “you entered wrong CAPTCHA”. The cookie check prints the error to indicate what might be the actual problem.
The cookie check is working fine for me, so before I determine that anything is wrong with this feature, please reply with more information:
Check your web browser settings and make sure you are not blocking cookies for your blog domain. Did you just install this plugin or were you using it prior to version 1.7?
Can you uninstall version 1.7.x, then manually install version 1.6.9 and test that the CAPTCHA works and that you can post a comment when not logged as admin(type the captcha letters)
What was the result of your test of version 1.6.9? Did it work?
if yes, I have broke something.
if no, your browser is blocking or you have another plugin that is improperly setting a session before header output (in that case I would like to help you further to determine which one)
I can tell you that the plugin called “Shopp” is not compatible.
Your answers to these questions will help me rapidly determine what could be the problem.
Thanks for helping me help you.
Nobody else has reported this problem, I do not think there is anything wrong with the plugin. So…
For others who may have this problem and find this post:
Check your web browser settings and make sure you are not blocking cookies for your blog domain. Cookies have to be enabled in your web browser and not blocked for the blog web domain.
So either your browser is blocking cookies or you have another plugin that is improperly setting a session cookie before header output (in that case I would like to help you further to determine which one)
I can tell you that the plugin called “Shopp” is not compatible because it handles sessions differently causing the CAPTCHA error “You entered in the wrong Captcha phrase”.
Sorry you are having trouble. I did not hear back from the other two. Can you try the things I suggested?
Let me know the results.
Just installed 1.7.6. I’m having the same issue on 2 different WP installs. Yes, cookies definitely enabled. Getting “ERROR: Could not read CAPTCHA cookie. Make sure you have cookies enabled.”
Tried installing 1.6.9 from the zip you linked to. Now, I’m getting this error
“Error: You entered in the wrong Captcha phrase. Press your browsers back button and try again.”
( and after like 20 tries in multiple browsers I’m sure I’ve entered the code correctly at least once )
Any other suggestions?
If you have ruled out cookies being blocked… I suspect another plugin is conflicting with the PHP session.
What other plugins do you have installed?
Can you temporarily deactivate them one at a time until the conflicting plugin is pinpointed? If a conflicting plugin is found I might be able to fix it. Once the conflict is resolved you can use this plugin 1.7.6 or higher.
== Changelog ==
= 1.7.7 =
– (30 Aug 2009) Added a
cookie_test.phpto help diagnose if a web browser has cookies disabled.
cookie_test.phpcan be used to test if your browser is accepting cookies from your site: Open this URL in your web browser to run the test: (put your blog domain in the first part of the URL)
Tim e-mailed me, I hope to do some more testing to find the cause. I will report back here what I find.
I found the problem for Tim,
His PHP installation had a problem where a session would not start because the session directory was missing or misconfigured permissions.
The tests in my new update can test for that….
so if anybody is having a problem with it, they should try these tests.
= 1.7.9 =
– (31 Aug 2009) Added more diagnostic test scripts: a Cookie Test, Captcha test, and a PHP Requirements Test.
Click on the “Test if your PHP installation will support the CAPTCHA” link on the Options page.
or open this URL in your web browser to run the test:
Thanks so much for the diagnosic tests – these are great! I followed your instructions to test if the cookies are enabled (they are) and my PHP installation will support CAPTCHA. I am still receiving the same error message, even after deactivating each plugin one at a time, to see if they were the cause of the problem. I have the latest SI CAPTCHA version 1.7.9. Do you have any other suggestions?
Please email me your blog URL: 642weather at gmail dot com
I would like to find out for you what is causing this. Finding out might help me help others also or make the plugin better.
A couple users had this problem:
If you look on the test page URL, and you see a session error at the top of the page then here is a problem with your PHP installation. It cannot open the session directory. Make a trouble ticket with your web support, give them a copy of this message with the URL to the test page so they can look at the error, they will fix it.
Test page URL: (add your blog URL before it)
I’m having the same error.
Secureimage PHP Requirements Test
This script will test your PHP installation to see if (Secureimage) CAPTCHA will run on your server.
Note: If you see any errors or warnings at the top of the page, especially “Warning: session_start…”, they could be indicating a problem with your PHP server that will prevent the CAPTCHA from working.
PHP Version: 5.1.6
GD Support: Yes!
GD Version: bundled (2.0.28 compatible)
TTF Support (FreeType): Yes!
JPEG Support: Yes!
PNG Support: Yes!
GIF Read Support: Yes!
GIF Create Support: Yes!
Since you can see this…
Try the PHP Requirements Test again
Try the Cookie Test
Try the CAPTCHA Test
PHP Scripts by Mike Challis
Free PHP Scripts
Donate, even small amounts are appreciated
Contact me: (Mike Challis)
I will need to know this information: (fill in this information on my contact form)
Plugin: SI CAPTCHA for WordPress
Plugin Version: 1.7.12
Your web site URL: http://joannejacobs.net/
Problem you are having: Same CAPTCHA cookie error.
POSSIBLE CONFLICT: Better Tag Cloud plugin version 0.6.4.
- The topic ‘[Plugin: SI CAPTCHA for WordPress] Error reading captcha cookie’ is closed to new replies.