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

blackdog’s picture

Version: 6.6 » 6.9

I 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.

tixilite’s picture

I 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

CobraMP’s picture

Starminder’s picture

Here'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.

mrgoltra’s picture

getting this too on 6.11

dzazi’s picture

me too on a relatively fresh 6.11 install

chrism2671’s picture

Likewise on an upgrade from D5.7

kenorb’s picture

Status: Active » Closed (duplicate)
kenorb’s picture

Status: Closed (duplicate) » Active
kenorb’s picture

Title: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, » Duplicate entries in menu_router table (6.x branch)

I'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

kenorb’s picture

This 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.

jmpalomar’s picture

Subscribe

damien tournoud’s picture

Status: Active » Closed (duplicate)

If 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.

Breakerandi’s picture

Version: 6.12 » 6.14

I 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...

kenorb’s picture

Breakerandi: temporary you can hide those messages for users by http://drupal.org/project/drupal_tweaks in Msgs tab.

Breakerandi’s picture

Thank 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..

pimousse98’s picture

Hi,
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?

jasont28’s picture

I 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

michellezeedru’s picture

Subscribing

kenorb’s picture

gooddesignusa’s picture

subscribing

rac.car’s picture

The patch in #10 seems to have worked for me. Thank you!