Community & Support

Do not have any administrative items

I have encountered a problem with my Drupal 6.2 site where whenever I am logged in as the Administrator, I am unable to access the administration section page using the Administer link in the navigation bar.

Whenever I try, I get: "Welcome to the administration section. Here you may control how your site functions. You do not have any administrative items ".
Can anyone tell me how to fix this (im beginner)?

I found that problem after i have had add search option to drupal site.

Comments

Me too ...

Same thing here running 6.1 - it happened after trying to switch date, calender and views modules on at my site www.thebrainspace.com

It could be this problem #254616: SIte corrupted with no administrative blocks any more after going to admin/build/modules which involved a corrupted database from a memory overrun on a shared host (?) ... a database restore was needed.

I am a newb - any help is appreciated, particularly, is a database restore from a backup required? I'm pretty sure the hosting company , www.indichosts.net would have a backup, how do I phrase it to them? ("please restore my database 'drupalexample' from before time/date" ???)

and --- how does one prevent this from happening again?

*big thanks to all devs - drupal is an incredibly awesome tool.*

deleted some new installed

deleted some new installed module via the ftp then you get back your admin items

my drupal beta

I had the same problem...

After I deleted the last installed module, I had to run the php update yoursite/update.php to get it working again.
Back to normal now :)

i had faced same problem it is working

newly added modules i deleted but i am not run update.php,

i have an doubt it is run ok after that my previous site features coming or not?

I had the same problem. After installing some new modules Drupal said "you do not have any administrative items". I couldn't get into the administer section. So, after reading this, I used Filezilla to delete the newly installed modules by ftp. Then I ran the update module www.yourwebsite.com/update.php. Even though nothing was seemingly updated, that fixed the website. It's up and running again. Thanks a lot!!!

Stephen

Another possible solution

My problem was that there were multiple entries in the menu_links table that pointed at /admin.

Look in your menu_links table using phpmyadmin or similar. If you have more than 1 row that has link_path = "admin" and module = "system", then remove them all except for the one with the lowest mlid (in my case it was mlid=2).

It worked for me.

*BACK UP YOUR DATABASE BEFORE TRYING THIS*

In my case the user had

In my case the user had created a node and gave it the alias of admin. That caused the admin by task to disappear. There was also a second admin - system menu item. I renamed the lowest one mlid=3 from the path/5 to admin and deleted the second menu link.

After clearing cache everything was restored to normal.

Emery Gordon

This worked for me. Also I

This worked for me. Also I ran the update.php script. So it's better do both. It all happened because I tried to upgrade some of the modules. It could be from Admin Menu which I use.

-Prasannah

I also had the same problem,
we did something completly unrelated:
uploaded a taxonomy using a hand-written taxonomy-upload module,
and something got horribly wrong.
This caused the same situation as you described:
page /?q=admin stops showing the admin interface but only "You do not have any administrative items. ".

We tried running update.php (to no use, no updates were run)
and tried removing ALL modules by renaming the sites/all/module folder to
something else - also not helping.

we found http://drupal.org/node/354597 which said something about "cache".

Without knowing anything about drupal, we deleted the cache using mysqladmin:
we naively deleted all data from tables that had the name "chache*":
DELETE FROM cache;
...
DELETE FROM cache_update;

of course, as we know not enough about the implications, you should think twice before doing this.
but - at the end THIS solved the problem for us.
Sadly, it seems that calling update.php in the process was also important,
so I don't know which action was the really important one,
neither do I know what the actual problem was
(argh!)

its work

I have the same problem, after of intalling node_access module said "You do not have any administrative items."

I just run the upload.php and it fixed!

DTools

I did this and when I ran the

I did this and when I ran the update I got the memory error again!! Have contacted my host to see if they can increase the memory limit.

----------------------------------
neish.net | botanicalartistry.com

Increasing the memory limit

Increasing the memory limit on the host and re-running the update fixed the problem for me.

+1 doubling the memory also

+1

doubling the memory also solved the problem in my dev-box

--
http://srm.gr - Drupal Specialists in Greece

Admin menu

