Every time i start to work on admin page i got this message...

user warning: Duplicate entry 'themes/pushbutton/pushbutton.info' for key 1 query: INSERT INTO system (name, owner, info, type, filename, status, throttle, bootstrap) VALUES ('pushbutton', 'themes/engines/phptemplate/phptemplate.engine', 'a:13:{s:4:\"name\";s:10:\"Pushbutton\";s:11:\"description\";s:52:\"Tabled, multi-column theme in blue and orange tones.\";s:7:\"version\";s:4:\"6.17\";s:4:\"core\";s:3:\"6.x\";s:6:\"engine\";s:11:\"phptemplate\";s:7:\"project\";s:6:\"drupal\";s:9:\"datestamp\";s:10:\"1275505216\";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:11:\"stylesheets\";a:1:{s:3:\"all\";a:1:{s:9:\"style.css\";s:27:\"themes/pushbutton/style.css\";}}s:7:\"scripts\";a:1:{s:9:\"script.js\";s:27:\"themes/pushbutton/script.js\";}s:10:\"screenshot\";s:32:\"themes/pushbutton/screenshot.png\";s:3:\"php\";s:5:\"4.3.5\";}', 'theme', 'themes/pushbutton/pushbutton.info', 0, 0, 0) in /www/webvol3/2z/t02otfniwn045wr/example.com/public_html/modules/system/system.module on line 822.
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:4:\"6.17\";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:\"1275505216\";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/webvol3/2z/t02otfniwn045wr/example.com/public_html/modules/system/system.module on line 822.
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:4:\"6.17\";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:\"1275505216\";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/webvol3/2z/t02otfniwn045wr/example.com/public_html/modules/system/system.module on line 822.
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 theme in all grays.\";s:7:\"regions\";a:2:{s:4:\"left\";s:12:\"Left sidebar\";s:5:\"right\";s:13:\"Right sidebar\";}s:7:\"version\";s:4:\"6.17\";s:4:\"core\";s:3:\"6.x\";s:10:\"base theme\";s:9:\"chameleon\";s:7:\"project\";s:6:\"drupal\";s:9:\"datestamp\";s:10:\"1275505216\";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:11:\"stylesheets\";a:1:{s:3:\"all\";a:1:{s:9:\"style.css\";s:33:\"themes/chameleon/marvin/style.css\";}}s:7:\"scripts\";a:1:{s:9:\"script.js\";s:33:\"themes/chameleon/marvin/script.js\";}s:10:\"screenshot\";s:38:\"themes/chameleon/marvin/screenshot.png\";s:3:\"php\";s:5:\"4.3.5\";}', 'theme', 'themes/chameleon/marvin/marvin.info', 0, 0, 0) in /www/webvol3/2z/t02otfniwn045wr/example.com/public_html/modules/system/system.module on line 822.

After i refresh or continue to work thats disappear. Any1 know what is going on?

Thanks

Comments

JayNL’s picture

what have you done with your theme(s)?

draganFSD’s picture

I didnt touch any of core themes, i only working in sites/all/themes
btw i found something i do in template.php i will let ya know when i check it.

NickAT’s picture

Was running Drupal 6.16 and upgraded to 6.17 then started getting error messages similar to these, unpredictably, and my site slowed quite a bit...

So I re-copied all of the Drupal core files to my directories, thinking that something was corrupted, flushed the cache and ran the cron, but it didn't go away.

Next I updated all of my modules and made sure there was no other related errors in my dblog, still the site ran slow.

On a whim I checked to make sure I was using the correct theme and that everything looked alright, to my surprise I found that my theme was not selected.
What I mean is my theme had the "default" radio button selected next to it, but some how the theme enabled check box had been unselected. One would
figure that this should not matter much because the "default" should automatically be enabled if nothing is selected, but I guess that this is not the case.

It is possible that I forgot to re-check it after reinstalling the core files, but doubtful, and regardless it still appeared as if my theme was working properly.

Well after re-checking the box, clearing my cache and running cron again, things seem to be working, fast and error free, at least for the time being.
I would only assume that running the site with only "default" selected does not ensure that all parts of your theme are active. If this is the case either the default button is useless or is malfunctioning.

Anyway, hope this helps someone.

Renee S’s picture

Thanks! This was the problem for me. Weeiiird. Your solution fixed it. :)

draganFSD’s picture

Ty its the same here ;)

hampshire’s picture

Same error and it was fixed by your solution as well. Thank you.

atuline’s picture

Thanks very much for the fix!!!

MichaelP’s picture

Thanks!

candelas’s picture

hello
i tried this solution but worked only for a while.
if i go to themes, it always is unseleted the default theme.
thanks for the tip and i think that it leads to the problem.

//trying to answer one question for each one that i make.
//this way, drupal will be more friendly and strong

j_byrd’s picture

Thumbs up!

pt

siteorganizer’s picture

Interesting the solution of making sure both the checkbox and radio button are selected, helped me.

tregeagle’s picture

Well my site (running D6.24) seems to be working, so that's good...
But I also get this, and similar, errors:

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:4:\"6.24\";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:\"1328134267\";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 /var/www/MEH/live/cms/modules/system/system.module on line 841.
WD php: Duplicate entry 'themes/garland/garland.info' for key 'PRIMARY'                                                                                                                                                            [error]

Some of my basic troubleshooting failed:

  • I've tried disabling the current theme and setting it to Garland but the error still occurs.
  • I've manually ran Cron - which runs fine but the errors still appear.
  • I disabled the Admin Menu, the only module not actually required for this site, still broken.
  • I disabled caching and I cleared the cache.
  • Considered looking at some of the patches in the issue queues...
  • Thought about some other stuff I could check but was pretty sure was OK

At this point I make sure errors are written to log and not the screen [admin/settings/error-reporting] and go outside to frolic in the sunshine instead. Maybe I'll come back to this later.

dwightaspinwall’s picture

Also seeing these errors having just updated to 6.24 pressflow https://github.com/pressflow/6/tree/pressflow-6.24.107