Download & Extend

Invalid CAPTCHA URL when testing mode is enabled

Project:Mollom
Version:7.x-2.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

AttachmentSizeStatusTest resultOperations
Screen Shot 2012-03-21 at 11.57.10 AM.png46.97 KBIgnored: Check issue status.NoneNone

Comments

#1

Just confirming that I too have this issue.

#2

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.

#3

+1

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

#4

Priority:normal» major

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

#5

Version:7.x-2.0» 7.x-2.x-dev
Priority:major» normal
Status:active» needs review

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.

AttachmentSizeStatusTest resultOperations
mollom.captcha-testing.5.patch922 bytesIdleFAILED: [[SimpleTest]]: [MySQL] 4,228 pass(es), 1 fail(s), and 0 exception(s).View details

#6

Status:needs review» needs work

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

#7

Status:needs work» needs review

The server responses test actually asserts the returned protocol.

AttachmentSizeStatusTest resultOperations
mollom.captcha-testing.7.patch992 bytesIdlePASSED: [[SimpleTest]]: [MySQL] 4,229 pass(es).View details

#8

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.

#9

Status:fixed» closed (fixed)

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

#10

Status:closed (fixed)» needs review

This has been fixed upstream.

AttachmentSizeStatusTest resultOperations
mollom.captcha-testing-revert.10.patch1.39 KBIdlePASSED: [[SimpleTest]]: [MySQL] 4,229 pass(es).View details

#11

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.

#12

Status:fixed» closed (fixed)

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

#13

Version:7.x-2.x-dev» 7.x-2.2
Status:closed (fixed)» needs review

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:

AttachmentSizeStatusTest resultOperations
mollom-testing_mode_ssl-1493118-13.patch1.09 KBIdleFAILED: [[SimpleTest]]: [MySQL] Invalid PHP syntax in sites/default/modules/mollom/mollom.drupal.inc.View details

#14

Status:needs review» needs work

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

#15

Status:needs work» needs review
AttachmentSizeStatusTest resultOperations
mollom-testing_mode_ssl-1493118-15.patch1.17 KBIdleFAILED: [[SimpleTest]]: [MySQL] 4,370 pass(es), 1 fail(s), and 0 exception(s).View details

#16

Status:needs review» needs work

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

#17

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!

nobody click here