Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8681425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T21:30:26+00:00 2026-06-12T21:30:26+00:00

I have a Drupal 7 site with the CAPTCHA and ReCAPTCHA modules installed, but

  • 0

I have a Drupal 7 site with the CAPTCHA and ReCAPTCHA modules installed, but am having issues with caching (but not the normal issue!). The issue is that my user registration page should have a CAPTCHA displayed on it, but sometimes this CAPTCHA will stop displaying until I manually clear the cache through Admin -> Performance -> Clear All Caches.

I’m checking with an anonymous window in Chrome to ensure Drupal doesn’t recognize me and not show the CAPTCHA, even though I have the CAPTCHA’s persistence setting set to “Always add a challenge”

I’ve tried toying around with both the CAPTCHA and cache settings, but nothing seems to have any impact. All other information online seems to relate to how to re-enable the cache on CAPTCHA pages, where my issue is the opposite.

I’ve also successfully used CAPTCHA on other Drupal 7 builds with no issue and can’t figure out why this one is having the problem.

The site is http://respirometry.org. If you go to the user registration page, you may or may not see a CAPTCHA, depending on how long ago I manually cleared the cache.

I looked through Drupal’s logs and noticed I got an error about the file_temp_location right when the CAPTCHA stopped working. I went to Admin -> File System and changed the “Temporary Directory” to /tmp, which does not throw an error.

The error seems to be tied to the way ISPConfig has set up the site. It is accessible via either drupal.respirometry.org or respirometry.org, which have slightly different openbasedir settings, so my options seem to be either set the temp directory to /tmp, or to change the openbasedir settings on both sites so they can access each other’s temp directories.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T21:30:28+00:00Added an answer on June 12, 2026 at 9:30 pm

    The issue was caused by an invalid temp file location. The nature of the server and HTTP host aliasing caused some requests to not be able to write to the temp location. This caused a cascade that prevented the CAPTCHA from working. I modified the aliases to all redirect to the main URL, and changed the temp folder to /tmp just for good measure, and the CAPTCHA has remained intact for over 24 hours without issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does having Drupal modules installed but not enabled have any effect on the performance
I have an old drupal site that I'd like to upgrade, but I need
I have a Drupal based site that has the Twitter module installed, and when
I have a rather complicated deploy setup for our Drupal site that is a
i would like to have a block on my drupal site(latest version) that displays
Iam a php developer, and iam new to drupal.I have installed a drupal site.
I have added two modules in my drupal site called.... 1. me alias 2.
I have a drupal site that runs on nginx and php-fpm with haproxy balancing
I have a Drupal site and the Drupal site's admin is not able to
I have a Drupal site built on a shared host and I'm finding that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.