My log is full of this and the site was sucking wind - seems to have cleared itself now, but would love to prevent it again....
Duplicate entry 'admin/build/themes/settings/tapestry' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, page_callback, page_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('admin/build/themes/settings/tapestry', '', '', '_system_themes_access', 'a:1:{i:0;O:8:\"stdClass\":12:{s:8:\"filename\";s:39:\"sites/all/themes/tapestry/tapestry.info\";s:4:\"name\";s:8:\"tapestry\";s:4:\"type\";s:5:\"theme\";s:5:\"owner\";s:45:\"themes/engines/phptemplate/phptemplate.engine\";s:6:\"status\";s:1:\"0\";s:8:\"throttle\";s:1:\"0\";s:9:\"bootstrap\";s:1:\"0\";s:14:\"schema_version\";s:2:\"-1\& in /usr/home/hoslo/public_html/includes/menu.inc on line 2385.
Comments
Comment #1
blackdog commentedI get this too on 6.9, not on every page view but on occasion. There's alot of these errors with different paths. Will try to find the module that causes this.
Comment #2
tixilite commentedI am getting tons of errors like this one -
Duplicate entry 'admin/content/taxonomy/%/add/term' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, page_callback, page_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('admin/content/taxonomy/%/add/term', 'a:1:{i:3;s:24:\"taxonomy_vocabulary_load\";}', '', 'user_access', 'a:1:{i:0;s:19:\"administer taxonomy\";}', 'taxonomy_add_term_page', 'a:1:{i:0;i:3;}', 59, 6, 'admin/content/taxonomy/%', 'admin/content/taxonomy/%', 'Add term', 't', '', 128, '', '', '', 0, 'modules/taxonomy/taxonomy.admin.inc') in /home/tixilite/public_html/includes/menu.inc on line 2385.
I recently upgraded to Drupal 6.9
Comment #3
CobraMP commentedhere http://drupal.org/node/362007#comment-1224205
and here http://drupal.org/node/352978#comment-1224204
no solutions :(
Comment #4
Starminder commentedHere's a new similar one, likely related:
Duplicate entry 'node/%/adowners/%/notifications/%/delete' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, page_callback, page_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('node/%/adowners/%/notifications/%/delete', 'a:3:{i:1;N;i:3;N;i:5;s:20:\"ad_notification_load\";}', '', 'ad_permission', 'a:2:{i:0;i:1;i:1;a:2:{i:0;s:13:\"manage owners\";i:1;s:24:\"manage own notifications\";}}', 'drupal_get_form', 'a:4:{i:0;s:24:\"ad_notify_confirm_delete\";i:1;i:1;i:2;i:3;i:3;i:5;}', 85, 7, '', 'node/%/adowners/%/notifications/%/delete', 'Delete notification', 't', '', 4, '', '', '', 0, '') in /usr/home/hoslo/public_html/includes/menu.inc on line 2388.
Comment #5
mrgoltra commentedgetting this too on 6.11
Comment #6
dzazi commentedme too on a relatively fresh 6.11 install
Comment #7
chrism2671 commentedLikewise on an upgrade from D5.7
Comment #8
kenorb commented#238760: menu_router table truncated and site goes down
Comment #9
kenorb commentedSorry, not duplicate.
http://drupal.org/node/238760#comment-1379898
Comment #10
kenorb commentedDuplicates:
#246653: Duplicate entry in menu_router: Different symptoms, same issue
#248739: Duplicate entry errors - lots of them
#289618: menu_router table truncated and site goes down: Transaction or Lock required for D6
Related issues:
#289618: menu_router table truncated and site goes down: Transaction or Lock required for D6
#238760: menu_router table truncated and site goes down
#251792: Implement a locking framework for long operations
Available patches:
http://drupal.org/files/issues/duplicate-menu-router-246653_0.patch
Comment #11
kenorb commentedI'm not sure if this issue will be fixed for 6.x. It will be fixed for 7.x first, but I'm not sure if will be for 6.x as well.
You may try above patch and tell if worked.
Summaries of this issue here:
http://drupal.org/node/289618#comment-950564
http://drupal.org/node/238760#comment-950563
Issue Status:
Please don't make duplicate of this issue to issues that are already closed, or are already duplicated, or are related to 7.x branch, where patches can't be backported to 6.x, and there is still problem on 6.x - it not make sense. After closing it, somebody raise another issue again and again until it will be proper fixed for 6.x branch.
There is problem on 6.x and it should fixed for 6.x
Comment #13
kenorb commentedThis issue that you sent is duplicate of what? Of #238760 which is for 7.x which is closed and there is no backport for 6.x.
Secondly read this post:
http://drupal.org/node/238760#comment-1379898
where some people think that it's different case.
And read my post above.
Comment #14
jmpalomar commentedSubscribe
Comment #15
damien tournoud commentedIf the point of this issue is to solve the race condition in menu_rebuild(), it is definitely a duplicate of #251792: Implement a locking framework for long operations.
If it is not, please reopen and give more details. The reports here are *very* sketchy.
Comment #16
Breakerandi commentedI got the same problem, very many errors like
user warning: Duplicate entry 'admin/content/emfield/media' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, page_callback, page_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('admin/content/emfield/media', '', '', 'user_access', 'a:1:{i:0;s:29:\"administer site configuration\";}', 'drupal_get_form', 'a:1:{i:0;s:16:\"emfield_settings\";}', 15, 4, 'admin/content/emfield', 'admin/content/emfield', 'Media settings', 't', '', 136, '', 'Configure Embedded Media Field: Allow content types to use various 3rd party providers, enter API keys, etc.', '', 0, 'sites/all/modules/emfield/emfield.admin.inc') in /srv/www/vhosts/freerunning.net/httpdocs/includes/menu.inc on line 2423.
also visible for normal users!
The Patch from http://drupal.org/node/251792#comment-1831346 occours a white screen of death for /admin and also /update.php :-(
I don't know what to do...
Comment #17
kenorb commentedBreakerandi: temporary you can hide those messages for users by http://drupal.org/project/drupal_tweaks in Msgs tab.
Comment #18
Breakerandi commentedThank you, I installed this module an enabled the default settings in the Msgs tab. The error is still viewable, but i Think thats only because of I set the rules for my user in /user/permissions
I'm not sure on which category of messages it belongs (error, warning, status) and in which of those ones:
@warning:@
@Fatal error:@
@ on line @
@MySQL@
And I'm not sure about the maximum message length setting.. My message is very very long as I described..
Comment #19
pimousse98 commentedHi,
I'm subscribing because I'm getting the same thing... lots of errors, not pretty. It doesn't seem to cause issues to the site, an occasional page not found maybe that is fixed by a reload.
What will happen of this issue?
Comment #20
jasont28 commentedI have been using CCK for a long time without this message appearing. I hadn't enabled the core tracker module until today and I noticed the issue began appearing. It produces a massive list of errors the same as mentioned above for others. I removed the tracker module and I haven't seen the issue since.
I haven't looked at the code but I do suspect there is some sort of issue going on with Tracker and another module of sorts. Which module, I cannot be sure.
Jason
Comment #21
michellezeedru commentedSubscribing
Comment #22
kenorb commented#512962: Optimize menu_router_build() / _menu_router_save()
Comment #23
gooddesignusa commentedsubscribing
Comment #24
rac.car commentedThe patch in #10 seems to have worked for me. Thank you!