• Resolved Madeline

    (@madelinepulley)


    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)
  • Moderator James Huff

    (@macmanx)

    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

    Once you have done that, and you’re ready to change the domain, follow this guide: http://codex.wordpress.org/Moving_WordPress

    Thread Starter Madeline

    (@madelinepulley)

    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)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    You’re going to domain.com/wp-admin to log in, right?

    Thread Starter Madeline

    (@madelinepulley)

    Yes, Mika I am!

    Moderator James Huff

    (@macmanx)

    What is the URL of the site in question?

    Thread Starter Madeline

    (@madelinepulley)

    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

    (@macmanx)

    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

    (@madelinepulley)

    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

    (@macmanx)

    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

    (@madelinepulley)

    It was already set to that πŸ™

    Thread Starter Madeline

    (@madelinepulley)

    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

    (@madelinepulley)

    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

    (@macmanx)

    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

    (@madelinepulley)

    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

    (@macmanx)

    Excellent, thanks for clarifying. πŸ™‚

    Try downloading WordPress 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)

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