【发布时间】:2013-11-19 09:46:35
【问题描述】:
昨天它运行良好,但今天验证码不再出现。我调试了代码,我意识到我的 joomla 插件 captcharecaptcha 在将页面呈现为 javascript 文件时包含此文件
但如果我直接从浏览器点击链接,我会得到 404 not found。今天有人有类似的问题吗? js文件的路径变了吗?
你可以改变端点
来自
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
【问题讨论】: