I've installed Mollom 7.x-2.0 in Drupal 7.12. It is in testing mode and the Mollom keys have been generated and verified.

When a captcha is supposed to be generated, I get nothing. When viewing the code, I see the following where the captcha should be, which explains why nothing is being generated.

<span class="mollom-captcha-content mollom-image-captcha">
<img typeof="foaf:Image" src="http://some-url-to-a-captcha" alt="Type the characters you see in this picture.">
</span>

Am I missing an obvious step or dependency here? I've used an earlier version of the Mollom module on another site without issue.

Any help is appreciated.

Thanks,
Joe

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

maestrojed’s picture

Just confirming that I too have this issue.

jwinton’s picture

I just looked at this again and realized that the captcha only fails while Mollom is in testing mode. When testing mode is turned off, the captcha generates fine.

GuyPaddock’s picture

+1

Also having this issue when test mode is enabled. Made me look a bit foolish during a client demo. :(

GuyPaddock’s picture

Priority: Normal » Major

Moving to major. With this issue, there's no easy way to confirm that captchas are working on the site.

sun’s picture

Version: 7.x-2.0 » 7.x-2.x-dev
Priority: Major » Normal
Status: Active » Needs review
FileSize
922 bytes

This will have to be fixed upstream in Mollom's REST Testing API, but let's put a temporary client-side fix in for now.

Status: Needs review » Needs work

The last submitted patch, mollom.captcha-testing.5.patch, failed testing.

sun’s picture

Status: Needs work » Needs review
FileSize
992 bytes

The server responses test actually asserts the returned protocol.

sun’s picture

Title: Captcha not generated when "unsure" - placeholder URL for captcha » Invalid CAPTCHA URL when testing mode is enabled
Status: Needs review » Fixed

Thanks for reporting, reviewing, and testing! Committed to all branches.

A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

sun’s picture

Status: Closed (fixed) » Needs review
FileSize
1.39 KB

This has been fixed upstream.

sun’s picture

Status: Needs review » Fixed

Thanks for reporting, reviewing, and testing! Committed to all branches.

A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

poedan’s picture

Version: 7.x-2.x-dev » 7.x-2.2
Status: Closed (fixed) » Needs review
FileSize
1.09 KB

I have the same problem. Using the https:// in the testing mode brakes the url to the captcha image. I made a temporary fix for this:

Status: Needs review » Needs work

The last submitted patch, mollom-testing_mode_ssl-1493118-13.patch, failed testing.

poedan’s picture

Status: Needs work » Needs review
FileSize
1.17 KB

Status: Needs review » Needs work

The last submitted patch, mollom-testing_mode_ssl-1493118-15.patch, failed testing.

sun’s picture

Status: Needs work » Closed (fixed)

@poedan: I'm not able to reproduce any remaining problems with SSL CAPTCHA URLs in testing mode with the latest code of the module. If you still experience issues, then I suspect they must be caused by something else. If that is the case, and if you're running the latest version of the module, could you file a new issue and explain what behavior you are seeing on your site? Thanks!

  • Commit 3abedd2 on 7.x-2.x, 8.x-2.x, fbajs, actions by sun:
    - #1493118 by sun: Fixed Invalid CAPTCHA URL when testing mode is...
  • Commit a5e56ac on 7.x-2.x, 8.x-2.x, fbajs, actions by sun:
    Revert "- #1493118 by sun: Fixed Invalid CAPTCHA URL when testing mode...

  • Commit 3abedd2 on 7.x-2.x, 8.x-2.x, fbajs, actions by sun:
    - #1493118 by sun: Fixed Invalid CAPTCHA URL when testing mode is...
  • Commit a5e56ac on 7.x-2.x, 8.x-2.x, fbajs, actions by sun:
    Revert "- #1493118 by sun: Fixed Invalid CAPTCHA URL when testing mode...