I keep getting the message "The CAPTCHA was not completed correctly. Please complete this new CAPTCHA and try again." on all the sites I have attached Mollom to.
http://cuiltext.org is one of those sites. I have the Mollom Captcha attached to user/register and user/password. The Mollom settings say that my Keys are in working order. However no matter how many times I have tried to enter in the captcha and create an account I get the message. I am running drupal 6.15 and the latest version of Mollom. I have installed it and no updates are required. Any light on this issue would be much appreciated.
-Jesse
| Comment | File | Size | Author |
|---|---|---|---|
| #49 | mollom-DRUPAL-6--1.support.49.patch | 2.71 KB | sun |
| #47 | mollom-DRUPAL-6--1.support.47.patch | 4.35 KB | sun |
| #41 | mollom-DRUPAL-6--1.support.41.patch | 4.1 KB | sun |
Comments
Comment #1
dobe commentedI think my issue may be related to http://drupal.org/node/295242 however that patch is not able to be applied on the latest version of MOLLOM looking for a update patch. I have the modules "Content Profile" and "Content Profile User Registration" Enabled on my sites. Is there something that can be done to get these to work?
Comment #2
dobe commentedI figured I'd change it to a bug as I think that it is Mollom CAPTCHA that is causing the issue, I think I narrowed the problem down to the combination of the CONTENT PROFILE User Registration module and Mollom not liking that form included on the user register page.
Comment #3
sunI installed content_profile and content_profile_registration modules and I'm not able to replicate this issue. Registering new users works just fine.
Comment #4
smanes commentedI got a call from a user today who complained that she couldn't create an account on our dog run site because the "CAPTCHA thing" wouldn't let her in.
I tested it out and she was right. No matter what I entered at the New User Creation form I kept getting the error "The CAPTCHA was not completed correctly. Please complete this new CAPTCHA and try again."
It didn't matter whether a visual or audio CAPTCHA was presented. It worked fine until I updated to mollom-6.x-1.12 on March 5. I tested this problem in both FF and Safari.
I also have an extended user profile form.
Added: I rolled back to the second most recent Mollum tarball I have here (6.10) and there are no problems with user registration.
Comment #5
dobe commentedI understand you may have installed them but did you create some CCK fields and activate choice content type to appear on the registration form? I will investigate this further as well.
Comment #6
stevetheboater commentedI have exactly the same problem on all pages (user registration, contact form) which use Mollom on a site which has worked without problems until a day or two ago. I upgraded to the latest version of the core 6.16 a few days ago, so I guess it may be related. I've tried completely uninstalling and reinstalling Mollom but no joy :(
Comment #7
dobe commentedI am really unsure where this issue is arising from. I have installed every module I had installed from a clean drupal installation and there are absolutely no problems. But no matter what I disable on the site mentioned above mollom continues to pop that message. I have no errors in PHP popping in logs or anywhere else.. Although the issues persist. I have even updated to the latest drupal and this has not fixed it. Disabled and uninstalled, reinstalled. Everything I can think of to resolve this but nothing seems to be working. Any assistance maybe as to what could be causing this would be greatly appreciated. My Active module list is as follows:
Drupal 6.16
Administration menu 6.x-1.5
Auto Assign Role 6.x-1.1
Automatic Nodetitles 6.x-1.2
BackReference 6.x-1.0
Backup and Migrate 6.x-2.2
Content Access 6.x-1.2
Content administration 6.x-1.0-beta2
Content Construction Kit (CCK) 6.x-2.6
Content Profile 6.x-1.x-dev (2010-Jan-13)
Date 6.x-2.4
DHTML Menu 6.x-3.5
FileField 6.x-3.2
Form Markup 6.x-1.1
Google Analytics 6.x-2.2
ImageField 6.x-3.2
Meta tags Node Type 6.x-1.7
Mollom 6.x-1.12
Node Export 6.x-2.19
Node Limit Number 6.x-1.0
Nodewords 6.x-1.11
Notify 6.x-1.0
Override Node Options 6.x-1.10
Page Title 6.x-2.3
Pathauto 6.x-1.2
Phone (CCK) 6.x-2.14
Poormanscron 6.x-2.2
Popups API (Ajax Dialogs) 6.x-1.3
Popups: Add and Reference 6.x-1.0
RobotsTxt 6.x-1.2
Role Delegation 6.x-1.2
Token 6.x-1.12
Token Filter 6.x-1.0
Ubercart 6.x-2.2
UC Node Checkout 6.x-2.0-beta4
Unique field 6.x-1.2
User registration notification 6.x-1.11
Views 6.x-2.8
Views Slideshow 6.x-2.0-beta2
Webform 6.x-2.9
As I said though I have clean installed and activated all these modules and setup all the settings and still have not found what is causing this.
Comment #8
sun@dobe: wow, thanks for making sure that you also cannot replicate it on a clean install! That is really a giant help for debugging this issue. Thank you! :)
Given this important detail, I can only think of
1) any custom hook_form_alter() implementations?
2) hook_form_alter() implementations in some of the installed modules that may be configured differently; anything that interacts with forms is questionable - therefore:
Automatic Nodetitles
Content Profile
Form Markup
Override Node Options
Unique field (not sure)
Would it be possible to copy your production site's database to a local development copy and disable those modules (step by step)? (Note that http://drupal.org/project/demo might be helpful for that)
Comment #9
dhcreative commentedHaving the same issue. Following.
Comment #10
ljdursi commentedI have this issue too; running drupal core 6.16, and also have an extended user registration page. Installed mollom-6.x-1.10 insead of .12 and now all is working, so I guess this avoids the issue for now for me, but I would like to be able to use the .12 releases feature of being able to process arbitrary forms.
Comment #11
sun@dobe: Any news?
Comment #12
thelocaltourist commentedsubscribe
Comment #13
Benjamin Schrauwen commentedI debugged this in the Mollom backend using the cuiltext.org website. When trying to create an account, the image captcha is correctly requested by the website, and fetched by the user, but when the captcha is filled in, I get this error in the backend:
[Fri Mar 12 21:13:15] [http://cuiltext.org] called 'mollom.checkCaptcha'
[Fri Mar 12 21:13:15] [http://cuiltext.org] called checkCaptcha with no session ID, returning false
This shows that the Mollom module does not pass a session ID when trying to test the captcha response. This is a module issue. It is probably not due to caching, but the registration form has extra fields, so possibly an issue with the profile or users as nodes integration.
Comment #14
Benjamin Schrauwen commentedComment #15
scratt commentedUser just contacted me today with this issue.
We are still on Drupal 6.15. Was planning to update this weekend.
I have not updated or changed any modules since we had our last registrations.
And I know we've had registrations which have passed the CAPTCHA test since updating the mollom module to 6.x-1.12.
Could this be some change in API / error on mollom's end?
Comment #16
tsavory commentedI am having the same problem hope that this gets solved soon.
Comment #17
sunAs it seems all of you have this issue after updating to the latest version - is it possible that not only the user registration form is protected by Mollom, but also the node form that is used by Content Profile?
Comment #18
sunI think I've tried every possible combination of configuration options now. Still no luck - I'm unable to replicate this bug.
However: Which PHP version are you on?
Also, how about php.ini settings for
error_reportinganddisplay_errors?Comment #19
sun- Tested with CCK and additional fields, and without.
- Tested with Content Profile + Content Profile Registration and without.
- Tested with latest official releases, development snapshots, and all possible combinations of both Content Profile and Mollom.
- Tested with additional protection of Profile node type form and without.
- Tested with administrative approval of new user accounts and without.
- Tested with Mollom testing keys and real keys.
- Analyzed and scanned Content Profile module's code for any possible harmful code.
I'm running out of ideas, and I need more info.
Thus, if you experience this bug on your site, please compare the list of installed modules mentioned by @dobe in #7.
Any additional information you can provide, please state it.
Comment #20
sunAdditionally installed + configured the modules:
- Automatic Nodetitles
- Form Markup
- Override Node Options
- Token
- Unique field
Still works like it should.
Comment #21
dobe commentedI am sorry for not getting back sooner.
Here is some of the information of what the site is installed on:
the mollom captcha is activated on http://gotextco.com and not the site above. This is a test site.
MySQL database 5.0.90
PHP 5.2.13
PHP memory limit 96M
PHP register globals Disabled
Unicode library PHP Mbstring Extension
Web server Apache/2.2.3 (CentOS)
I will continue further testing into this issue tomorrow as I would like to get Mollom rockin.
Comment #22
dobe commentedI FIGURED IT OUT!!!!!!!!!!!!!!!!!
OK so after experiencing a issue with Ubercart earlier today for a client. It seem that when importing/exporting Drupal database. Every now and then the "Anonymous" user in the "users" table seems to be removed. Since this module like the Ubercart "cart-links" module relies on session id's with the anonymous user it fails out if the user doesn't exist in the DB. So what I did to fix this was added inserted the user in manually.
This insert may be different depending on how many columns are in your database / MySQL version.
Hope this helps anyone that are having this issue. Also, since these findings don't seem to be an issue with the module, this issue is not a bug.. But maybe something else.......
-Jesse
Comment #23
waddles commentedI can confirm everything except that #22.
The session_id was not getting sent in the XMLRPC request to mollom.com when the user submitted the user/register form, even though it was submitted in the POST to my site (in the POST data, the session_id includes a timestamp prefix as well).
I did not have Content Profile installed and I did have a correct user 0 (Anonymous). I did have Login Toboggan and Persistent Login enabled but they were not affecting it.
The problem for me was due to no Anonymous sessions, introduced by http://drupal.org/project/no_anon causing anonymous users to have nothing in $_SESSION. It says quite clearly in the README.txt and the project page for that module:
In my site's settings.php, I had this:
After commenting that out, it works properly again.
I noticed some comments in HEAD about forcing a session for anonymous users in D7 and Pressflow 6.x. Are other people who experience this problem using Pressflow by any chance, or like me and neglected to check for problems when installing no_anon?
See also:
http://drupal.org/node/353428
http://drupal.org/node/315830
Comment #24
waddles commentedI don't believe this is a bug in mollom so I'm setting it back to support request.
So far there are 2 possible causes:
Comment #25
dobe commentedYeah I don't believe it is a mollom bug anymore either... However, I just hope it helps people experiencing similar issues, as this issue does have to do with mollom requiring an Anonymous user session. Something that can be easily overlooked by thinking it has to do with module incompatibilities.
Maybe if mollom could output an error/debug message stating something about the failing to recover user session and not saying "Captcha was not completed correctly". Just a thought. Since no errors pop watchdog or anything else that I noticed.
-Jesse
Comment #26
scratt commentedJust want to clarify something..
This started happening on our site when we were on Drupal 6.15 and Mollom version 6.x-1.12.
Updating to the latest version of Drupal saw no change.
We do have user 0, and we do allow anonymous sessions.
We are not using any modules like no_anon etc.
So I have to say I don't see the fix / cause of this problem being the same as is being said above.
Comment #27
dries commented@dobe, Mollom actually logs things in the watchdog.
Comment #28
waddles commented@scratt - let's see if we can work it out then while it's fresh in my mind. Can you do any or all of these in this order?
Non-existent session id 100327c652a98bb96f.That last one is the session_id that should be sent to mollom.com in the XMLRPC request.
watchdog()function?# tcpdump -s 1500 -w /tmp/mollom.dump mollom.comAfter all that, if you still don't find the problem or session_id is being sent to mollom.com, then your problem is different to the original poster.
Comment #29
waddles commented@dobe - You should see if migrating your site again will drop your uid=0. Maybe there is a previously unnoticed bug in Content Profiles.
Comment #30
scratt commented@wad Thanks for your feedback.
1. Tried that with various test users. Got the following :
2. Cleared Cache. Same results.
3. Cookies are enabled.
Bear in mind I was informed of this problem initially by various people trying to register for the site starting on one specific day. Prior to that we had had no issues, and no updates had been done on the site between getting successful registrations and then this problem occurring. Which is just bizarre.
Since then I have reinstalled Mollom, restarted the server various times, updated Drupal, and cleared the cache more than once. Both on the server and also in Drupal.
4. Nope.
5. I will take some time out to do this in the coming days.
FWIW, although I have not carried out your specific tests yet, I can confirm that both this site, and the other two sites on this same server, all regularly communicate with other services provided by companies similar to Mollom without any problems. It's a dedicated server which we have complete control over.
Would appreciate some feedback on what I have posted so far though.
Thanks
Comment #31
waddles commented@scratt - Check your php.ini and settings.php for any resetting of sessions. This is what I have:
Perhaps someone else can comment on whether that is optimal for using mollom as I have no idea, it just works.
You should easily be able to capture the packets with tcpdump on a dedicated server. Do you see the mollom session_id being sent in the XMLRPC request?
You mentioned you have success with other services but are they calling
xmlrpc()to achieve that?Comment #32
scratt commentedI have similar php settings to you, but not identical :
I am no expert here with what may or may not affect Mollom, so if you see anything that is worth changing I would appreciate it.
Here is my settings.php
I am doing the tcpdump stuff today and will post back.
xmlrpc seems to be working fine, and yes is used by other things...
However, in my dump, whilst I can see comms. with Mollom going on, I cannot see the specific session ID being sent.
I will do some more digging today, as I was not able to get tcpdump to work quite as elegantly as I hoped on the server. (I am not a tcpdump expert!)
Also the raw dump data I have I would rather not post here, but am happy to send to people.
Comment #33
c960657 commentedThe no_anon problem is covered by #775398: Disabled cookies == no session data, impossible to submit a protected form.
Comment #34
scratt commentedAny updates on this?
Hoping we may hear back from someone with regards to the info I posted above...
This issue persists with the latest version of Mollom, and a fully updated site with a complete database update.
Comment #35
WildBill commentedYes, I am using Drupal 6.16, the latest version of Mollom, cookies enabled, anonymous sessions allowed. No_anon module is NOT installed. But I'm unable to get past the CAPTCHA, as others have described.
Comment #36
WildBill commentedhttp://drupal.org/node/750896#comment-2933688 - related to Facebook Connect?
Comment #37
scratt commentedI have nothing to do with Facebook on my site. :)
Comment #38
WildBill commentedYeah, I don't think it's directly the fault of the Facebook Connect module... but there may be a clue. Maybe the same thing that's causing FB Connect to conflict with Mollom is also causing some other module of yours to conflict with Mollom.
Comment #39
luketsimmonsThis may not help everyone or has been mentioned previously, but I was having this issue and noticed I didn't have an anonymous user in the users table.
Not sure why it had vanished, since it was there previously. However, I've added a new user into the DB (directly not through user management) and set the UID to 0 (after insert since it uses the auto increment initially).
This has fixed the no session_id issue for me and Mollom is working again.
Thanks,
Luke
Comment #40
gpk commentedRe. the missing anonymous user entry in {users} table, you may be seeing #204411: Anonymous user id breaks on MySQL export/import (xID of Zero get's auto-incremented on external xSQL events). Might be worth checking you don't now have 2 entries with empty name and password. Especially see http://drupal.org/node/204411#comment-1812126.
Comment #41
sunWhile all of this is not really caused by Mollom module, it seems like sufficient people think that everything is caused by Mollom.
To prevent bogus blames, I propose attached patch.
Comment #42
dave reidI'd probably prefer this added to hook_requirements().
Comment #43
sunwell, the original variant of this code actually already runs when hook_requirements() runs: http://api.drupal.org/api/function/system_status/6
Comment #44
dries commentedYuck. That is one ugly bug to work around.
I don't get this code comment.
Any reason we can't do 'uid = 0' (instead of 'uid = uid - uid').
Personally, I don't think it is the Mollom module's job to try and fix one's database.
Comment #45
sun...is Dave's nice little module, which should actually be in core already. We can prefix this comment with "Support for".
Drupal core does it that way. Most likely, there's a good reason for this very odd value assignment. I hope so, at least ;)
#204411: Anonymous user id breaks on MySQL export/import (xID of Zero get's auto-incremented on external xSQL events) should hold the details.
Me neither. But hey, we're at #45 here + not counting plenty of duplicate issues. :-|
Comment #46
adshill commentedI'm not sure if warning people about lack of user 0 is going to fix this issue - as I have a user 0 but still don't have access to a working Mollom.
Also, I don't use fbconnect. I will try to carry out #28 when I can to try and suss this out better.
Comment #47
sunRe-rolled with better comments.
Comment #49
sunI've removed the code duplication of system_status() and instead went with a simple link to the status reports page.
Comment #50
dries commentedI'm still not convinced we want this cruft. Let's not commit this yet.
Comment #51
sunMe neither. This bug is clearly caused by a bogus MySQL import. I can only recommend to use http://drupal.org/project/demo or a similar tool to export and import a Drupal database.
Furthermore, the compatibility with no_anon module should already be resolved in 6.x-1.14.
In case any other issues are not yet resolved, please open separate + dedicated issues for them, so we are able to properly track each issue's individual status. Thanks all!