• I tried to upgrade from 2.0.4 to the latest version and now wordpress is dead … this is the message I get when trying to access it:

    Warning: main(/home/content/h/a/i/hairybutt/html/moosegal/moosedroppings/wp-includes/compat.php): failed to open stream: No such file or directory in /home/content/h/a/i/hairybutt/html/moosegal/moosedroppings/wp-settings.php on line 265

    Warning: main(/home/content/h/a/i/hairybutt/html/moosegal/moosedroppings/wp-includes/compat.php): failed to open stream: No such file or directory in /home/content/h/a/i/hairybutt/html/moosegal/moosedroppings/wp-settings.php on line 265

    Not sure but I think this might be my problem in one instance …
    php files says: if ( isset($_REQUEST[‘GLOBALS’]) )
    die(‘GLOBALS overwrite attempt detected’);

    Here is the other line …
    die(sprintf(__(“It doesn’t look like you’ve installed WP yet. Try running install.php.”), $link));
    }
    $wpdb->show_errors();

    Can anyone tell me how to fix this? The new file looks nothing like the old file and these lines are not present in the new file … help anyone?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    2.0.4 to the latest version, that’s a big leap…

    If you have not done so already, backup everything now. Both your database and files. Familiarize yourself on how to restore you file and database backups.

    If you can get your 2.0.4 version back and running then you’ll be in a better place to upgrade. You need to upgrade in steps: 2.0.x to 2.9.x will probably not work. Also check that the requirements for 2.9.1 will work with your server’s versions.

    Try this: go to the Release Archives page and download the following WordPress versions:

    http://wordpress.org/wordpress-2.0.11.zip
    http://wordpress.org/wordpress-2.1.3.zip
    http://wordpress.org/wordpress-2.2.3.zip
    http://wordpress.org/wordpress-2.3.3.zip
    http://wordpress.org/wordpress-2.5.1.zip
    http://wordpress.org/wordpress-2.6.5.zip
    http://wordpress.org/wordpress-2.7.1.zip
    http://wordpress.org/wordpress-2.8.6.zip
    http://wordpress.org/wordpress-2.9.1.zip

    If you can get 2.0.4 working again on your blog, THEN upgrade to 2.0.11, 2.1.3, etc.

    You need to bring your 2.0.4 up to a more current version in steps. I don’t know if you really need more than 2.5.1 (I have upgraded a blog from 2.6.5 to 2.9 directly) so maybe someone here can clarify the minimum version that will work before 2.9.1.

    Good luck.

    Thread Starter moosegal

    (@moosegal)

    jdembowski, thank you very much. Unfortunately .. the database was not backed up. I am going to try to install the newest version of WP and see if importing the content from the 2.0.4 can be installed into it. If that don’t work, I guess I will have no other choice but to manually input the articles … many articles. I have never installed wordpress before … may end up back here looking for help. 🙂

    Okay. But the content *is* in the database. WordPress consists of two parts:

    (1) the WordPress blog software, which includes your theme (the design)
    (2) the database

    From the error messages, I’d guess that the database is still on the server, so I’d work to get that backed up right away.

    By the way, I upgraded a friend’s WordPress 1.2.2 blog to 2.9 recently … all I did was upgrade to WP 1.5, and then to 2.9. It went smoothly.

    => In your case, I’m wondering if you didn’t upload a folder, like the wp-includes folder. Check to see if you uploaded everything.

    NOTE: With applications that have a lot of folders and a lot of files, it’s best to delete the older files on the server (but keep the ones that WP tells you to keep) and then upload the new ones. Otherwise, you may end up with old files still there or old files not overwritten by new files, all of which will give you problems.

    Thread Starter moosegal

    (@moosegal)

    Diane, I don’t know much about the database as my web partner just gave me the password to get into it. I backed it up as soon as I got into it and would like to retrieve most of the information. There was a lot of files not to mention the copyrighted material. Although I have loaded a new wordpress into the server, I renamed the old file and would like to repair it and keep it for a back up. Do you have any links that might help me learn more about the database and how to navigate it properly?

    Did you check as to whether you’d uploaded all the new files properly?

    When uploading something like WordPress, it’s important to delete the files on the server first (otherwise, some might not get replaced with new files during the upload).

    Thread Starter moosegal

    (@moosegal)

    Sorry for late reply .. I didn’t delete anything as I was expecting an overwrite. Not worried about that now .. I have added the content manually .. I renamed the old file (copyright material) but now I have a very big problem .. posted over at troubleshooting … seems the new wp version is eating bandwidth according to the hosting people.

    Here is the procedure I found works for me, if not updating from the control panel (such as from 2.9.1 to 2.9.2) or moving to a new server.

    Back up the DB file to your HD (ex: news.sql)
    Back up the customized theme files to your HD (most times I use the default theme)
    Back up the uploads folder to your HD and note its location (uploads)
    Create the DB/User with the same names if this is completely new and note the username prefix must be different in your wp-config.php
    Rename the old wordpress folder (for example, mine might be ‘news’) to something like news (old)
    Upload the new wordpress folder and rename it to news
    Replace the theme and upload files
    Log in and select the theme

    Access the MyPHP Admin and IMPORT the sql file with the data in it for new server … the backup and restore panel won’t work even if you named the DB and folder the same I found.

    If this is on the same server that you are upgrading manually with a whole new version of wordpress that doesn’t allow you to do it from within the old, you can just use the ‘restore’ feature in the backup panel, but chances are you won’t need to. YOur files should show up and theme should be restored.

    Now if your archives cannot be brought up or your .css file lacks the update button, you need to go in and make sure your folders are permissions 755 and files 644 or 666 (you can change back to 644 after updating)

    This is what I have had to do.

    NEVER USE 777

    Corrections and additions anyone?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘I Killed It – Tried to do an upgrade’ is closed to new replies.