Closed (cannot reproduce)
Project:
CAPTCHA
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Apr 2012 at 13:43 UTC
Updated:
12 Feb 2019 at 22:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
soxofaan commentedWhere did you download the module from? From the project page (http://drupal.org/project/captcha) on drupal.org or through git?
On what page did/do you get this error? Is that the complete message?
Comment #2
brandy.brown commentedI downloaded it from the project page. I get this error when visiting any page, even the home page. The full error is:
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'captcha_type' in 'field list': SELECT module, captcha_type FROM {captcha_points} WHERE form_id = :form_id; Array ( [:form_id] => search_block_form ) in captcha_get_form_id_setting() (line 73 of /sites/all/modules/captcha/captcha.inc).
I get this error whether I am using beta2 or dev versions. When I try to run update.php, it just throws the error again, doesn't run updates.
Comment #3
soxofaan commentedHave you already tried to disable, uninstall and then reinstall the module?
Comment #4
brandy.brown commentedyeah. the problem still persists.
Comment #5
soxofaan commentedDo you know how to work with a database tool like for example PhpMyAdmin and could you e.g. post a screenshot of the schema/structure of the captcha_points table?
Comment #6
brandy.brown commentedI've attached the screenshot.
Comment #7
brandy.brown commentedI've attached the screenshot.
Comment #8
soxofaan commentedSo the "captcha_type" column is called "type" in your database?
This column was indeed called "type" but was changed to "captcha_type" around december 2010 (#825088: Exportables support for CAPTCHA points , http://drupalcode.org/project/captcha.git/commit/a0583ff0a9d5e85433d8717...).
A fresh install would not use "type" but "captcha_type". Are you sure that the CAPTCHA module was never before installed on your site in some way?
And when I asked to uninstall in #3, I mean not just disabling by toggling the checkbox, but really uninstalling (from the module uninstall tab), so that the database tables are removed. Can you verify that after uninstall the tables are gone and install again?
Comment #9
brandy.brown commentedI will try an uninstall, but yes I'm positive this module was never installed on this site.
Comment #10
chris matthews commentedI'm closing this 6 year old support request as cannot reproduce.