I'm running Drupal 5.3 with caching off. For some reason, periodically, Image CAPTCHA stops working on my user registration page (I don't use it anywhere else). When I clear the cache with the Devel module, it starts working again. I've established that it isn't a browser cache issue, and I am not running any APC like mechanism.
If you need any more information, or testing, please let me know.
P.S.: I've also got Image CAPTCHA generating captcha images for use with a password change form, but the code is completely isolated with conditionals -- I disabled the password change module I wrote, and still, the issue persisted.
Comments
Comment #1
soxofaan commentedWhat do you mean with "Image CAPTCHA stops working"? Is it the CAPTCHA image itself that is missing or is it the whole CAPTCHA widget (fieldset+image+question+textfield+description) that disappears? Or does the validation of a correct CAPTCHA response fails?
Are there other situations where it starts working again, beside clearing the cache with devel? E.g. waiting 10 minutes and trying again, using another browser/computer, restarting the webserver (if possible), running cron, ...?
Can you also describe your setup (localhost/shared host/dedicated host, linux/macosx/windows, apache, ....)?
Comment #2
kevin francis commentedThe CAPTCHA image itself disappears -- and no, I tried all kinds of workarounds including different machines, browsers, clearing browser caches, and even upgrading from stable to -dev to no avail.
For the past day or so it's been behaving well, but I'll report any further misbehaving.
My setup is Ubuntu 7.10 Gutsy Gibbon, Apache 2 + php 5.
Comment #3
desrod commentedI can confirm that this does not work either, using Drupal 6.15 and captcha version 6.x-2.1.
I've tried everything suggested on the other forums and bug references, including:
- removing leading and trailing spaces before <?php and at the end in all *.module files (core, contrib and custom)
- Cleared cache, sessions and tried multiple browsers
- Checked safe_mode and disable_functions to make sure they permit it
- Verified that php + freetype and gd are working (the image font rendering selection works fine in the captcha setup)
I've tried just about everything, but images for captcha just do not display at all.
What else can I try?
Comment #4
soxofaan commenteddoes the simple math challenge work: shows up, bocks wrong answers, let correct answers pass?
what does the URLs to the CAPTCHA image look like? Is you site live, and can you give me the URL so I can have a look?
Comment #5
ajitaw commentedSame issue here! Any info would be great!
Comment #6
soxofaan commentedAt ajitaw in #5: please provide more info. For example: this thread is about the Drupal 5 version of CAPTCHA, but I doubt you are still working with Drupal 5.
Comment #7
soxofaan commentedClosing old/outdated issues for 5.x releases, which is officially unsupported now.
If this issue still exists for Drupal6 or Drupal7, please reopen (and update the version)
Comment #8
omnitool commentedI added a captcha to a webform. No matter what I choose (recaptcha, math, image) the captcha appears for a little bit. But after a while, the entire captcha will disappear and my form will be completely unguarded, and you can submit the form. consequently I'm getting a ton of spam.
I read around about if you incorrectly fill out a form it triggers it to disappear. I tried every combination of incorrectly/correctly filling out the form/captcha.
I thought, maybe it was because I was doing stuff in the backend because it appeared as if if I deleted a person it would idsappear, so I just waited. and occasionally refresh a different browser where I was logged out. Eventually, it would just disappear on its own again.
If I clear the cache it fixes it again... temporarily.
These are the modules I have enabled:
Administration menu (admin_menu) 7.x-3.0-rc1
Chaos tools (ctools) 7.x-1.0-rc1
Calendar (calendar) 7.x-3.0-alpha1
Date (date) 7.x-2.0-alpha4
Date API (date_api) 7.x-2.0-alpha4
Date Popup (date_popup) 7.x-2.0-alpha4
Date Views (date_views) 7.x-2.0-alpha4
Devel (devel) 7.x-1.2
IMCE (imce) 7.x-1.4
Backup and Migrate (backup_migrate) 7.x-2.2
Colorbox (colorbox) 7.x-1.1
Entity API (entity) 7.x-1.0-beta10
Entity tokens (entity_token) 7.x-1.0-beta10
Nodeblock (nodeblock) 7.x-1.2
Save Draft (save_draft) 7.x-1.4
Rules (rules) 7.x-2.0-rc1
Rules UI (rules_admin) 7.x-2.0-rc1
CAPTCHA (captcha) 7.x-1.0-beta2
reCAPTCHA (recaptcha) 7.x-1.7
Google Analytics (googleanalytics) 7.x-1.2
IMCE Wysiwyg API bridge (imce_wysiwyg) 7.x-1.x-dev
Wysiwyg (wysiwyg) 7.x-2.1
Views (views) 7.x-3.0-rc1
Views UI (views_ui) 7.x-3.0-rc1
Webform (webform) 7.x-3.13
Webform Rules (webform_rules) 7.x-1.0
Comment #9
omnitool commentedIf I turn caching on, it appears to work fine. its been 2 days since I turned caching on, and its still up.
Comment #10
soxofaan commentedin #8:
in #9:
I don't understand..
what kind of caches are you talking about? (browser cache, drupal page cache, drupal form cache, drupal settings cache, ...?)
Comment #11
chris matthews commentedComment #12
anybody