Closed (fixed)
Project:
Flag
Version:
7.x-3.3
Component:
Flag core
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2014 at 13:58 UTC
Updated:
19 Feb 2014 at 16:10 UTC
Jump to comment: Most recent
after installing module i get following error message:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'abc.flags' doesn't exist: SELECT f.fid AS fid, f.content_type AS content_type, f.name AS name, f.title AS title, f.global AS global, f.options AS options, fn.type AS type FROM {flags} f LEFT OUTER JOIN {flag_types} fn ON fn.fid = f.fid; Array ( ) in flag_get_flags() (line 1665 of /Applications/MAMP/htdocs/abc/sites/all/modules/flag/flag.module).
Comments
Comment #1
bsandor commentedi use
drupal 7.26
panels 7.3.3
ctools 7.1.3
Comment #2
bsandor commentedoriginally i used flag 3.3 that didn't work with panels 7.3.3. That's why i tried flag 7.2.1.
AS later one collapsed i went back to flag7.3.3 now I get following error message:
DatabaseSchemaObjectExistsException: Table flag already exists. in DatabaseSchema->createTable() (line 657 of /Applications/MAMP/htdocs/abc/includes/database/schema.inc).
The flag7.3.3 misscompatibility is described here: https://drupal.org/node/2188591
Comment #3
joachim commented> originally i used flag 3.3 that didn't work with panels 7.3.3. That's why i tried flag 7.2.1.
AS later one collapsed i went back to flag7.3.3 now I get following error message:
You can't go back a version. If you do that anyway, you then can't go forward again. You've now got your DB in an unstable state. You need to manually remove all the tables that BOTH versions have created, and start again.
Comment #4
bsandor commentedHi,
Thanks for your answer.
Do you mean even after uninstalling the module? Tables stay there? If that's the case it would be definitely great getting rid of tables.
Anyways i have a critical issue for wich i might open another ticket maybe..
Thanks.
Comment #5
joachim commented> Do you mean even after uninstalling the module? Tables stay there? If that's the case it would be definitely great getting rid of tables.
Running the proper uninstall procedure will delete tables.
However, if you uninstall Flag 2 having previously installed Flag 3, then that won't work, because their tables do not have the same names.