WordPress.org

Ready to get started?Download WordPress

Forums

I have lost the log in button my on admin page (2 posts)

  1. jacinta12
    Member
    Posted 3 years ago #

    My hosting company deleted my website when I paid a bill late and when I paid it they gave me a new database and all my old files back. Only now it doesn't work.

    Initially I was getting this error on a blank page: FFatal error: Cannot redeclare class WP_Http in /home/content/16/6890016/html/wp-includes/class-http.php on line 38) on my website http://www.sweetmedia.com.au

    I have not yet updated to wordpress 3 and cannot get into my admin page.
    After searching for this error, I found some help here (http://wordpress.org/support/topic/fatal-error-cannot-redeclare-class-wp_http-in-class-httpphp-on-line-18?replies=18#post-1807488) and I tried manually uploading the two files class-http.php and http.php in wp-includes which got rid of the initial fatal error message.

    Now I have a new error on the admin page, there is no log in button so I can't actually get past the log in screen. I get this error at the top of the screen:

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '__return_zero' was given in /home/content/16/6890016/html/wp-includes/plugin.php on line 166

    and I get this error where the log in button should be just underneath my password:
    Fatal error: Call to undefined function checked() in /home/content/16/6890016/html/wp-login.php on line 599

    I thought it might be a plugin, so I have renamed my plugin folder on my ftp as plugin.hold. It made no difference.

    Can anyone help me figure out how to log in so that I can back up some files and do a reinstall?

  2. James
    Happiness Engineer
    Posted 3 years ago #

    Try manually resetting your plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via FTP or SFTP, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the Default theme (WordPress 1.5 - 2.9.2) or the Twenty Ten theme (WordPress 3.0 and higher) to activate and hopefully rule-out a theme-specific issue.

    If neither of those work, 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.

Topic Closed

This topic has been closed to new replies.

About this Topic