Hi, I'm getting a really nasty problem with my menus. The first thing to say is this is only visible to the admin, not to a normal user. On the Navigation menu a lot of extra menu entries appear, all of them for book pages. The same page can have any number of entries. What happens is that every time I edit one of these pages a new menu entry appears in the list. In every case, the link for the entry points to the site root, not to the page in question.

I did some debugging and I discovered that the node's menu ID (mid) points to an entry in the menu table, but this entry does not get included in the menu as built. The result is that the menu module inserts a new menu entry, although somehow the new menu entry does not get attached to the node.

I think the problem arises out of the fact that I tried using the simple book menu module to create menus earlier on in the project, but I had problems with it so I uninstalled it. That, or something else I've done, has left the menu db in a messed up state.

What I need to do now is restore the menu system to a working condition. I'm quite happy to lose any customisations I've done as there aren't that many of them. Is there a straightforward way to set about this?

Cheers, Alfred

Comments

alfaguru’s picture

Well, it looks like there is a bug whereby if there's a menu item for a node but for some reason it doesn't get into the menu hierarchy, editing the node causes a new item to be created instead of updating the old one.

After looking carefully at the code I took a deep breath and deleted all menu items with a node/nnn path and now it seems to be OK.