I have seen this posted on the 4.7 forums, but I am not sure how to fix it, and why it is still an issue in 5.0.
I have installed Drupal 5.0, and I am tweaking all the defaults because I am developing a new theme. However, I am receiving this warning (which is actually an error preventing the search form from displaying in the proper selected region):
* user warning: Duplicate entry '15' for key 1 query: INSERT INTO site3_menu (mid, pid, path, title, description, weight, type) VALUES (15, 8, 'admin/content/search', 'Search content', 'Search content by keyword.', 0, 22) in D:\apache2\htdocs\drupal5\includes\database.mysql.inc on line 167.
* user warning: Duplicate entry '16' for key 1 query: INSERT INTO site3_menu (mid, pid, path, title, description, weight, type) VALUES (16, 1, 'search', 'Search', '', 0, 20) in D:\apache2\htdocs\drupal5\includes\database.mysql.inc on line 167.
* user warning: Duplicate entry '17' for key 1 query: INSERT INTO site3_menu (mid, pid, path, title, description, weight, type) VALUES (17, 10, 'admin/settings/search', 'Search settings', 'Configure relevance settings for search and other indexing options', 0, 22) in D:\apache2\htdocs\drupal5\includes\database.mysql.inc on line 167.