Viewing 10 replies - 1 through 10 (of 10 total)
  • Kevin

    (@kwacknov)

    I am also having the problem of the Captcha not showing. It doesn’t work on my MAMP localhost site, nor my BlueHost site. The GD library is loaded on both.

    Keobs

    (@keobs)

    not working on my godaddy setup, this really sux, plugin is useless with out catpcha.

    any other solutions out there guys?

    Same issue; multiple server configurations, default wp theme, no other plugins active.

    Plugin Author Nick Ciske

    (@nickciske)

    Odd. The captcha code was tested on MAMP/localhost, so that should work.

    Do you have WordPress installed in a subdirectory or other non standard configuration?

    @nick
    The problem seems to be in /lib/captcha/captcha.php on line 125 the global variable __FILE__ is used. __FILE__ resolves all symlinks (that the hosting co likely set up) . The resolved symlinks then don’t match up with strlen($_SERVER[‘DOCUMENT_ROOT’]).

    I couldn’t think of a quick way to elegantly solve that issue, so I just replaced the line with $image_src = '/wp-content/plugins/salesforce-wordpress-to-lead/lib/captcha/captcha.php' . '?_CAPTCHA&t=' . urlencode(microtime()); but that will only work for folks that are using WP at the root of their domain.

    Plugin Author Nick Ciske

    (@nickciske)

    @ chrishaff

    Thanks, I’ll take a look and see if I can switch that to a more compatible WordPress function in the next release.

    @nick

    I think this is the durable solution:
    $image_src = plugins_url( 'captcha.php', __FILE__ ) . '?_CAPTCHA&t=' . urlencode(microtime());

    I believe this also eliminates the need for the next line (126).

    I am also having an issue with captcha. We are using it on two forms on our site. One form always displays the Captcha text while the other form will only display the gray box 50% of the time – no text. Any ideas why 1 form always works and the other is sporadic?

    Plugin Author Nick Ciske

    (@nickciske)

    linderoni-

    Links to the 2 forms would be really helpful.

    Plugin Author Nick Ciske

    (@nickciske)

    @chrishaff’s fix will be in 2.0.1

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: WordPress-to-lead for Salesforce CRM] Captcha’ is closed to new replies.