I was attempting to organize my menus and plugged the "administer" menu into a sub-category titles Administration. I wanted to separate Navigation from Administration. I separated the two and since the access functions are not available in the menu, now I can no long administer my Drupal site because the "administer" option no longer appears. I'm assuming that because I didn't consider access control after implementing the new menu format that the menu is just beyond my reach, or hidden.

How can I recover it? Because the menu link is no longer available when I login, I can't perform ANY administrative functions. It's like I'm a standard user. How can I backdoor i? I'm the admin of the site, but because I didn't select for the menu to be access by any particular group, it is invisible. There has to be a work around.

Comments

US421’s picture

to log in, go to yoursite.com/?q=user

to access the menu page, go to yoursite.com/?q=admin/menu

shyamala’s picture

Just type http://yoursite.com/?q=user to access the login page, and http://yoursite.com/?q=admin to access the admin area. You might have created a new menu and not enabled the block to appear in any region. Go to administer block and assign a new region to the new Administer menu.

Shyamala
Team Leader (http://www.netlinkindia.com)

lazserus’s picture

This is exactly it, Shyamala, the block probably isn't enabled, but is not available in the admin options. What I mean is that I moved ALL admin menus to this new block and now I can't access ANY admin menus. I can login just fine, but once I'm logged in the menu for me to admin still doesn't exist. I merely see "my account" and "log out".

When I type in http://mysite.com/q?=admin it takes me to the same place if I login from the homepage. The ADMIN area menu is jacked up because of what I did.

ckng’s picture

You should be able to fix it through http://mysite.com/q?=admin/build/block or http://mysite.com/q?=admin/build/menu since that's where you hide the thing.
CK Ng

shyamala’s picture

"http://mysite.com/q?=admin " The question mark should be before the q. The link should be "http://mysite.com/?q=admin"
This will take you to a page that will display all the admin options.
http://mysite.com/?q=admin/build/block will take you to the admin block page, where you can edit the current block settings.

Which version of drupal are you using?

Shyamala
Team Leader (http://www.netlinkindia.com)

ouedraogo’s picture

the best and easy solution is to type: http://www.yoursite.com/user

It is enouth. I am using durpal 6.2

apsivam’s picture

You can also look at this module (http://drupal.org/project/admin_menu) if you want to separate admin & navigation menus for yourself (without messing your menu structure)

--
Cheers,
Sivanandhan, P. (a.k.a. apsivam)
www.apsivam.in

primalmedia’s picture

Menu - gone! What's up with that? I'm using Drupal 5.2. Experienced enough to know that when I click on the menu link it shouldn't show up on my front page...

coolren’s picture

I am new to Drupal and I Just got the exactly same problem as you and even worse a bit than yours. My Drupal site is one of the sub-sites in one Drupal system, which mean I don't have access to my database. T_T

I think it would be possible to turn it back on from database since everything is there. Additionally, I would suggest that the Drupal developers would add an alter to warn users who are about to the make the same mistake as ours.

tareqvb’s picture

I have the same problem with drupal 6.2 .

So is there any other suggestions

manamana’s picture

The menu is completely gone and access is denied when I try to access it directly. I think I chose the option to remove it from all screens and only show for authenticated users, so since I'm logged out there is nothing to be seen. But I can't log in. Catch 22.

I'll post back if I find a solution in the mean time. I'm using version 5.9.

EDIT: Never mind... Once I figured out how to log in I was okay. The login link was http://yoursite.com/?q=user

tzglobic’s picture

Just type in /admin after the name of your site e.g. www.yoursite.com/admin, it should show you the admin options, then go to Site Building / Blocks / and look for Navigation link in the Disabled part, then just drag it back to the element of the page you want to see it e.g. left sidebar, click save and the lost menu should re-appear.
Good luck,

savvyedits’s picture

www.yoursite.com/admin isn't working for me. I wind up in the same rabbit hole as before. Ugh!

savvyedits’s picture

I went to Structure / Blocks / (newest version) and looked for Navigation link in the Disabled part, then selected the element of the page and clicked save--nothing changed.

Muthu_vel’s picture

Thank you soo much. I thought i am lost