Duplicate entry 'sites/all/themes/cwdesign/cwdesign.info' for key 1 query: INSERT»
INTO system (name, owner, info, type, filename, status, throttle, bootstrap) VALUES ('»
cwdesign', 'themes/engines/phptemplate/phptemplate.engine', 'a:11:{s:4:\»
"name\";s:14:\"Crum Webdesign\";s:11:\"description\";s:29:\"»
Tableless contemporary design\";s:7:\"version\";s:3:\"0.1\";s:4:\»
regions\";a:5:{s:4:\"left\";s:12:\"Left sidebar\";s:5:\"right\»
";s:13:\"Right sidebar\";s:7:\"content\";s:7:\"Content\"»
screenshot.png\";s:3:\"php\";s:5:\"4.3.5\";}', 'theme', »
'sites/all/themes/cwdesign/cwdesign.info', 0, 0, 0) in /usr/home/cwuser/domains/»
example.com/public_html/modules/system/system.module on line 830


marcusthijm’s picture

But I guess you know my question. I get this question in the watchdog. I've looked around this forum, the whole website and the whole www, but found a lot of information about sequences-tables, etc. Since this table is no longer present in Drupal 6 I found no answers in those topics.

The question is: does anyone know a solution to this problem?

P.S. Lines wrapped with » (as first seen on A List Apart)

huang_cn’s picture

one of my site has the same problem, which have one costom theme that made by myself. the site display following errors while i access /admin/build/modules

user warning: Duplicate entry 'themes/garland/minnelli/minnelli.info' for key 1 query: INSERT INTO system (name, owner, info, type, filename, status, throttle, bootstrap) VALUES ('minnelli', 'themes/engines/phptemplate/phptemplate.engine', 'a:14:{s:4:\"name\";s:8:\"Minnelli\";s:11:\"description\";s:56:\"Tableless, recolorable, multi-column, fixed width theme.\";s:7:\"version\";s:3:\"6.2\";s:4:\"core\";s:3:\"6.x\";s:10:\"base theme\";s:7:\"garland\";s:11:\"stylesheets\";a:1:{s:3:\"all\";a:1:{s:12:\"minnelli.css\";s:36:\"themes/garland/minnelli/minnelli.css\";}}s:7:\"project\";s:6:\"drupal\";s:9:\"datestamp\";s:10:\"1207776008\";s:7:\"regions\";a:5:{s:4:\"left\";s:12:\"Left sidebar\";s:5:\"right\";s:13:\"Right sidebar\";s:7:\"content\";s:7:\"Content\";s:6:\"header\";s:6:\"Header\";s:6:\"footer\";s:6:\"Footer\";}s:8:\"features\";a:10:{i:0;s:20:\"comment_user_picture\";i:1;s:7:\"favicon\";i:2;s:7:\"mission\";i:3;s:4:\"logo\";i:4;s:4:\"name\";i:5;s:17:\"node_user_picture\";i:6;s:6:\"search\";i:7;s:6:\"slogan\";i:8;s:13:\"primary_links\";i:9;s:15:\"secondary_links\";}s:7:\"scripts\";a:1:{s:9:\"script.js\";s:33:\"themes/garland/minnelli/script.js\";}s:10:\"screenshot\";s:38:\"themes/garland/minnelli/screenshot.png\";s:3:\"php\";s:5:\"4.3.5\";s:6:\"engine\";s:11:\"phptemplate\";}', 'theme', 'themes/garland/minnelli/minnelli.info', 0, 0, 0) in /www/htdocs/modules/system/system.module on line 830.
user warning: Duplicate entry 'themes/garland/garland.info' for key 1 query: INSERT INTO system (name, owner, info, type, filename, status, throttle, bootstrap) VALUES ('garland', 'themes/engines/phptemplate/phptemplate.engine', 'a:13:{s:4:\"name\";s:7:\"Garland\";s:11:\"description\";s:66:\"Tableless, recolorable, multi-column, fluid width theme (default).\";s:7:\"version\";s:3:\"6.2\";s:4:\"core\";s:3:\"6.x\";s:6:\"engine\";s:11:\"phptemplate\";s:11:\"stylesheets\";a:2:{s:3:\"all\";a:1:{s:9:\"style.css\";s:24:\"themes/garland/style.css\";}s:5:\"print\";a:1:{s:9:\"print.css\";s:24:\"themes/garland/print.css\";}}s:7:\"project\";s:6:\"drupal\";s:9:\"datestamp\";s:10:\"1207776008\";s:7:\"regions\";a:5:{s:4:\"left\";s:12:\"Left sidebar\";s:5:\"right\";s:13:\"Right sidebar\";s:7:\"content\";s:7:\"Content\";s:6:\"header\";s:6:\"Header\";s:6:\"footer\";s:6:\"Footer\";}s:8:\"features\";a:10:{i:0;s:20:\"comment_user_picture\";i:1;s:7:\"favicon\";i:2;s:7:\"mission\";i:3;s:4:\"logo\";i:4;s:4:\"name\";i:5;s:17:\"node_user_picture\";i:6;s:6:\"search\";i:7;s:6:\"slogan\";i:8;s:13:\"primary_links\";i:9;s:15:\"secondary_links\";}s:7:\"scripts\";a:1:{s:9:\"script.js\";s:24:\"themes/garland/script.js\";}s:10:\"screenshot\";s:29:\"themes/garland/screenshot.png\";s:3:\"php\";s:5:\"4.3.5\";}', 'theme', 'themes/garland/garland.info', 1, 0, 0) in /www/htdocs/modules/system/system.module on line 830.
user warning: Duplicate entry 'themes/chameleon/marvin/marvin.info' for key 1 query: INSERT INTO system (name, owner, info, type, filename, status, throttle, bootstrap) VALUES ('marvin', '', 'a:13:{s:4:\"name\";s:6:\"Marvin\";s:11:\"description\";s:31:\"Boxy tabled


marcusthijm’s picture

Is it a Drupal 6-site too?

huang_cn’s picture

it was ok when i runing drupal 5, but after upgrade, 2 of my sites have this problem. there is trouble in setting up the block section in admin panel for different theme -- only the default theme work.

unfortunately i couldn't figure out what causes this problem. a site that has this problem only have one contributed them(amadou) installed.


Jerome F’s picture

Same issue in drupal 6.15

I maybe should mark this as duplicate :
See #147000: Rewrite module_rebuild_cache() and system_theme_data() and #307756: Backport of #147000: Unify and rewrite module_rebuild_cache() and system_theme_data()

But this is still not fixed in drupal 6 as far as I understand this.

casperl’s picture

Same problem here.

This is a brand-new Drupal 6 site. It uses a customised acquia theme until such time as the client supplies promised but unseen graphical material and a proper theme can be constructed.

All the duplicate error messages are related to themes. I have deleted all themes other than 1) Bluemarine, 2) Customised Acquia and 3) Garland. Then I deleted all themes based entries in the system table and again made the custmised Acquia theme active.

