Closed (fixed)
Project:
reCAPTCHA
Version:
6.x-1.x-dev
Component:
reCAPTCHA Captcha
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Dec 2009 at 16:01 UTC
Updated:
4 Jan 2011 at 16:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
robloach#670810: Port to Drupal 7 :-)
Comment #2
jen.c.harlan commentedsubscribing
Comment #3
rfaysubscribe. This is an important module.
Comment #4
ann_morris commentedAgreed.
Comment #5
anavarreSubscribing
Comment #6
will_in_wi commentedHere is a patch for reCaptcha and mailhide. On my computer it works correctly with Drupal 7. More testing would be appreciated.
Comment #7
anoopjohn commentedI downloaded the patch applied it on the latest 6.x-1.x-dev (as of today) and copied it to a new installation. I got the following error on the first load of modules page. I was however able to install and use the module without any problem.
Documenting this error here. I have reported this under Drupal core (#981818: Error PDOException: SQLSTATE[23000] Integrity constraint violation: 1062 Duplicate entry while loading modules page)
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'sites/all/modules/recaptcha/recaptcha.module' for key 1: INSERT INTO {system} (filename, name, type, owner, info) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4), (:db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => sites/all/modules/recaptcha/recaptcha.module [:db_insert_placeholder_1] => recaptcha [:db_insert_placeholder_2] => module [:db_insert_placeholder_3] => [:db_insert_placeholder_4] => a:9:{s:4:"name";s:9:"reCAPTCHA";s:11:"description";s:61:"Uses the reCAPTCHA web service to improve the CAPTCHA system.";s:12:"dependencies";a:1:{i:0;s:7:"captcha";}s:7:"package";s:12:"Spam control";s:4:"core";s:3:"7.x";s:5:"files";a:3:{i:0;s:19:"recaptcha.admin.inc";i:1;s:16:"recaptcha.module";i:2;s:17:"recaptcha.install";}s:7:"version";N;s:3:"php";s:5:"5.2.4";s:9:"bootstrap";i:0;} [:db_insert_placeholder_5] => sites/all/modules/recaptcha/recaptcha_mailhide.module [:db_insert_placeholder_6] => recaptcha_mailhide [:db_insert_placeholder_7] => module [:db_insert_placeholder_8] => [:db_insert_placeholder_9] => a:9:{s:4:"name";s:18:"reCAPTCHA Mailhide";s:11:"description";s:58:"Uses the reCAPTCHA web service to protect email addresses.";s:7:"package";s:12:"Spam control";s:4:"core";s:3:"7.x";s:5:"files";a:1:{i:0;s:25:"recaptcha_mailhide.module";}s:12:"dependencies";a:0:{}s:7:"version";N;s:3:"php";s:5:"5.2.4";s:9:"bootstrap";i:0;} ) in system_update_files_database() (line 2232 of /home/buddyerp/public_html/modules/system/system.module).
Comment #8
will_in_wi commentedI can't reproduce this. I tried uninstalling and reinstalling on my existing install and a new install. Both times it worked fine with no errors.
Can you reproduce this error?
Comment #9
lhorthy commentedI have tested this patch and have found no issues - everything is working as I would expect.
Comment #10
rfayHere's a reroll of #6, which is working for me with the alpha1 of captcha. I'm deploying this on randyfay.com.
This reroll just:
1. Patches from the root of the project against the D6 dev version.
2. Removes the LICENSE.txt (Drupal projects aren't supposed to have these any more)
3. Removes a spurious (I think) .cvsignore
Also attaching a tarball for people who just want to take it for a spin.
Comment #11
Unnamed commented+1
Comment #12
robloachCommitted! Drupal 7 reCAPTCHA now open. If there are any additional issues, let's open up new nodes. Thank you guys so much for the help on this.
Comment #13
robloachRandy Fay is so awesome that I gave him CVS access on this project.
Comment #14
rfayLooks to me like @will_in_wi did all the work. Thanks, will_in_wi! Nice work.
I thought getting CVS access was punishment, not reward :-)
Thanks, Rob.