In Drupal 6, when you are working on a new project and when you change menu items from MENU_NORMAL_ITEMS to MENU_LOCAL_TASK or vice versa you will run into a scenario where the menu_links table entries won't get changed. This can get reflected in menu_links not appearing in your system_admin_menu_block_page listing if you are using it for listing your menu items in a page. The solution is to rebuild the menu_links table for the menu items corresponding to your menu_router items.
The solution is simple.
-
First empty the menu_links table of navigation menu entries
DELETE FROM menu_links WHERE menu_name='navigation'
- Then go to your modules listing page at admin/build/modules and save the page.
You should be done. Make sure that you take a backup of your menu_links table before you play with DELETE commands :-)



Comments
Thanks!
Kyle Cunningham (not verified) wrote on May 14, 2013 - 19:18I was stuck on this particular problem for ages! Ridiculous problem, I run into it before but I wasn't aware that this could happen. Finally, have something to tage out of my back pocket, thanks!
Great! Thank you very much!
Anonymous (not verified) wrote on December 29, 2012 - 16:14Great! Thank you very much!