WordPress.org

Ready to get started?Download WordPress

Forums

Can't login to wp-admin anymore (7 posts)

  1. Sculley
    Member
    Posted 5 years ago #

    Help! I can't login to wp-admin anymore. Up until today I was logging into my website/blog/wp-admin. We want to go live with it as the main page and I changed the WP location in Settings from http://www.mywebsite.com/blog to http://www.mywebsite.com and it was the wrong thing to do. Now I can't login to wp-admin.

    The website is http://www.verbalremedies.com.

    The admin login used to be at http://www.verbalremedies.com/blog/wp-admin and of course, now it's not. I tried http://www.verbalremedies.com/wp-admin and it's not there.

    Help, help, help! I don't know how to get back in to admin.....

    Do I need to uninstall and reinstall WP on my server (after I save the files) to reset?

    Thanks so much in advance.

  2. Eric Mann
    Member
    Posted 5 years ago #

    Sculley -

    Clear your browser cache. I just clicked on your http://www.verbalremedies.com/wp-admin link and was taken directly to your login screen. It's still there, your computer is just probably trying to access outdated information.

  3. Sculley
    Member
    Posted 5 years ago #

    Thanks ericmann. Wish I had checked back 6 days ago. I had a horrible time with the hosting company. I had to recreate all my files!

  4. edahernandez
    Member
    Posted 5 years ago #

    I had this problem yesterday, and it took a lot of research to figure out this fix. I notice there wasn't much information on this topic, so here it goes. Hope someone else profits from it.

    My mistake was to change the 'wordpress address' (URL) and 'Blog address' (URL) under general settings, I changed it from http://editnetworksupport.com to http://editnetworksupport.com/blog; I saved the changes, and visited my site to find only content on my site with a blank background, the website theme had disappeared. No problem right, go back and retrack the changes? Well, I wasn't able to login to wp-admin. DON'T PANIC!

    here's your fix

    BACK UP YOUR FILES FIRST!!!

    With an FTP software, i use FileZilla, login to your host server, all of your files should still be there, i thought mine would be gone, but they weren't. Go to your active themes and locate 'functions.php' file, and edit it with notepad; you will input the following, on the very top part after <?php

    update_option('siteurl','http://www.yourwebsitename.com');
    update_option('home','http://www.yourwebsitename.com');
    ?>

    Save your changes, and try accessing wp-admin, you will have to try a few times before it works, I had to wait a few minutes.

    As for my web theme, I was missing my index.php file, luckily I had a backup and I was able to restore my files.

    Good Luck!

  5. Samuel B
    moderator
    Posted 5 years ago #

    I had this problem yesterday, and it took a lot of research to figure out this fix. I notice there wasn't much information on this topic, so here it goes

    sure there is
    http://codex.wordpress.org/Changing_The_Site_URL
    there are several methods on this page
    search is your friend

  6. sweeperdeeper
    Member
    Posted 5 years ago #

    Hi,

    I've been having the same problem. I moved my wp blog to a new host and domain and afterthat, I can't seem to login.

    The header of my wp-login page is fettered with these error messages:

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/manintl/public_html/wp-includes/widgets.php on line 654
    
    Warning: Invalid argument supplied for foreach() in /home/manintl/public_html/wp-includes/widgets.php on line 654
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/manintl/public_html/wp-includes/widgets.php:654) in /home/manintl/public_html/wp-login.php on line 255
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/manintl/public_html/wp-includes/widgets.php:654) in /home/manintl/public_html/wp-login.php on line 267

    And when I try to go ahead and perform the login to my backend panel, I get a page of error messages:

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/manintl/public_html/wp-includes/widgets.php on line 654
    
    Warning: Invalid argument supplied for foreach() in /home/manintl/public_html/wp-includes/widgets.php on line 654
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/manintl/public_html/wp-includes/widgets.php:654) in /home/manintl/public_html/wp-login.php on line 255
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/manintl/public_html/wp-includes/widgets.php:654) in /home/manintl/public_html/wp-login.php on line 267
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/manintl/public_html/wp-includes/widgets.php:654) in /home/manintl/public_html/wp-includes/pluggable.php on line 649
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/manintl/public_html/wp-includes/widgets.php:654) in /home/manintl/public_html/wp-includes/pluggable.php on line 650
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/manintl/public_html/wp-includes/widgets.php:654) in /home/manintl/public_html/wp-includes/pluggable.php on line 651
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/manintl/public_html/wp-includes/widgets.php:654) in /home/manintl/public_html/wp-includes/pluggable.php on line 850

    I have tried to remove my plugins, deleting the error lines, removing white spaces before and after <? , re-exporting my old sql database with updated utf8-unicode and reimporting database etc....I think I tried it all and I'm really stuck now.

    So if anyone can help me out of this muddle, let me know!

    Thanks in advance.

  7. sixguinness
    Member
    Posted 4 years ago #

    edahernandez -

    I tried your solution and managed to get my site back up in it's web theme rather than, as you described, content on a blank background.

    I don't know how long you had to wait, but mine never did show up. All I got was this on a blank page: Parse error: syntax error, unexpected T_ENDIF in /home/content/65/4639165/html/wp-includes/functions.php on line 2505.

    As a quick fix, I put the edited' function.php' lines above <?php rather than below. Although those lines show up at the top of the site, at least for now, until I can figure out something else, visitors can see my website.

    Any further suggestions?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.