Hi, I open this new issue as requested from a reply of soxofaan.
Though the captcha form is added to the block the image is not there ^^. On the captcha image settings example everything seems to be working ok.
I also tryed with the match captcha, but maybe I'm dumb enough to fail four or five times calculating 1+0, or 2+3 operations... the thing is captcha throws a beautifull and embarrasing error message saying that I got wrong... again ^^.
Same problem for the text captcha, invalid TOKEN always.
Anybody dealing with similar problems? any known module incompatibilities?
Answer to your previous questions on the older issue:
- all CAPTCHA types fail to work for you, it's not only the image CAPTCHA?
Yes unfortunately it does not work any of them.
- What is the precise error message you get? "wrong CAPTCHA answer" or "invallid CAPTCHA token"?
The second one, "invalid CAPTCHA toquen", is shown for the text and math CAPCHA. For the image captcha is the missing image issue.
Thanks in advance.
Comments
Comment #1
soxofaan commentedThese are typically the symptoms of session/cookie problem.
Please check if there is an entry with uid=0 in your users database table
more info: http://drupal.org/node/179915, http://drupal.org/node/204095#comment-673892
You can also try the development version of CAPTCHA at http://drupal.org/node/94922
beware: it's an experimental branch, so don't use it on a production site, but that version does not require sessions.
Comment #2
rubs_eguan commentedHi soxofaan, I've checked my sessions table within the DB and there's actually one entry with uid=0, also has the cache set to 0 (I dont know if that is ok). However there's an entry with that value you comment on your link.
My site is going live the next friday so I don't know if capcha HEAD is good enough to set it on and hope to work on the basis, that is to have the img captcha for preventing spamers and bots.
On the other hand I've just tested it on my localhost and seems to be working fine, the problem is on the public site ^^.
Comment #3
soxofaan commentedWhat works fine on localhost? 6.x-1.0-rc or HEAD or both?
Anyway, can you try math CAPTCHA and image CAPTCHA on the public site with an authenticated user without the skip CAPTCHA permission?
Comment #4
rubs_eguan commentedHi m8, I've just tested what you told above and tryed with an authenticated user without the skip CAPTCHA permision and both the image captcha and the match captcha worked fine.
Btw on my localhost both releases also are working ok, do you think that it is a permissions problem? My goal when planning to use captcha is for registering new users and forums, blogs, comments posts. Currently it seems that workds for registered users (on comment at least) but no for the anonymous, although no skip CAPTCHA permissions has been set to this role.
Comment #5
soxofaan commentedWait a minute, you should have an entry for uid 0 in your users table.
Your sessions table doesn't matter here, flushing that one just logs everybody out.
My guess is that you don't have an uid=0 entry in your users table, which got lost during a database export-import (http://drupal.org/node/204411)
Comment #6
rubs_eguan commentedThank you mate, you were right I had a uid = 3 ^^ though still dunno why as this is a fresh Drupal install with Fantastico de Luxe.
However I managed to set back the uid = 0 and got two problems fixed, captcha one and the multilingual selection for the anonymous user, that wasn't working.
Thank you very much!.
Comment #7
soxofaan commentedso you had uid=1 and uid=3
instead of uid=0 and uid=1 on a fresh install?
weird indeed
anyway this issue is fixed now.
Comment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #9
soxofaan commentedtagging
Comment #10
NaX commentedIt sounds like I had the same problem. I think my setup or Captcha is incompatible with Page compression.
When a user is logged in the Captcha works just fine, but for anonymous users none of the Captcha’s work image or math.
We were using the image Captcha and this was working on the development site but now on the live site it does not work.
The dev site is on the same server as the live site, no difference in setup.
The image does not display on the live site and the math always fails to validate.
I uninstalled the modules and re-installed them. I have turned off Drupal caching, but all other settings were enabled (Page compression, Block cache, Optimize CSS files, Optimize JavaScript files)
I checked the user table and there is a uid=0 record I have also check the session table and a session is created for the anonymous when testing.
From what I can tell the session data is ether never being saved or being destroyed.
What solved the problem as was to turn off Page compression. I don’t know why or how, but when I turned Page compression off and left everything else on including Caching it started to work again.
I think more testing is required and if this is easily reproducible then this needs to be documented.
Comment #11
soxofaan commentedat NaX in #10: can you try a CAPTCHA 6.x-2.x version? the CAPTCHA 6.x-1.x branch is not actively maintained anymore and the CAPTCHA 6.x-2.x was designed to counter a lot of cookie related problems.
Please reopen (or better: start a new issue) if the problem persists.