• Resolved xendistar

    (@xendistar)


    I have a wordpress install which has not been used or updated for nearly 12 months, I went to login to it last night and and I was unable to do so. After some further investigation it became apparent that the wp-admin folder was missing.

    The last post is dated 12th April 2010 which would of been added by logging into the dashboard. Now that means WordPress is either version 2.9.2 or 3.0 of WordPress. The nearest backup I have is from 24th July 2010, I extracted the wp-admin folder from the backup and placed it in the correct place on the web server. Now when I try to login I get the correct login screen but I get the following error message which reads

    Fatal error: Cannot redeclare wp_load_image() (previously declared in
    /home/windfrea/public_html/windriders.co.uk/wp-includes/media.php:241)
    in
    /home/windfrea/public_html/windriders.co.uk/wp-admin/includes/image.php
    on line 168

    Dose anybody have any suggestion how I can get over this

    Tim

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter xendistar

    (@xendistar)

    Hi Jeezyo, I tried renaming the plugins folder to plugins_old but still can’t login, I get the same error message when I try to login.

    Tim

    I think the answer is in here, maybe mid page: http://wordpress.org/support/topic/30-fatal-error-cannot-redeclare-wp_load_image?replies=15

    I think you were probably using an older version of WP, and then loaded in admin files for 3.0 or similar. They apparently moved that function, so now its duplicating. You basically need to do a manual upgrade, so replace your WP core files, including the wp-Includes — just leave wp-content so you dont mess with your themes/plugins.

    Thread Starter xendistar

    (@xendistar)

    Thanks Jeezyo, quick question, I have another install I can copy the wp-admin and wp-include folders from, what about the 25 or so wp-files that are in the root of the web server, do I copy those over or do I just go with the one I have on the non-operating blog??

    I would update those files as well. Really, you need to update everything aside from your wp-content folder and its contents, which is where all your themes, plugins, and uploads are.

    EDIT: Of course, make sure you first write down the database and config info in your wp-config file, so that you can enter it into the new one.

    Thread Starter xendistar

    (@xendistar)

    Problem solved, I found a readme file on the site that said it was WP version 3.01. So I downloaded a copy of 3.01, uploaded that to the server upacked (keeping my wp-content folder and using my wp-config file). I was then able to login and then I updated the site to latest version of wp.

    Thanks for all the help

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Lost wp-admin folder’ is closed to new replies.