WordPress.org

Ready to get started?Download WordPress

Forums

Fatal Error when upgrading to 2.5? (7 posts)

  1. robinlinphoto
    Member
    Posted 6 years ago #

    Help! I tried to upgrade to 2.5 today and at first deleted by entire blog (I host it on my own server). I've now managed to recover the blog (it's still not the correct theme but that's the least of my concerns at the moment).

    Right now...I can't access the admin page at all - this is the error I get when I try to go to the site admin area:

    Fatal error: Call to undefined function wp_admin_css_color() in /usr/www/users/robinlin/blog2/wordpress/wp-admin/admin.php on line 29

    Please help -- I'm not the most technically savvy person...but seriously this is really causing me a lot of stress.

    Thanks!

  2. kmessinger
    Volunteer Moderator
    Posted 6 years ago #

    Fatal error: Call to undefined function means you are missing a file.
    You did not get all of them moved to the server correctly.

  3. Joni
    Member
    Posted 6 years ago #

    This sometimes happens when you just upload and overwrite files. You need to delete the following:

    /wp-includes
    /wp-admin
    And all *.php files in your root WP install EXCEPT
    .htaccess
    wp-config.php

    Then upload fresh files (careful, don't overwrite your .htaccess and wp-config.php files!) and perform the upgrade. Should be fine. That happened to me the other day simply because I got lazy and decided not to practice what I preach. :)

  4. kernow
    Member
    Posted 6 years ago #

    You probably want to keep your wp-content folder too, unless you want to delete your plugins and templates.

  5. Joni
    Member
    Posted 6 years ago #

    Yes, that's correct. that's why it's NOT on my list of folders to delete; only /wp-includes and /wp-admin. :)

  6. kernow
    Member
    Posted 6 years ago #

    Sometimes its best to state the obvious, as I've made mistakes in the past when I've been unsure and complained about it after. Thank goodness a lot of my 'Help! I don't know what I'm doing' days are behind me! :)

  7. Joni
    Member
    Posted 6 years ago #

    Oh I still have some of those PICNIC (problem in chair, not in computer) moments. My business partner sums it up nicely: "User error. Replace user." :-D

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.