This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
windows 7, Mssql and latest mojo
I tried to test the contact form, it shows below errors when I send message.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Recaptcha.RecaptchaControl.get_IsValid() +15
mojoPortal.Web.Controls.Captcha.RecaptchaAdapter.get_IsValid() +44
mojoPortal.Web.Controls.CaptchaControl.get_IsValid() +125
mojoPortal.Web.ContactUI.ContactForm.btnSend_Click(Object sender, EventArgs e) +412
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
Thanks for help.
Are you using svn trunk? I cannot produce this error.
Best,
Joe
Actually I tried both the formal release and the the svn. It shows same error message. If I disable the spam block function, the contact form works fine. It might be some problem in my local setup. Thank you for helping.
Have you filled in the settings for Re-Captcha in Administration > Site Settings > Security > Anti-Spam?
The error you posted indicated that you have selected Re-Captcha.
HTH,Joe D.
Yeah. That's the problem.
If I selected "SubkismetCaptcha" or " SimpleMathCaptcha", everything works normal. Only "RecaptchaCaptcha" causes the problem.
So you did fill in the Private and Public keys for ReCaptcha? If you did not, that is probably the reason for the error.
-Joe
No, I haven't filled the keys. Why I didn't need to fill anything for another two options? BTW, where are the keys? Thanks
The keys are for ReCaptcha only. The other two Captcha options do not require any additional information. To obtain a key for recaptcha: