Annshuk / recaptcha

Automatically exported from code.google.com/p/recaptcha
0 stars 0 forks source link

IE 8 displays JS error after loading page #95

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi!I develop on asp.net.This is code in .aspx file:

<recaptcha:RecaptchaControl
                                ID="recaptcha"
                                runat="server"
                                Theme="custom"
                                CustomThemeWidget = "recaptcha_widget"
                                PublicKey="..."                                 
                                PrivateKey="..." />

            <div style="width:320px; padding-left:0px; height:130px;margin-top:30px;text-align:left;font:12px Arial;">
                                <div style = "float:left;font-weight:bolder;">Input words below:</div>

                                <div id="recaptcha_widget" style="display:none;width:320px;margin-top:0px;">
                                   <div id="recaptcha_image" style = "margin-top:50px;clear:left;"></div>
                                   <input style = "margin-top:20px;" size = "30" type="text" id="recaptcha_response_field" name="recaptcha_response_field" />
                                   <div style = "margin-top:5px;">
                                        <div><a style = "color:#666565;" href="javascript:Recaptcha.reload()">Get new one</a></div>
                                        <div><a style = "color:#666565;" href="javascript:Recaptcha.showhelp()">Help</a></div>
                                   </div>
                               </div>
                         </div>

                         <script type="text/javascript"
                            src="http://www.google.com/recaptcha/api/challenge?k=... ">
                         </script>
                         <noscript>
                           <iframe src="http://www.google.com/recaptcha/api/noscript?k=... "
                                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>

After loading page ie 8 displays error:

Message: Требуется объект(means "need object")
String: 19
Char: 234
Code: 0
URI-code: http://www.google.com/recaptcha/api/js/recaptcha.js

I've checked out html code that is generated by browser and detected that code 
below is generated in BODY, not in HEAD:

<script type="text/javascript">
  var RecaptchaOptions = {
  theme : 'custom',
  custom_theme_widget : 'recaptcha_widget',
  tabindex : 0
  };
</script> 

Original issue reported on code.google.com by the.vel...@gmail.com on 16 Jan 2011 at 6:24

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by adrian.g...@gmail.com on 23 Jan 2011 at 3:50

GoogleCodeExporter commented 8 years ago
No repro. Please reopen if still happening. Looks like this is on reCAPTCHA 
side, not the client libraries.

Original comment by adrian.g...@gmail.com on 9 Aug 2011 at 8:53

GoogleCodeExporter commented 8 years ago
Hi All,

Me to facing the same issue Please anyone suggest me out of this issue .. 

Original comment by gokulakr...@regalix-inc.com on 14 Apr 2012 at 12:47

GoogleCodeExporter commented 8 years ago
Hi All,

I am facing same issue. Can any one please suggest me on this issue.

Thanks,
Pavan.

Original comment by pavan...@gmail.com on 15 Oct 2014 at 11:13

GoogleCodeExporter commented 8 years ago
Hello! For me it works fine now and then. But the error presents itself in two 
ways: Sometimes it won't show and sometimes it will alert about security being 
lost.  Either way it wont't work.

Original comment by volv...@gmail.com on 24 Mar 2015 at 5:39

GoogleCodeExporter commented 8 years ago
Hi All,
I am using recaptcha v2. I am getting error at 
https://www.gstatic.com/recaptcha/api2/r20150728113637/recaptcha_en_gb.js
The error occurs very randomly. Some times it works and sometimes it wont.
Please help to share any findings. Appreciate your help
Thanks

Original comment by ccrwdcap...@gmail.com on 5 Aug 2015 at 8:36