Posted by Adam S on February 27, 2010 at 7:37pm
I just went to the content type section in the admin menu and I got this error this is only a part of the entire error. Is this because the database doesn't lock for long operations or something specific with theme system?
# 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.15\";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:\"1260996916\";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 /home/thetrito/public_html/openpublish/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.15\";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:\"1260996916\";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', 0, 0, 0) in /home/thetrito/public_html/openpublish/modules/system/system.module on line 822.
Comments
Yes, but for other reasons.
I get some "duplicate entry" error but in my case, it is related to xmlsitemap module.
sTattler.com
There is a menu_rebuild race
There is a menu_rebuild race condition in D6. I applied the database locking patch to 6.14 and not only did all duplicate entry errors disappear any time menu_rebuild is called for example when going to admin/build/modules loading those pages take just a fraction of the time to load -- much, much faster.
Here is the discussion. http://drupal.org/node/251792#comment-2125124
Marine job board with Drupal 7 at http://windwardjobs.com
@irakli If you guys are using
@irakli If you guys are using pressflow to develop sites you might be overlooking this bug since it has been committed (I think). https://code.launchpad.net/~pressflow/pressflow/6
Marine job board with Drupal 7 at http://windwardjobs.com
@adamsohn, I think that URL
@adamsohn,
I think that URL is incomplete, since it does not take you to any specific issue report. Can you post the full URL, please?
Thank you.
.............................................
http://twitter.com/inadarei
I don't fully understand. The
I don't fully understand. The issue concerning the database race condition is at http://drupal.org/node/251792 . This is the page describing the revision to pressflow http://bazaar.launchpad.net/~pressflow/pressflow/6/revision/70 .
It was a very serious problem for me in OP1.5 which took a good week of research and begging people in the forums for a solution. It might have been one of the gazillion modules I added to Drupal that set it off -- not sure. The whole system worked so much better after I implemented the patch.
I'm also not sure how this effects Drupal on a large scale. From my experience, if the administrator clears the cache and 10,000 people are trying to hit the page everybody has to wait.
Marine job board with Drupal 7 at http://windwardjobs.com
Groups duplicate entry
When I create a group and some one post a comment or entry for that groups , the entry will repeat 2 or 3 times, how do i avoid this.
Thanks
Siva
Interesting it seems like
Interesting it seems like this is still an issue with one site I have in Pressflow v. 6.22.104
Shane Bill
Freelance Web Developer