hi,
i added the Nice menus module to my working installation. I also enabled Menu Trails. Did an update. Suddenly, i can't see the links on the admin page because i'm getting a "do not have any administrative items" error.
I've reviewed this thread:
http://drupal.org/node/250728
I un-enabled the two menu modules. I also moved them out of the modules directory. I ran update.php and chron.php. i still have the error message.
I used a script to rebuild my menu tables:
require_once './includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
menu_rebuild();
(the script is named index_rebuild_menu.php.) Same result, i still don't have any administrative items.
i have looked at the menu_links table via phpMyAdmin:
SELECT *
FROM menu_links
WHERE link_path = 'admin'
AND module = 'system'
LIMIT 0 , 30
following suggestion offered by ebw on the above-referenced thread, i saw this statement:
Resetting the values of mlid and p1 to '2' resulted in a return to the prior (correct) display. (ebw)
When i attempt to change mlid and p1 on the database record for the link_path=admin and module=system i get this error:
update {MyDatabase}.`menu_links` SET `mlid` = '2',
`plid` = '2' WHERE `menu_links`.`mlid` =3
MySQL said: #1062 - Duplicate entry '2' for key 'PRIMARY'