I am getting the below user warning after enabling this module:

* user warning: Table 'translation_overview_priority' already exists query: CREATE TABLE translation_overview_priority ( `tnid` INT unsigned NOT NULL, `lang_ja` TINYINT unsigned NOT NULL DEFAULT 1, `lang_en` TINYINT unsigned NOT NULL DEFAULT 1, PRIMARY KEY (tnid), INDEX lang_ja (lang_ja), INDEX lang_en (lang_en) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in /srv/www/example.com/public_html/includes/database.inc on line 550.
* user warning: Duplicate entry '1' for key 'PRIMARY' query: INSERT INTO translation_overview_priority (tnid) SELECT DISTINCT(nid) FROM node WHERE nid = tnid OR tnid = 0 OR tnid IS NULL in /srv/www/example.com/public_html/sites/all/modules/translation_overview/translation_overview.install on line 11.

Can anyone please help?

Comments

drewish’s picture

Status: Active » Postponed (maintainer needs more info)

Sounds like the module was already enabled on the site? Is that a possibility?

YK85’s picture

Status: Postponed (maintainer needs more info) » Active

Hi drewish,

Yes it may have been enabled at one point but was then disabled and uninstalled for awhile. Does this mean stuff remained in the database after uninstalling and so when I enabled the module again later it was telling me it already existed?

Thank you!

drewish’s picture

if you didn't uninstall it (from the uninstall tab on the modules page), i think that's what happened. could you try uninstalling it now and see if that sorts things out?