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

Files: 
CommentFileSizeAuthor
#15 mollom-testing_mode_ssl-1493118-15.patch1.17 KBpoedan
FAILED: [[SimpleTest]]: [MySQL] 4,370 pass(es), 1 fail(s), and 0 exception(s).
[ View ]
#13 mollom-testing_mode_ssl-1493118-13.patch1.09 KBpoedan
FAILED: [[SimpleTest]]: [MySQL] Invalid PHP syntax in sites/default/modules/mollom/mollom.drupal.inc.
[ View ]
#10 mollom.captcha-testing-revert.10.patch1.39 KBsun
PASSED: [[SimpleTest]]: [MySQL] 4,229 pass(es).
[ View ]
#7 mollom.captcha-testing.7.patch992 bytessun
PASSED: [[SimpleTest]]: [MySQL] 4,229 pass(es).
[ View ]
#5 mollom.captcha-testing.5.patch922 bytessun
FAILED: [[SimpleTest]]: [MySQL] 4,228 pass(es), 1 fail(s), and 0 exception(s).
[ View ]
Screenshot of broken captcha image46.97 KBjwinton

Comments

Just confirming that I too have this issue.

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.

+1

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

Priority:Normal» Major

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

Version:7.x-2.0» 7.x-2.x-dev
Priority:Major» Normal
Status:Active» Needs review
StatusFileSize
new922 bytes
FAILED: [[SimpleTest]]: [MySQL] 4,228 pass(es), 1 fail(s), and 0 exception(s).
[ View ]

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.

Status:Needs work» Needs review
StatusFileSize
new992 bytes
PASSED: [[SimpleTest]]: [MySQL] 4,229 pass(es).
[ View ]

The server responses test actually asserts the returned protocol.

Title:Captcha not generated when "unsure" - placeholder URL for captchaInvalid 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.

Status:Closed (fixed)» Needs review
StatusFileSize
new1.39 KB
PASSED: [[SimpleTest]]: [MySQL] 4,229 pass(es).
[ View ]

This has been fixed upstream.

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.

Version:7.x-2.x-dev» 7.x-2.2
Status:Closed (fixed)» Needs review
StatusFileSize
new1.09 KB
FAILED: [[SimpleTest]]: [MySQL] Invalid PHP syntax in sites/default/modules/mollom/mollom.drupal.inc.
[ View ]

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.

Status:Needs work» Needs review
StatusFileSize
new1.17 KB
FAILED: [[SimpleTest]]: [MySQL] 4,370 pass(es), 1 fail(s), and 0 exception(s).
[ View ]

Status:Needs review» Needs work

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

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!