Help! Lost access to admin/build/modules to enable and disable modules

lemmax - January 5, 2009 - 16:06

Really hoping someone can help me here. Maybe I'm just being thick but there seems to be a problem...

admin/build/modules doesn't take me to the page that I would expect.

I enabled some of the core modules. PHP then complained the memory limit was exceeded, so I increased the limit to 24MB by editing my php.ini. All seemed okay. After that, I created a new action and then clicked the link "proceed to the triggers page to assign..." which took me to a page nothing to do with triggers. Then I went back or at least tried to go back to where I enabled the modules, to see if I really needed all that I had selected. Here's the crunch - I can't find the page to enable / disable modules anywhere. Ahgh!!!!!!! Where has it gone? Any suggestions? Don't suggest to restore from backup as I was about to make my first backup later this evening. I may disable the new (core) modules using sql if you don't have any better suggestions or can tell me what (obvious) think I am missing. Thanks!

the obvious "think" was a

lemmax - January 5, 2009 - 16:07

the obvious "think" was a typo... obvious *thing* I meant to say!

On my test machine, if I go

lemmax - January 5, 2009 - 16:18

On my test machine, if I go to drupal-6.8/admin/build it shows the following options:

blocks
menus
modules
themes

but on my live site, the same path now shows:

* Blocks
* Contact form
* Translate interface
* URL aliases

I would try...

jclaussen - January 5, 2009 - 16:30

I would try increasing memory to 96mb.

Just tried that and it

lemmax - January 5, 2009 - 16:41

Just tried that and it didn't work. :(

I've now disabled all the

lemmax - January 5, 2009 - 17:15

I've now disabled all the new modules and still no luck. Any more suggestions? I really could do with some help on this one.

And now I've disabled just

lemmax - January 5, 2009 - 17:37

And now I've disabled just about all the modules I think I can get away with, and still I can't get back administer / site building / modules.

It's gone past midnight now so I'm going to have to call this a day. Hopefully someone will have posted the answer by tomorrow morning.

You can't just clear the

pobster - January 5, 2009 - 18:00

You can't just clear the modules from the system table, you need to truncate the caches as well to force Drupal to reload everything (yes, even if you don't use the cache as Drupal *does* cache certain things regardless).

Pobster

How do I truncate the

lemmax - January 6, 2009 - 00:51

How do I truncate the caches?

I don't know how you're set

pobster - January 6, 2009 - 12:37

I don't know how you're set up?... What are you using? If you've phpmyadmin you can select all the cache* tables then in the dropdown select 'empty' and that'll truncate/ empty them out. Else, if you've still access to the /admin/settings/performance page you can empty them there (at the bottom of the page).

Pobster

Thanks, Pobster. Actually,

lemmax - January 6, 2009 - 12:53

Thanks, Pobster. Actually, before receiving your reply I did a search on the net and found which tables I should clear. It wasn't so much how to clear the tables, as to which tables I should clear. Sorry for the vague question. Anyway, I emptied out all the cache tables as you and others have suggested, and the problem is still there. It seems that the php out of memory error during adding additional modules has somehow corrupted my installation. Even though I now have plenty of memory, disabled most of the modules, and cleared the cache, there are still important parts of the administration system (e.g. enabling / disabling modules) that I cannot access. I think I'm just going to bite the bullet and put this one down to experience - and do a reinstall. It's gonna be a wasted day but oh well. Oh, by the way, admin/settings/performance doesn't take me to where you'd expect.

Has anyone else found a solution to this?

k.obrien - March 30, 2009 - 17:43

I am having the same problem, though I have not gotten any memory errors. It's almost as if the admin account has lost it's privileges. I'm pretty far along with my site in development and can't access the views, modules, existing content among other things. I'm really hoping not to have to try to rebuild all of my views from memory with a new install. I've cleared the caches using phpmyadmin and have been looking around in the tables to see if I can find something to reset. I just don't know what to look for. Any assistance or ideas on where privies (or anything that would affect access) for admin would be appreciated!

Kate

Found solution on another post

k.obrien - March 30, 2009 - 17:55

Clearing all cache tables, session table, and running update.php brought my admin privies back to normal :)

http://drupal.org/node/288162

I ran into the same problem

plato1123 - March 31, 2009 - 01:19

I ran into the same problem trying to install the webmail module which required AES encryption (module), file attach, file, and a whole bunch of others. I was not able to fix it by increasing my memory limit, clearing cache tables, or any of the other steps listed here. I would highly recommend having "backup and migrate" module installed. I had a nice handy backup and was at least able to get back to where I was before the whole ordeal. Great mod, absolute must have for all the little headaches you can come across trying to upgrade or add new add-ons.

 
 

Drupal is a registered trademark of Dries Buytaert.