• After an automatic upgrade failed, I upgraded manually via shell. The site is working again, but when I try to access admin I get the following error message:
    Fatal error: Call to undefined function is_network_admin() in /home/[path]/html/wp-admin/admin-header.php on line 16

    Disabling all plugins has not fixed it. I am able to log in, though.
    Theme is Twenty Ten

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    Probably you have an incomplete upgrade. So try:

    -download WordPress again and replace your copies of everything EXCEPT the wp-config.php file and the /wp-content/ directory with fresh copies. This should replace your core files without changing your content and settings in wp-config.php file and the /wp-content/ directory.

    -After you are done uploading the new files, point your browser to /wp-admin/upgrade.php

    Thread Starter permaculturegeek

    (@permaculturegeek)

    Ok, I figured out what happened now – nothing had upgraded at all
    – the tar.gz had unpacked to a subdirectory /wordpress
    – my mv-fu wasn’t able to move entire trees without deleting everything first (I had already make backups of wp-config.php and wp-content)

    For future reference, is there a command in tar which causes a directory to be omitted from the path when extracting? (I usually just use tar -zxvf [archive])

    So: resolved but with questions for next time

    Thread Starter permaculturegeek

    (@permaculturegeek)

    I have the material from wp-content which came with the upgrade set aside in /wp-content-new – is there anything in particular that I should copy across?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Admin broken after upgrade to 3.1.2’ is closed to new replies.