Captcha image not showing up in online form for marketers

I use Web Forms for Marketers 2.5 rev 141014 ", but it creates a form . I take, but < The captcha image does not appear on the front side .

Screenshot

What am I doing wrong?

+6
source share
4 answers

Thanks for your suggestions, but the problem was in the dll conflict. When I first installed the WFFM module (which contains the Captcha dll), and then after installing the WeBlog module (which also contains the Captcha dll), the dlls were written above. Therefore, trying to redirect the assembly resolved this problem. Thanks again for your input.

+2
source

Found this article by Jonathan Robbins Web forms for marketers Captcha does not display which solved my problem

It turns out that there is an additional configuration that needs to be added to web.config when installing or updating this version of web forms.

If your site is running on II7 and the Integrated Pipeline Mode is set, you want to add these configuration nodes at the bottom of the next location to the configuration web.config / system.webServer / handers

<add name="CaptchaImage" verb="*" path="CaptchaImage.axd" type="Sitecore.Form.Core.Pipeline.RequestProcessor.CaptchaResolver, Sitecore.Forms.Core" /> <add name="CaptchaAudio" verb="*" path="CaptchaAudio.axd" type="Sitecore.Form.Core.Pipeline.RequestProcessor.CaptchaResolver, Sitecore.Forms.Core" /> 

If your site runs on IIS6 or the managed pipeline of your application pool is classic, these two nodes must be added to the following path in the configuration web.config / system.webServer / httpHanders

 <add name="CaptchaImage" verb="*" path="CaptchaImage.axd" type="Sitecore.Form.Core.Pipeline.RequestProcessor.CaptchaResolver, Sitecore.Forms.Core" /> <add name="CaptchaAudio" verb="*" path="CaptchaAudio.axd" type="Sitecore.Form.Core.Pipeline.RequestProcessor.CaptchaResolver, Sitecore.Forms.Core" /> 
+3
source

Did you change the Web.config file on request after the installation?

  1. Add the following nodes to Web.config:
    • for IIS 6.x in the configuration \ system.web \ httpHandlers node
    • for IIS 7.x and higher in the configuration \ system.webServer \ node handlers

If you have done this, are you using both WFFM and the WeBlog module?

The problem is that WeBlog uses preprocessRequest sitecore to resolve CaptchaImage. This pipeline does not have a session, so the WFFM captcha (which stores data in the default session) will not work in this setting.

The solution was only to remove

 <preprocessRequest> <processor patch:before="*[1]" type="Sitecore.Modules.WeBlog.Pipelines.CaptchaProcessor,Sitecore.Modules.WeBlog"/> </preprocessRequest> 

from the WeBlog.config file.

+2
source

If you use MVC, there may be a problem with the Microsoft Captcha control. Sitecore has released a fix that you can get by contacting support at http://support.sitecore.net

http://sdn.sitecore.net/Products/Web%20Forms%20for%20Marketers/Web%20Forms%20for%20Marketers%202,-d-,5/Release%20Notes.aspx

+1
source

Source: https://habr.com/ru/post/981274/


All Articles