Unable To See Admin Dashboard, How to Manually change the admin theme I started developing a custom drupal theme from scratch(http://www.codexworld.com/create-drupal-custom-theme-from-scratch/).

In appearance menu below disabled themes, there was a drop-down menu for admin theme with theme names and a checkbox. As a curious person when I set admin theme to my custom theme(i am developing) I was unable to see Website pages &amp; the Drupal admin dashboard because theme is empty/under developement. How to get back the default admin theme?

Edit: After Using acrosman's answer(adding $conf['theme_default'] = 'bartik'; in settings.php) i can see pages but still unable to see admin panel because I am using that incomplete theme as admin theme

How to Manually change the admin theme in Drupal 7?

What I Found: drupal is a popular website cms but you can't change the admin theme very easily if you chosen a wrong theme as admin theme by mistake.
This is the easiest method to reset your admin theme in a Cpanel. 

Update your settings.php to have:

// If your admin theme is Bartik.
$conf['admin_theme'] = 'bartik';


Warning with using $conf as you cannot set the theme via Appearance page anymore.

If you prefer SQL query method...


Access PHPMyAdmin.
Select the Drupal database and run this query.


UPDATE variable SET value='s:7:"garland"' WHERE name = 'admin_theme';

Where 7 is the total number of strings your theme has. Example, if your theme is adminimal. Then your query should be like this.

UPDATE variable SET value='s:9:"adminimal"' WHERE name = 'admin_theme';


Please see the documentation on Drupal.org.

Take note that if you are using Context module the $conf is not helpful as it will always respect the theme assigned via Context.

Hope this helps.