Title: No Admin Panel
Last modified: August 22, 2016

---

# No Admin Panel

 *  Resolved [Madeline](https://wordpress.org/support/users/madelinepulley/)
 * (@madelinepulley)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/no-admin-panel-4/)
 * Alright. A week or two ago I registered a new domain name and went to change 
   my site url. I thought I did everything right through my domain registrar and
   web host, but today when I went to get to work, I noticed neither my previous
   URL nor my new URL would work.
 * I got in contact with my web host and they said I hadn’t updated my wp-config
   file (duh!!!). So he updated it while we were on chat, and then my new url said“
   error establishing database connection.” He didn’t know what was wrong because
   MySQL was working just fine. I went into MySQL and updated the URL’s and site
   titles since they were still showing the previous URL.
 * That seemed to do the trick, I could see my new site via the new URL and could
   login with the new username and password (that I just updated from my previous
   one). So once I log in to go to my admin panel, it’s not there. It only shows
   my new username and website, meaning I have no access to update versions, plugins,
   or themes. I then noticed when I hover over my site name and go to “visit site,”
   it redirects to my previous URL (which is a blank page).
 * I am assuming I’m going to have to start from scratch, which is fine, I deleted
   my installed themes (I have them backed up on my computer) from my file manager.
   But I can’t figure out where it isn’t changed to my new URL and why I can’t access
   the admin panel.
 * It does say my current username is the only user and is ADMIN.
 * Any help would be greatly appreciated.

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/no-admin-panel-4/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/no-admin-panel-4/page/2/?output_format=md)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/no-admin-panel-4/#post-5244769)
 * Yeah, you don’t need to make any changes to wp-config.php for this. Can you undo
   what he did?
 * What you need to do is first change the URLs back in the database: [http://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database](http://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database)
 * Once you have done that, and you’re ready to change the domain, follow this guide:
   [http://codex.wordpress.org/Moving_WordPress](http://codex.wordpress.org/Moving_WordPress)
 *  Thread Starter [Madeline](https://wordpress.org/support/users/madelinepulley/)
 * (@madelinepulley)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/no-admin-panel-4/#post-5244922)
 * James,
 * Thank you for your reply. I have changed the URLs back in the database and used
   the serialized PHP search and replace and seem to have everything working well
   again (it is opening my current URL).
 * What I still don’t see is my admin panel to edit plugins or themes… Do you know
   why this is?
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [11 years, 8 months ago](https://wordpress.org/support/topic/no-admin-panel-4/#post-5244923)
 * You’re going to domain.com/wp-admin to log in, right?
 *  Thread Starter [Madeline](https://wordpress.org/support/users/madelinepulley/)
 * (@madelinepulley)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/no-admin-panel-4/#post-5244924)
 * Yes, Mika I am!
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/no-admin-panel-4/#post-5244925)
 * What is the URL of the site in question?
 *  Thread Starter [Madeline](https://wordpress.org/support/users/madelinepulley/)
 * (@madelinepulley)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/no-admin-panel-4/#post-5244927)
 * [http://sevenindigoroad.com](http://sevenindigoroad.com)
 * I deleted my themes in my file manager in cpanel to see if I could then reinstall
   on wordpress but I no longer see the admin themes section where I can add new/
   update/delete.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/no-admin-panel-4/#post-5244928)
 * [http://sevenindigoroad.com/wp-admin/](http://sevenindigoroad.com/wp-admin/) 
   is definitely there. Can you log in there?
 * If not, would you please quote the error you see?
 *  Thread Starter [Madeline](https://wordpress.org/support/users/madelinepulley/)
 * (@madelinepulley)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/no-admin-panel-4/#post-5244929)
 * James,
 * I have not had trouble with logging into my dashboard, what I am having trouble
   with is once I am in my dashboard I do not have any admin tools.
 * For example, when I logged on before changing things, I would have my site name
   and a “admin panel/dashboard” option and I could toggle between them in the dashboard
   header navigations. Now my only option in the drop down is my site name, no more
   admin panel where I could update anything (plugins, themes, wordpress), install
   or delete these as well, etc.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/no-admin-panel-4/#post-5244930)
 * Oh, thanks for clarifying!
 * It sounds like your account may have lost admin privileges for some reason.
 * Access your database via phpMyAdmin (most hosting providers offer this in their
   control panel), go to the `wp_users` table and find the row for your `user_login`.
   Note the `ID` of this row. Now, go to the `wp_usermeta` table and find the `wp_capabilities`
   row for your `user_id` . Set the value of this row to `a:1:{s:13:"administrator";
   b:1;}`
 *  Thread Starter [Madeline](https://wordpress.org/support/users/madelinepulley/)
 * (@madelinepulley)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/no-admin-panel-4/#post-5244932)
 * It was already set to that 🙁
 *  Thread Starter [Madeline](https://wordpress.org/support/users/madelinepulley/)
 * (@madelinepulley)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/no-admin-panel-4/#post-5244934)
 * Update:
 * I have looked through all sorts of threads on updating information on phpmyadmin
   and everything is already the way it is supposed to be.
 * I changed my password in phpmyadmin and via the lost password link and it doesn’t
   change anything.
 * I can still post and whatnot, I just don’t have access to any of those things
   mentioned previously which are crucial.
 * At the top of my dashboard when I click on anything I get a message that says“
   An automated WordPress update has failed to complete! Please notify the site 
   administrator.”
 * And when I post a test post and then click to view it I get this message: “Error
   404 – Not Found… The document you are looking for may have been removed or re-
   named. Please contact the web site owner for further assistance.”
 * I am actually dumbfounded at this point.
 *  Thread Starter [Madeline](https://wordpress.org/support/users/madelinepulley/)
 * (@madelinepulley)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/no-admin-panel-4/#post-5244935)
 * So I tried to delete my user completely since it says I am an “administrator”
   under my users link from the dashboard, when I try to edit it to switch my (only)
   user to author to see if it will refresh it it says “the current user’s role 
   must have user editing capabilities” and doesn’t change anything.
 * This is becoming so frustrating, I have no idea what is going on.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/no-admin-panel-4/#post-5244939)
 * So, you’re not going to go into phpMyAdmin and enter the wp_capabilities code
   I provided, you’re just going to show an unrelated screenshot and say that you
   already said you did (which you didn’t)?
 * This is kind of necessary, I’m not asking you to do it to waste your time, I 
   don’t like my time wasted either.
 *  Thread Starter [Madeline](https://wordpress.org/support/users/madelinepulley/)
 * (@madelinepulley)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/no-admin-panel-4/#post-5244941)
 * James,
 * I was saying it was already set to that, I was providing the screenshot to show
   what I see on my end and it didn’t change after I went into phpmyadmin. The link
   merged with my text by accident.
 * I said it was already set to that, meaning when I went to wp_capabilities, was
   already what you said to change it to. I still re entered it and updated it just
   in case but that doesn’t seem to be the problem.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/no-admin-panel-4/#post-5244947)
 * Excellent, thanks for clarifying. 🙂
 * Try [downloading WordPress](http://wordpress.org/download/) again and delete 
   then replace your copies of everything **except** the `wp-config.php` file and
   the `/wp-content/` directory with fresh copies from the download. This will effectively
   replace all of your core files without damaging your content and settings. Some
   uploaders tend to be unreliable when overwriting files, so don’t forget to delete
   the original files before replacing them.

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/no-admin-panel-4/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/no-admin-panel-4/page/2/?output_format=md)

The topic ‘No Admin Panel’ is closed to new replies.

## Tags

 * [admin-panel](https://wordpress.org/support/topic-tag/admin-panel/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 19 replies
 * 3 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/no-admin-panel-4/page/2/#post-5245006)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
