• Just upgraded from 2.0.2 to 2.0.3 and it seemed to work, because my blog is working. But I cant login to the adminpage. When i goto /wp-admin/ I just get a blank page. I tried to logout and then goto wp-login.php and still a blank page.

    And then there are these errors in my apache error log:

    [Thu Jun 1 13:15:40 2006] [error] PHP Fatal error: Call to undefined function wp_get_
    current_user() in /htdocs/sysctl/blog/wp-admin/admin.php on line 20
    [Thu Jun 1 13:23:39 2006] [error] PHP Fatal error: Call to undefined function wp_get_
    cookie_login() in /htdocs/sysctl/blog/wp-login.php on line 181

    Any ideas?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Check again that you have uploaded all the files correctly.

    Both those functions are defined in wp-includes/pluggable-functions.php which may be missing or corrupt in your uploaded files.

    Thread Starter jwl

    (@jwl)

    Hmm yea. I backed up wp-content/ and wp-config.php, removed everything and that installed new files from latest.tar.gz again. That worked. Weird, but thanks anyway 🙂

    I’m having this very same problem. I followed the directions to upgrade exactly. Then when I went to the admin page, all I got was a blank page. The blog worked fine, but the admin page showed up blank. Then I read this post and followed what happened. I re-installed the wp-includes/pluggable-functions.php file as suggested above. Now, blog no longer works and I get this error message:

    Fatal error: Call to undefined function: setup_userdata() in /home/content/a/m/r/amrosario/html/amrpixblog/wp-includes/pluggable-functions.php on line 21

    I’m not a genius about this stuff so I need help. This is not my main blog yet – an experiment to try out the upgrade process. Can anyone help?

    Thanks.

    Try re-uploading the entire wp-includes and wp-admin directories.
    And preferably backup and delete (or just rename) the old ones first.

    Thanks. That seemed to fix that. But….

    Now, with new found confidence, I decided to upgrade my main blog and….

    Big zip!

    Now I get this error when I try to get to the admin:

    Fatal error: Call to undefined function: wp_get_current_user() in /home/content/a/m/r/amrosario/html/techblog/wp-admin/admin.php on line 20

    Help again, please?

    That function should be in wp-include/pluggable-functions.php. Try deleting and re-uploading that file.

    i had the same problem.
    turns out one of the plugins i had was causing the issue.

    backup your plugins except for the ones on there by default, run the upgrade script, then re-upload.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘cant login after 2.0.2 to 2.0.3’ is closed to new replies.