Cannot reload the captcha img

Created on 2 January 2024, 6 months ago
Updated 1 May 2024, about 2 months ago

Problem/Motivation

hi, my drupal site cannot show the captcha img, prompt the message:
Error: Call to undefined function Drupal\image_captcha\Service\putenv() in Drupal\image_captcha\Service\ImageCaptchaRenderService->printString()

when use the math, the equation shows correct.

I don't know why? Is the captcha web service supported by google.com?

🐛 Bug report
Status

Needs review

Version

2.0

Component

Image Captcha (image_captcha)

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India aman1248

    Hy @Yan2020 ,Firstly in the captcha settings, choose the image captcha as the default challenge type.
    Then, enable "Add CAPTCHA challenges on all forms" and "Additionally, Enable add CAPTCHA challenges on admin forms."As Mentioned In the ScreenShot Below. Save these settings. Next, navigate to the captcha points section and click on "Add CAPTCHA."
    Enter the machine name of the contact form you've created and select the image challenge type.
    Save these settings. Now, when you open the form in private or a new window, the image captcha will be successfully applied.
    I Have Uploaded All The screenshots For Better Functioning And Understansing.

  • Status changed to Needs review about 2 months ago
  • 🇮🇳India aman1248

    Hy @wundo
    please review.
    thanks

Production build 0.69.0 2024