Webhosting Blog

Drupal:The username admin has not been activated or is blocked

While login to  Drupal you might deal with following error:

In order to solve this problem, you can follow folowing steps:

1) Login to your cPanel.

2) Navigate to cPanel >> Databases >> PhpMyadmin

3) Select the Database used for Drupal.

4) In the window locate  the table dr_users and click the browse button besides it.

5) Navigate the admin and select edit button besides it.

6) Edit the “status” field from “0” to “1”  and click go.

7) Now try to login. Now Drupal should allow admin user to login without any error.


3 responses

  1. Received your blog post via msn the other day and absolutely think its great. Keep up this fantastic work.

    August 30, 2010 at 10:32 am

  2. bill miller

    thank you very much sir. God bless

    December 20, 2010 at 10:57 pm

    • Ben

      Very helpful dear. I have managed to get in. But I think this is an issue that drupal.org needs to address – that when deleting users, the admin should not be deleted by default!

      November 9, 2011 at 3:16 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s