验证码验证码不再起作用 [英] Captcha recaptcha does not work anymore
问题描述
昨天昨天工作完美,但今天验证码不再出现.我调试了代码,并意识到将页面呈现为javascript文件时,我的joomla插件captcharecaptcha包含了此文件
It was working perfect yestarday but today the captcha does not appear anymore. I debuged the code and I realized that my joomla plugin captcharecaptcha is including this file when rendering the page as a javascript file
但是,如果我直接从浏览器中点击链接,则找不到404.今天有人对此有任何类似的问题吗? js文件的路径是否已更改?
But if I hit the link directly from my browser I get 404 not found. Anyone have any similar problems with this today? Did the path of the js file changed?
您可以更改端点
来自
const RECAPTCHA_API_SERVER = "http://api.recaptcha.net";
const RECAPTCHA_API_SECURE_SERVER = "https://www.google.com/recaptcha/api";
const RECAPTCHA_VERIFY_SERVER = "api-verify.recaptcha.net";
到
const RECAPTCHA_API_SERVER = "http://www.google.com/recaptcha/api";
const RECAPTCHA_API_SECURE_SERVER = "https://www.google.com/recaptcha/api";
const RECAPTCHA_VERIFY_SERVER = "api-verify.recaptcha.net";
,它将起作用.我想它将适用于任何版本的joomla
and it will work. I guess it will work with any version of joomla
推荐答案
我遇到了同样的问题,但是我将其更改为
I had the same problem but I changed it to
http://www.google.com/recaptcha/api/js/recaptcha_ajax.js
,现在又可以正常工作了.希望这会有所帮助!
and now it's working again. Hope this helps!
这篇关于验证码验证码不再起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!