I had the admin menu module enabled, and it made my admin page not show at all, giving the same error. As soon as I disabled it, and ran update.php, the admin panel returned to normal.

-Myke

Unhide your Administer items in Navigation

I had the same issue. In my case it happened because I hid all Administer items from the Navigation menu. When you hide these items in the Navigation menu, the corresponding entry in the table menu_links a flagged with '1' in the hidden field. They are not displayed on the Admin page either then.

If you want to hide the "Administer" entry in the Navigation menu, just hide the top level "Adminster" but leave all child items as displayed in the Navigation menu setup.

Regards, George

hi i had same problem plz give me solution

hi , my admin panel showing message " Administer

Welcome to the administration section. Here you may control how your site functions.
You do not have any administrative items." how to solve ,

i can truncate all cache* tables ,after that site working or not, previous modules are there or not ,i have doubt can you tell me plz?

update.php worked for me too

many thanks , this i thoguht was going to cost me a fortune and ruin my business. but i did what was said here after backing up my sql database (i also emptied my access log as it was massive) and now its all working fine , my admin is all there now , thanks guys.

Had the same problem, turned

Had the same problem, turned out I changed cookie domain in settings.php earlier and forgot about it and it pointed to a different site :P.

observed in 6.19, fix

From a note to a co-worker and a client:
I've found and fixed the problem that caused the /admin by task (default view) to display only "You do not have any administrative items."

See http://api.drupal.org/api/function/system_main_admin_page

I found that the values for mlid and p1 were '2295', but in several other databases for similar drupals the values were '2'.

> select * from menu_links where link_path='admin' and module = 'system';

I tested changing the values for mlid and p1 on a similar drupal to '2295' and obtained the same result that the /admin by task (default view) displayed only "You do not have any administrative items."

Resetting the values of mlid and p1 to '2' resulted in a return to the prior (correct) display.

> update menu_links set mlid='2295', p1='2295' where link_path='admin' and module = 'system';

I therefore updated the naisa1 database, which now shows the /admin default view I expected.

signature left on blank check, reward if found

removed by FTP, update.php and cleaned cache

And that worked all right for me. Then, I run cron.php again and reinstalled the removed modules (token, addthis, pathauto and googleanalytics). Cron.php again and everything seems to be back in shape again.

Just reporting to keep info about the issue updated :)

Gustavo

This problem happened to our

This problem happened to our site after we disabled the calendar module and clicked save. The next screen showed no admin items on the modules page, and every page that doesn't give this error in the admin section is showing page not found. I checked the "mlid" fix but our the setting for p1 in that table appears to be set to "2", which should be correct based on your post.

I tried running update.php and it doesn't bring back the admin items. What should I try next?

Just had the same issue.

Just had the same issue. Running the update.php game me an error message re: views module. Removing the views module has fixed it. Luckily, I had not built any views, but now I am worried that if I do need views, I won't be able to use them.

Had the same issue. Also had

Had the same issue. Also had issue here: http://drupal.org/node/889742.

Doing #3 in http://drupal.org/node/889742 solved both issues for me.

I have this error

I have this error when I install the module Autoload. I I just uninstal it from admin/build/modules it gets back to nomal.

But I need to install it to use the Google Analytics API module.

Any work around?

Pulling my hair out with this show-stopper

I have no optional modules whatsoever. I converted from Drupal 6 having first disabled and removed all optional modules. I have tried emptying the cache, and the suggestions about modifying the menu_link table don't look relevant in my case in that there's only a single admin/system entry that has a mlid=2.

Any suggestions at all as to how to administer my site?

Oh, I did try enabling the toolbar but, of course, it's empty.

Same problem: solved

I had the same problem; Admin only had access to Content Mgmt, Store Admin (it's an Ubercart site), User Mgmt, Site Config and Reports. The solution turned out to be embarrassingly simple...

The Site Administrator had restricted permissions under ~/admin/user/permissions. I just enabled them all and got full access back!

--Geoff

Can any1 tell me how to use ftp to delete the modules.

I am nt familiar with filezila or the ftp. How to install it and remove the modules. Also How to update the site after that.
(I have the site running in my laptop using wampserver2.1)
Thanx in advance

nobody click here