WordPress.org

Support

login problem

  • When I try to log in, in order to post I keep getting this message:
    Fatal error: Call to undefined function: wp_login() in /www/b/bibbsrevenge/htdocs/wp-admin/auth.php on line 4

    Here is my auth.php file:

    <?php
    require_once(ABSPATH . ‘/wp-config.php’);

    if ( (!empty($_COOKIE[‘wordpressuser_’ . $cookiehash]) && !wp_login($_COOKIE[‘wordpressuser_’ . $cookiehash], $_COOKIE[‘wordpresspass_’ . $cookiehash], true))
    || (empty($_COOKIE[‘wordpressuser_’ . $cookiehash])) ) {
    header(‘Expires: Wed, 5 Jun 1979 23:41:00 GMT’); // Michel’s birthday
    header(‘Last-Modified: ‘ . gmdate(‘D, d M Y H:i:s’) . ‘ GMT’);
    header(‘Cache-Control: no-cache, must-revalidate’);
    header(‘Pragma: no-cache’);

    header(‘Location: ‘ . get_settings(‘siteurl’) . ‘/wp-login.php?redirect_to=’ . urlencode($_SERVER[‘REQUEST_URI’]));
    exit();
    }

    ?>

    Since I ‘m really not all that good at this stuff,, can anyone offer any help? Thanks in advance. . .

Viewing 1 replies (of 1 total)
  • Did you upgrade to 1.5.1?

    If so, did you go through the proper steps?

    Did you replace wp-settings.php?

    Is there a pluggable-functions.php in wp-includes?

    If you didn’t upgrade, what version are you using, and what changes occured on your site before this began?

Viewing 1 replies (of 1 total)
  • The topic ‘login problem’ is closed to new replies.
Skip to toolbar