ez projects / recaptcha / forum / general / can't get it working for 4.4
You need to be logged in to post messages in the forums. New users may register here.
|
Member since: Posts: 20 |
Saturday 16 July 2011 1:14:45 pm Hi bruce,
i am using your great extension since a couple of years on one of my websites. now i have a second website (ez 4.4) and try to get your extension running in the user/register module.. i did all steps you mentioned. i also added the attribute to the user class, setup: 17. Validation [reCAPTCHA] (id:420) Flags: Is required Is not searchable Does not collect information Translation is disabled recaptcha.ini is setup well too (in override) <?php /* #?ini charset="utf-8"? [Keys] PublicKey=XXXX PrivateKey=XXXX [Display] Theme=clean OverrideLang=en */ ?> the template code looks like that where its loaded: <input type="hidden" name="ContentObjectAttribute_id[]" value="{$attribute.id}" /> <div class="block"> {attribute_edit_gui attribute=$attribute} </div> i can also see the recaptcha PERFEKT in frontend i can enter a value.. but in the moment i click "register" the "<noscript>" area disappears and i get this error: input did not validate * Validation: The reCAPTCHA wasn't entered correctly. Please try again. no matter what i enter.. debug output also tells me the reason. Warning: eZHTTPTool Jul 16 2011 13:09:00 Undefined post variable: recaptcha_challenge_field Warning: eZHTTPTool Jul 16 2011 13:09:00 Undefined post variable: recaptcha_response_field means the two fields from noscript are not really getting cought by validation.. if i look at the sourcecode before clicking "register" i can see the input fields there.. <h2>Validation</h2> <input name="ContentObjectAttribute_id[]" value="1316" type="hidden"> <div class="block"> <script type="text/javascript"> var RecaptchaTheme='clean'; var RecaptchaLang='en'; var RecaptchaOptions = { theme: RecaptchaTheme, lang: RecaptchaLang }; </script> <!-- AND HERE THE JS FILE IS LOADED, i just cutted it out for a better overview -> <noscript> <iframe src="http://www.google.com/recaptcha/api/noscript?k=XXX" height="300" width="500" frameborder="0"></iframe><br/> <textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea> <input type="hidden" name="recaptcha_response_field" value="manual_challenge"/> </noscript> </div> where is my mistake? why does the field disappear onclick? is that the reason? it is not doing that in my old installation. thanks in advance. |
|
|
Member since: Posts: 20 |
Tuesday 19 July 2011 4:57:30 pm i solved my issue.. i had some html mistake in it.. what a joke :D
thanks anyway, great extension. |
You need to be logged in to post messages in the forums. New users may register here.