By Joroslav on Tuesday, 23 October 2018
Posted in General
Replies 15
Likes 0
Views 524
Votes 0
after the esydiscuss update my captcha stopped working when I entered a query.

see https://www.eshop-diochi.cz/poradna/fora/ask?lang=cs

It's a test site, you can try it here, I had to shut down the captcha on the production site.

It reports the JS error in the console.
There is no need to write a request.

Just in /components/com_easydiscuss/themes/xxx/captcha/recaptha.js
from line 39

// If recaptacha script is not loaded
if (!window.recaptchaScriptLoaded) {

// Load the recaptcha library
//ed.require(["//http://www.google.com/recaptcha/api.js?onload=recaptchaCallback&render=explicit&hl=<;?php echo $language;?>"]); //changed to
ed.require(["//http://www.google.com/recaptcha/api.js?onload=recaptchaCallback&render=explicit&hl=<;?php echo '';?>"]);

window.recaptchaCallback = function() {
var task;
while (task = window.recaptchaTasks.shift()) {
runTask(task);
}
};

window.recaptchaScriptLoaded = true;
}


and in /components/com_easydiscuss/themes/xxx/captcha/recaptcha.module.js
from line 37

// If recaptacha script is not loaded
if (!window.recaptchaScriptLoaded) {

// Load the recaptcha library
//ed.require(["//http://www.google.com/recaptcha/api.js?onload=recaptchaCallback&render=explicit&hl=<;?php echo $language;?>"]); //changed to
ed.require(["//http://www.google.com/recaptcha/api.js?onload=recaptchaCallback&render=explicit&hl=<;?php echo '';?>"]);

window.recaptchaCallback = function() {
var task;

while (task = window.recaptchaTasks.shift()) {
runTask(task);
}
};

window.recaptchaScriptLoaded = true;
}

})(jQuery);




the correct solution is to allow the administration to enter an empty string as the language.
But this is a change suitable for component manufacturers, not for me as a user.
·
Wednesday, 24 October 2018 22:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Seems like it is not possible for me to access your site currently as you can see here http://take.ms/6Fl0Y. Can you provide us with your Google Recaptcha access so that we can further check them.

Please advice.
·
Tuesday, 23 October 2018 16:40
·
0 Likes
·
0 Votes
·
0 Comments
·
I've updated my password already
you can log in
·
Tuesday, 23 October 2018 22:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Seems like it does shown on my end as you can see below. I suspected that there issues on your current browser. Maybe you can check whether you have blocked ads from showing on your end as you can see here http://take.ms/gPain(chrome) and try to clear your browser cache and see how it goes. Please advice.

Chrome:
http://take.ms/qoa6V

Firefox:
http://take.ms/Y4Amb

Safari:
http://take.ms/fqTc5
·
Wednesday, 24 October 2018 11:31
·
0 Likes
·
0 Votes
·
0 Comments
·
But you have joined it as http and not https.
I've set up a forced SSL connection there, and it does not work, at least in chrome.
When I connect http, my captcha also works
·
Wednesday, 24 October 2018 15:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Can you provide me with your Google Recaptcha access so that we can further check them. Please advice.
·
Wednesday, 24 October 2018 15:41
·
0 Likes
·
0 Votes
·
0 Comments
·
access google recaptcha I can not provide you, but the keys are correct, you can compare them with the keys in the captcha - recaptcha plugin.
I also send a screen.

Site key Use this in the HTML code your site serves to users. Secret key Use this for communication between your site and Google Be sure to keep it a secret.
6LeuwiMUAAAAAJVLKYLm1yLQmNDJHUR3aF6EWEZk 6LeuwiMUAAAAAHjdzS9Lbc8SH03rU8WtBXEjsScS



I'll add that in the quick question captcha module it works in component no.
https://www.eshop-diochi.cz/poradna?lang=cs
https://www.eshop-diochi.cz/poradna/fora/ask?lang=cs
·
Wednesday, 24 October 2018 17:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

After hours checking on your site, it seems that this module http://take.ms/AmKVB causing this issues. I am not really sure why this module http://take.ms/AmKVB causing this issues on chrome. I have set them to none and it should shown as it should now.

Maybe you can consult with them regarding this and see how it goes.
·
Wednesday, 24 October 2018 18:15
·
0 Likes
·
0 Votes
·
0 Comments
·
thank you, it would be hard for me to think.

You are right that in this module I can turn off captcha because it is not used, but it is probably loaded.

I still want to ask how to set the capcha language to be in the correct language in another language of the site.
The language should be blank and google sets the language itself according to the language of the site. But it is not here

https://jmp.sh/M8Vsfui

https://www.eshop-diochi.cz/poradna/fora/ask?lang=pl
·
Wednesday, 24 October 2018 18:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Currently, it is not possible to achieve this as we only can maintained one language usage only(your attached image).

Perhaps it would be best if you can submit a feature request regarding this issues by creating a new ticket on the forums and set it to "Feature Request" so that everyone else could vote for it. We will prioritize this feature during the development process for the next major version of EasySocial if there are more people request on this.

Thanks for your understanding.
·
Wednesday, 24 October 2018 19:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you please tell me where this captcha is in the code?
I mean both in the component and in the module.
I'll make adjustments so far.
·
Wednesday, 24 October 2018 21:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Thanks for the insight
·
Thursday, 25 October 2018 09:48
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post