I am doing a project in drupal. After enabling a module, my site is not loading and i can’t able to disable that module. so i start searching Google and found this easy solution. May be it will be helpful for others who have similar problems.
Connect to your mysql shell or phpmyadmin and then use following query to disable a module:
UPDATE system SET status=0 WHERE name='module name'; Remember to change module name to the name of the module you want to disable. This action will disable that module so that administrators can access to the administration panel again.
To list all drupal modules:
SELECT * FROM system WHERE type='module';
Advertisement

Tyson F. Gautreaux said,
January 12, 2011 at 11:26 pm
nice post
,i really saw this today
Drupal web developer said,
January 19, 2011 at 12:22 pm
Hi vinod,
I also had this problem and i will simply delete the module and re install the module again.It Works but your description is nice.Let me checked it out.
bride said,
January 24, 2011 at 3:08 pm
Well I would like to thank you for the valuable information. I was searching alot about such posts and I am very into it. I’ll keep on checking this site from now and on. Thank you. And always keep updates please.