Ready to get started?Download WordPress


login problem (2 posts)

  1. garybibb
    Posted 9 years ago #

    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:

    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']));


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

  2. Kafkaesqui

    Posted 9 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.