When a user asks a question about a product they get this message:
QuoteThe CAPTCHA solution was incorrect.
but on the page there is no captcha at all.
VM 3.2.2
J 3.7.4
I assume that you have ReCaptcha enabled for your site, and that "Use ReCaptcha for recommendations and 'Ask a question'" is selected in VM Configuration/Shopfront? If so the ReCaptcha should show on the ask question form. If it does not show them maybe you are using a template override? The captcha code in components/com_virtuemart/views/askquestion/tmpl/form.php is:
<div class="submit">
<?php // captcha addition
echo $this->captcha;
// end of captcha addition
?>
<div>
yes, its configured to use captcha.
no overrides.
This is the html output:
<div id="jform_captcha" class="g-recaptcha required" data-sitekey="6Les7s4SAAAAADDhocqHbulmZH1CsOWCO7hlLMu_" data-theme="" data-size="normal"></div>
but its not displaying anything. I checked the css, its just display block, so it should show.
While in that chrome-inspection window I noticed an alert for an error. Maybe that would explain.
Uncaught TypeError: Cannot read property 'autocomplete' of undefined
at eval (eval at <anonymous> (/media/jui/js/jquery.min.js?bdf2ecc2792ee32906c6b0d80e3f8919:2), <anonymous>:11:17)
at eval (eval at <anonymous> (/media/jui/js/jquery.min.js?bdf2ecc2792ee32906c6b0d80e3f8919:2), <anonymous>:40:3)
at eval (<anonymous>)
at /media/jui/js/jquery.min.js?bdf2ecc2792ee32906c6b0d80e3f8919:2
at Function.globalEval (/media/jui/js/jquery.min.js?bdf2ecc2792ee32906c6b0d80e3f8919:2)
at text script (/media/jui/js/jquery.min.js?bdf2ecc2792ee32906c6b0d80e3f8919:4)
at Xb (/media/jui/js/jquery.min.js?bdf2ecc2792ee32906c6b0d80e3f8919:4)
at y (/media/jui/js/jquery.min.js?bdf2ecc2792ee32906c6b0d80e3f8919:4)
at c (/media/jui/js/jquery.min.js?bdf2ecc2792ee32906c6b0d80e3f8919:4)
at Object.send (/media/jui/js/jquery.min.js?bdf2ecc2792ee32906c6b0d80e3f8919:4)
The data-theme is missing in your example. Normally this would be light or dark, depending on the selection made in the plugin - eg data-theme="dark"
where do I configure that?
In the ReCaptcha plugin:
(https://image.ibb.co/mfWpEv/recap.png) (https://ibb.co/gJA5nF)
It was set to 'light'. Then I saved it again (just to make sure it was set in the database and was not some default in a newer version). Then on the form it gives this message:
(http://i1153.photobucket.com/albums/p508/carsten888/Capture_zpsdc5fofgg.png)
I checked and checked and copy-pasted again just to make sure, just same message. Ready to try another captcha. (now which one does that friendly 'I'm not a robot'-checkbox?)
Quote from: carsten888 on August 20, 2017, 14:44:59 PM
(now which one does that friendly 'I'm not a robot'-checkbox?)
The default Joomla CAPTCHA - reCAPTCHA plugin does this when set to Version 2.0 ...............
Quote from: jenkinhill on August 20, 2017, 15:15:22 PM
Quote from: carsten888 on August 20, 2017, 14:44:59 PM
(now which one does that friendly 'I'm not a robot'-checkbox?)
The default Joomla CAPTCHA - reCAPTCHA plugin does this when set to Version 2.0 ...............
I got mine set to version 2 and it just used to do the google text-images thing. When I go to plugins > catpcha there is only one plugin. What am I overlooking here?
J 3.7.4
(sorry about going wildly off-topic here)
There is only the one plugin. Google serves the image captcha or the robot tickbox depending on the IP address and some other elements https://security.googleblog.com/2014/12/are-you-robot-introducing-no-captcha.html
Got it working!
Deleted the key, made a new one, deleted the joomla cache, worked.
thanks a lot!