Title: login problem
Last modified: August 18, 2016

---

# login problem

 *  [garybibb](https://wordpress.org/support/users/garybibb/)
 * (@garybibb)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/login-problem-2/)
 * 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)

 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/login-problem-2/#post-202982)
 * Did you upgrade to 1.5.1?
 * If so, did you go through the [proper steps](http://wordpress.org/support/topic/33189)?
 * 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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * Last activity: [21 years, 1 month ago](https://wordpress.org/support/topic/login-problem-2/#post-202982)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
