When I try to install Flag 6.x-1.3. it says:



    * user warning: Table 'db190123_4.flags' doesn't exist query: SELECT f.*, fn.type FROM flags f LEFT JOIN flag_types fn ON fn.fid = f.fid in /.../modules/contrib/flag/flag.module on line 887.
    * user warning: Table 'db190123_4.flags' doesn't exist query: SELECT f.*, fn.type FROM flags f LEFT JOIN flag_types fn ON fn.fid = f.fid in /.../modules/contrib/flag/flag.module on line 887.

I have no idea what's going on. It's possible that i had an installation of flag before (a really long time ago), but I can't find any tables in my database.

When I run the update.php it says:


    * user warning: Table 'db190123_4.flags' doesn't exist query: SHOW COLUMNS FROM flags LIKE 'flag_short' in /.../includes/database.mysql.inc on line 349.
    * user warning: Table 'db190123_4.flag_content' doesn't exist query: SHOW COLUMNS FROM flag_content LIKE 'fcid' in /.../includes/database.mysql.inc on line 349.
    * user warning: Table 'db190123_4.flag_content' doesn't exist query: ALTER TABLE flag_content DROP PRIMARY KEY in /.../includes/database.mysql-common.inc on line 386.
    * user warning: Table 'db190123_4.flag_content' doesn't exist query: ALTER TABLE flag_content ADD `fcid` INT unsigned auto_increment DEFAULT NULL, ADD PRIMARY KEY (fcid) in /.../includes/database.mysql-common.inc on line 298.
    * user warning: Table 'db190123_4.flag_content' doesn't exist query: ALTER TABLE flag_content CHANGE `fcid` `fcid` INT unsigned NOT NULL auto_increment in /.../includes/database.mysql-common.inc on line 520.
    * user warning: Table 'db190123_4.flag_content' doesn't exist query: ALTER TABLE flag_content ADD UNIQUE KEY fid_content_type_content_id_uid (fid, content_type, content_id, uid) in /.../includes/database.mysql-common.inc on line 403.
    * user warning: Table 'db190123_4.flags' doesn't exist query: SELECT f.*, fn.type FROM flags f LEFT JOIN flag_types fn ON fn.fid = f.fid in /.../modules/contrib/flag/flag.module on line 887.
    * user warning: Table 'db190123_4.flag_counts' doesn't exist query: DELETE FROM flag_counts WHERE count = 0 in /.../modules/contrib/flag/flag.install on line 461.
    * user warning: Table 'db190123_4.flags' doesn't exist query: SELECT f.*, fn.type FROM flags f LEFT JOIN flag_types fn ON fn.fid = f.fid in /.../modules/contrib/flag/flag.module on line 887.

Any help appreciated!

Comments

towlie’s picture

Version: 6.x-1.3 » 6.x-1.0-beta1

My bad! I had to uninstall the old version 6.x-1.0-beta1 ;) Sorry!

towlie’s picture

Category: bug » support
Priority: Critical » Minor
Status: Active » Closed (fixed)