The only problem is that the next day - after multiple visits to the admin blocks, content, theme, modules, logs pages etc, this error comes back.

I don't have a clue how to progress beyond this - can anyone help?

This, and more than a few other problems, leads me to consider that at the start of December 2008 and nearly 11 months after being released, Drupal 6 is still not ready for production sites - there are simply to many rough edges and strange errors to make using Drupal 6 a smooth experience for end users. But this is a debate for another conversation!!!

Casper Labuschagne
Where am I on the Drupal map on Frapper?

Dave Reid’s picture

pillarsdotnet’s picture

Please try the patch at #307756: Backport of #147000: Unify and rewrite module_rebuild_cache() and system_theme_data()

The web is like usenet, but
the elephants are untrained.

Good. — Fast. — Cheap.
(Pick any two.)

anawillem’s picture

i am reticent to make changes to the core modules for obvious reasons...has anyone out there found a fix?


wgoley06’s picture

I too was getting a similar duplicate entry error. I checked my database and followed the line given by the error code "'themes/bluemarine/bluemarine.info&#039". I came to find out for my installation that this error only occurred when I had the "NODEWORDS" module and "Clean URL's" module active. I tested this several times by uninstalling the whole drupal core multiple times testing each individual third party module and sure enough the "NODEWORDS" module was definitely triggering the error. Again this was for my drupal core. If you have the "NODEWORDS" module installed give this a shoot.