Sử dụng PHPMyAdmin tắt drupal module

Using Drupal for your site can be very useful, as several sites I know of are powered by Drupal system. For one reason is that it is highly configurable, which is certainly very useful for people like me. Drupal uses modules, like plugins, they add extra features and applications to the content management system. If the module works, then congratulations! Otherwise, you will find your site totally inaccessible, not even the admin panel. However you know where the problem lies, but how do you disable or remove the module without accessing the website?

One of the ways to disable modules is through phpMyAdmin, a MySQL Database Administration Tool. I shall introduce 2 methods to disable modules via phpMyAdmin.

  1. Executing a MySQL query
    1. UPDATE `system` SET `status` = '0' WHERE `name` = 'module_name' LIMIT 1;
    2.  

    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.

  2. Browse the Table
  3. This is slightly easier if you feel uneasy executing a MySQL query.
    From the phpMyAdmin panel, scroll down to the entry that says "system" and click to browse system entry (see image below).

    On the right side, you will notice several modules (including themes). Go to the module that you would like to disable and click on EDIT (with a pencil icon). Simply change the STATUS to "0".

Either method should deactivate the module you wanted to disable instantly. Hope this help those in need.

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <sup> <br> <p> <h3>
  • Lines and paragraphs break automatically.
  • Link to content with [[some text]], where "some text" is the title of existing content or the title of a new piece of content to create. You can also link text to a different title by using [[link to this title|show this text]]. Link to outside URLs with [[http://www.example.com|some text]], or even [[http://www.example.com]].
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.

More information about formatting options

CAPTCHA
This question is used to make sure you are a human visitor and to prevent spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.