Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
1.3k views
in Plugins by

when someone try to answer a quetion and click recaptcha buton it work okay

but if he try to put a comment its still loading

adsbygoogle.js:9 Uncaught TagError: adsbygoogle.push() error: Only one 'enable_page_level_ads' allowed per page.
ping:1 Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings.


recaptcha__ar.js:173 Uncaught SecurityError: Blocked a frame with origin "https://www.google.com" from accessing a frame with origin "http://www.ejabat.tn".  The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match.

by
Does it work if you turn off google ads? Possibly there's a JavaScript error that's stopping any other JS working.
by
i ve blocked the ads and the same problem but if  i use my website with https there is no problem
by
Does the problem occur when someone only writes a comment, or is it when they post an answer THEN a comment?

It may be an issue with the way we load reCAPTCHA as described here: https://developers.google.com/recaptcha/docs/faq#im-getting-an-uncaught-securityerror-blocked-a-frame-with-origin-httpswwwgooglecom-from-accessing-a-frame-with-origin-your-domain-what-should-i-do
by
only when someone write a comment bro

1 Answer

+1 vote
by
selected by
 
Best answer
It looks like you're using an older version of Q2A. The problem you're seeing is something that was fixed a while back in v1.7.1.

You should upgrade to the latest version (1.7.4) as there are several bug fixes.
by
the problem is my template Qawork work only with  Q2A 1.6.3 , so if you have any ideas please tell me.
by
Have you tried asking the author to update it for 1.7? Or maybe it works with 1.7 anyway, I don't think there were any changes that would break themes.

Alternatively, you may be able to take just the reCAPTCHA plugin from v1.7 and put that onto your site, keeping Q2A itself on 1.6.
by
okay bro thank you very much
...