Getting the following message when saving my settings on the captcha admin page, no matter what settings I use. I see the permission links for captcha under "access control", but the captcha itself is not working / not displayed or used on any of the captcha points I specified when saving the settings which gave me this error:
Warning: Table 'watchdog' was not locked with LOCK TABLES query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', 'Duplicate entry 'user_login_block_fully_authenticated_user_captch' for key 1\nquery: INSERT INTO variable (name, value) VALUES ('user_login_block_fully_authenticated_user_captcha', 'i:0;') in /home/mysite/public_html/includes/database.mysql.inc on line 120.', 2, '', 'http://www.mysite.org/admin/settings/captcha', 'http://www.mysite.org/admin/settings/captcha', '66.36.139.16', 1153152315) in /home/mysite/public_html/includes/database.mysql.inc on line 120
Comments
Comment #1
wundo commentedSteven, could you please discribe better your problem and your environment?
What drupal version are you using?
Any special module?
Comment #2
phoolish commentedSteven,
Try changing the character length of the role fully_authenticated_user to something like full_user. I had the same problem and changed the char length and now it works great.
Comment #3
lucky a commentedI had the same error. Using Drupal 4.7.3 with the cvs captcha. Would Get the above mentioned error every time I hit "save settings" in admin->settings.
After changing the name of the full admin role from Администратор то Админ (my site is in russian) as suggested above, the error went away. However, the solution seems too empirical even for my experimental physicist's taste :) , so a more systematic solution would be appreciated :)
Comment #4
mj2308 commentedAlso had the same problem and changing the name of the role did solve the problem, so this does seem like the source of the bug
Comment #5
wundo commentedSeens to be solved in the last version...
Comment #6
wundo commentedComment #7
desm0n commentedNot for me it wasn't :(
Still the same errors. although the Captcha activates and works perfectly.
Comment #8
wundo commentedComment #9
soxofaan commentedClosing this issue: