Double entries
ekn33 - July 3, 2009 - 14:10
| Project: | XML sitemap |
| Version: | 6.x-2.x-dev |
| Component: | xmlsitemap.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Description
hi
my xml files shows now after i enable taxonomie for xml.sitemap nodes (not all) are double
| Attachment | Size |
|---|---|
| nodes.gif | 50.31 KB |

#1
Do you happen to have nodes in your menus and also have the xmlsitemap_menu sub-module enabled?
#2
hi
yes..seems so and i have installed Local Menue
#3
I think this report is related to #454442: Disable duplicate links during regeneration.
#4
#5
after rebuild sitemap...huge list can´t post the full error
user warning: Duplicate entry 'comment/edit' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, contentpage_callback, contentpage_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('comment/edit', '', '', 'user_access', 'a:1:{i:0;s:13:\"post comments\";}', 'comment_edit', 'a:0:{}', 3, 2, '', 'comment/edit', 'Edit comment', 't', '', 4, '', '', '', 0, 'modules/comment/comment.contentpages.inc') in ./includes/menu.inc on line 2423.
user warning: Duplicate entry 'tracker/%' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, contentpage_callback, contentpage_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('tracker/%', 'a:1:{i:1;s:22:\"user_uid_optional_load\";}', 'a:1:{i:1;s:24:\"user_uid_optional_to_arg\";}', '_tracker_myrecent_access', 'a:1:{i:0;i:1;}', 'views_contentpage', 'a:1:{i:0;i:1;}', 2, 2, 'tracker', 'tracker', 'My recent posts', 't', '', 128, '', '', '', 0, '') in ./includes/menu.inc on line 2423.
user warning: Duplicate entry 'profile/autocomplete' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, contentpage_callback, contentpage_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('profile/autocomplete', '', '', 'user_access', 'a:1:{i:0;s:20:\"access user profiles\";}', 'profile_autocomplete', 'a:0:{}', 3, 2, '', 'profile/autocomplete', 'Profile autocomplete', 't', '', 4, '', '', '', 0, 'modules/profile/profile.contentpages.inc') in ./includes/menu.inc on line 2423.
user warning: Duplicate entry 'wysiwyg/%' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, contentpage_callback, contentpage_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('wysiwyg/%', 'a:1:{i:1;N;}', '', 'user_access', 'a:1:{i:0;s:14:\"access content\";}', 'wysiwyg_dialog', 'a:1:{i:0;i:1;}', 2, 2, '', 'wysiwyg/%', '', 't', '', 4, '', '', '', 0, './modules/wysiwyg/wysiwyg.dialog.inc') in ./includes/menu.inc on line 2423.
user warning: Duplicate entry 'user/register' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, contentpage_callback, contentpage_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('user/register', '', '', 'user_register_access', 'a:0:{}', 'drupal_get_form', 'a:1:{i:0;s:13:\"user_register\";}', 3, 2, 'user', 'user', 'Create new account', 't', '', 128, '', '', '', 0, 'modules/user/user.contentpages.inc') in ./includes/menu.inc on line 2423.
user warning: Duplicate entry 'user/password' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, contentpage_callback, contentpage_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('user/password', '', '', 'user_is_anonymous', 'a:0:{}', 'drupal_get_form', 'a:1:{i:0;s:9:\"user_pass\";}', 3, 2, 'user', 'user', 'Request new password', 't', '', 128, '', '', '', 0, 'modules/user/user.contentpages.inc') in ./includes/menu.inc on line 2423.
user warning: Duplicate entry 'user/autocomplete' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, contentpage_callback, contentpage_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('user/autocomplete', '', '', 'user_access', 'a:1:{i:0;s:20:\"access user profiles\";}', 'user_autocomplete', 'a:0:{}', 3, 2, '', 'user/autocomplete', 'User autocomplete', 't', '', 4, '', '', '', 0, 'modules/user/user.contentpages.inc') in ./includes/menu.inc on line 2423.
user warning: Duplicate entry 'adm.n/content' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, contentpage_callback, contentpage_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('adm.n/content', '', '', 'user_access', 'a:1:{i:0;s:27:\"access adm.nistration contentpages\";}', 'system_adm.n_menu_block_contentpage', 'a:0:{}', 3, 2, '', 'adm.n/content', 'Content management', 't', '', 6, '', 'Manage your site\'s content.', 'left', -10, 'modules/system/system.adm.n.inc') in ./includes/menu.inc on line 2423.
user warning: Duplicate entry 'adm.n/reports' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, contentpage_callback, contentpage_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('adm.n/reports', '', '', 'user_access', 'a:1:{i:0;s:19:\"access site reports\";}', 'system_adm.n_menu_block_contentpage', 'a:0:{}', 3, 2, '', 'adm.n/reports', 'Reports', 't', '', 6, '', 'View reports from system logs and other status information.', 'left', 5, 'modules/system/system.adm.n.inc') in ./includes/menu.inc on line 2423.
user warning: Duplicate entry 'adm.n/build' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, contentpage_callback, contentpage_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('adm.n/build', '', '', 'user_access', 'a:1:{i:0;s:27:\"access adm.nistration contentpages\";}', 'system_adm.n_menu_block_contentpage', 'a:0:{}', 3, 2, '', 'adm.n/build', 'Site building', 't', '', 6, '', 'Control how your site looks and feels.', 'right', -10, 'modules/system/system.adm.n.inc') in ./includes/menu.inc on line 2423.
user warning: Duplicate entry 'adm.n/settings' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, contentpage_callback, contentpage_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('adm.n/settings', '', '', 'user_access', 'a:1:{i:0;s:27:\"access adm.nistration contentpages\";}', 'system_settings_overview', 'a:0:{}', 3, 2, '', 'adm.n/settings', 'Site configuration', 't', '', 6, '', 'Adjust basic site configuration options.', 'right', -5, 'modules/system/system.adm.n.inc') in ./includes/menu.inc on line 2423.
user warning: Duplicate entry 'views/ajax' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, contentpage_callback, contentpage_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('views/ajax', '', '', 'user_access', 'a:1:{i:0;s:14:\"access content\";}', 'views_ajax', 'a:0:{}', 3, 2, '', 'views/ajax', 'Views', 't', '', 4, '', 'Ajax callback for view loading.', '', 0, './modules/views/includes/ajax.inc') in ./includes/menu.inc on line 2423.
user warning: Duplicate entry 'adm.n/user' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, contentpage_callback, contentpage_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('adm.n/user', '', '', 'user_access', 'a:1:{i:0;s:27:\"access adm.nistration contentpages\";}', 'system_adm.n_menu_block_contentpage', 'a:0:{}', 3, 2, '', 'adm.n/user', 'User management', 't', '', 6, '', 'Manage your site\'s users, groups and access to site features.', 'left', 0, 'modules/system/system.adm.n.inc') in ./includes/menu.inc on line 2423.
user warning: Duplicate entry 'node/%' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, contentpage_callback, contentpage_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('node/%', 'a:1:{i:1;s:9:\"node_load\";}', '', 'node_access', 'a:2:{i:0;s:4:\"view\";i:1;i:1;}', 'node_contentpage_view', 'a:1:{i:0;i:1;}', 2, 2, '', 'node/%', '', 'node_contentpage_title', 'a:1:{i:0;i:1;}', 4, '', '', '', 0, '') in ./includes/menu.inc on line 2423.
user warning: Duplicate entry 'user/%' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, contentpage_callback, contentpage_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('user/%', 'a:1:{i:1;s:22:\"user_uid_optional_load\";}', 'a:1:{i:1;s:24:\"user_uid_optional_to_arg\";}', 'user_view_access', 'a:1:{i:0;i:1;}', 'user_view', 'a:1:{i:0;i:1;}', 2, 2, '', 'user/%', 'My account', 'user_contentpage_title', 'a:1:{i:0;i:1;}', 6, '', '', '', 0, 'modules/user/user.contentpages.inc') in ./includes/menu.inc on line 2423.
user warning: Duplicate entry 'node/%/view' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, contentpage_callback, contentpage_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('node/%/view', 'a:1:{i:1;s:9:\"node_load\";}', '', 'node_access', 'a:2:{i:0;s:4:\"view\";i:1;i:1;}', 'node_contentpage_view', 'a:1:{i:0;i:1;}', 5, 3, 'node/%', 'node/%', 'View', 't', '', 136, '', '', '', -10, '') in ./includes/menu.inc
#6
Yes, this is a duplicate of that issue.
#7
XML sitemap doesn't insert anything into menus. That's a known Drupal core issue with the {menu_router} table running a rebuild. If you search the Drupal issues I know you can find it.
#8
i do the steps from the related #454442: The code doesn't verify if there is already a row with the same value for the loc field.
after rebuild i get no errors anymore but in the sitemap still duplicates if you know the issue please let me know ..i dont knew the keys for the search
thanks