Tweet, Share & Like [ EnAcCiOn ]

 

FeedBurner FeedCount Y Facebook | EnAcCiOn

Send Voicemail | EnAcCiOn

Contact me using vCita | EnAcCiOn

Contact me using vCita | EnAcCiOn

Meeting Scheduler Powered by vCita

viernes, 3 de julio de 2015

Re: Recaptcha not showing TypeError: Z.widget is null

This error comes because you are trying to load de recaptcha even if there is no recaptcha DIV.You have to check before if the DIV where you load the captcha is loaded !!In my code.. i did this:FILE: /plugins/captcha/recaptcha/recaptcha.phpFIND: $document->addScriptDeclaration('jQuery( document ).ready(function()        {            Recaptcha.create("' . $pubkey . '", "dynamic_recaptcha_1", {theme: "' . $theme . '",' . $lang . 'tabindex: 0});});'        );REPLACE WITH:                $document->addScriptDeclaration('jQuery(document).ready(function($) {$(window).load(function() {'                    .' if(jQuery("#dynamic_recaptcha_1").length) {'                    . '    grecaptcha.render("' . $id . '", {sitekey: "' . $pubkey . '", theme: "' . $theme . '"});'                    .' }'                    . '});});'                );El martes, 10 de febrero de 2015, 22:27:48 (UTC+1), Daniel Becerra escribió: Hello,My Joomla website is not showing Recaptcha on any browser and console is giving the following error: TypeError: Z.widget is null       .../g,e);Z._set_style(c);Z. I have checked common errors like change in Google API URLs, but I everything looks ok. I don't find anybody with the same issue. Could somebody help? Website address is temporary http://bit.ly/1CRIenT -- You received this message because you are subscribed to the Google Groups "reCAPTCHA" group. To unsubscribe from this group and stop receiving emails from it, send an email to recaptcha+unsubscribe@googlegroups.com. To post to this group, send email to recaptcha@googlegroups.com. Visit this group at http://bit.ly/1dkFnYd. For more options, visit http://bit.ly/P65DvS.

No hay comentarios:

EnAcCiOn

Contador Web | EnAcCiOn

EnAcCiOn

EnAcCiOn

EnAcCiOn

Blog Archive | EnAcCiOn