• Resolved fmueller

    (@fmueller)


    I a am currently in the process of updating my site http://www.fmueller.com from WordPress 2.3.1 to WordPress 2.6.5. The reason I am using 2.6.5 is that I am also using that version on another site I am responsible for, and I’d like to have both sites on the same version. To upgrade fmueller.com I have:

    – made a backup
    – deleted the old wp-admin and wp-includes folders on the server
    – FTPed the new wp-admin and wp-includes files to the server
    – replaced those files in wp-content that I had not customized
    – copied the database settings from my old wp-config.php to the new wp-config-sample.php and saved that file as wp-config.php on the server.

    I then visited http://www.fmueller.com/wp-admin/ and get the following message:

    Fatal error: main() [function.require]: Failed opening required ‘../wp-load.php’ (include_path=’.:/usr/lib/php’) in /homepages/1/d199406008/htdocs/wp-admin/admin.php on line 7

    How should I proceed?

    Many thanks!

    Frank

Viewing 7 replies - 1 through 7 (of 7 total)
  • deleted the old wp-admin and wp-includes folders on the server

    First, assuming you have a complete back-up of your source code and database?

    Login to your old install and deactivate all your plugins and switch to the default theme. Then, you should delete ALL of your old source code except for your custom stuff in wp-content (themes, plugins, and upload directory).

    Upload all the new code. Move in your custom themes, plugins, and upload directory. Make the changes to your new wp-config-sample.php file and rename it like you explained above.

    See if this works better for you.

    Thread Starter fmueller

    (@fmueller)

    figaro – many thanks for the quick response!

    The way I did the backup is to ftp everything on the server into a directory on my home computer. Hope that’s what I was supposed to do!

    What I forgot to mention in my initial post is that I deactivated all plugins before I started with the upgrade. I am using the default theme anyhow.

    Then, you should delete ALL of your old source code except for your custom stuff in wp-content (themes, plugins, and upload directory).

    Not 100% sure what you mean by that. I am using only the default theme with customizations mostly in the images, so I didn’t replace those. I also have some customizations in sidebar.php, page.php (to enable comments)and stylesheet.css. I didn’t replace those either. Everything else has been replaced. I don’t use uploads.

    Not sure what to do…

    You wrote:

    – deleted the old wp-admin and wp-includes folders on the server

    There is a lot more WP source code than that…you need to replace it all. If you are trying to keep some of the source files from your 2.3 install and use them in your 2.6 install, you will have problems. Replace it all and then incorporate any hacks you have in your 2.3 files into the 2.6 files.

    The way I did the backup is to ftp everything on the server into a directory on my home computer. Hope that’s what I was supposed to do!

    Yes, that should get your files, but probably not your database. You should backup your database as well.

    Thread Starter fmueller

    (@fmueller)

    Ah – I forgot to update all the files in the root directory! Not quite done yet with the upgrade, and right now the site looks like a dog’s breakfast, but at least the database update worked, which is a big step in the right direction. Many thanks!

    How do I do a database backup? I tried to read some instructions, and have looked around the codex, but I still don’t quite get it. I thought if I ftp everything off the server, it would have to be in there, no?

    Frank

    See the latest video I posted on the site below. It covers some basic DB maintenance, but I show how to backup the database as well.

    http://educhalk.org/blog

    Thread Starter fmueller

    (@fmueller)

    That video is awesome – explains it for the dummy, which is exactly the right level for me, LOL!

    I was pleased to see I had no overhead – my site isn’t used all that much. Making a database backup following your instructions was a breeze! Many thanks.

    As an aside, I moderate an aquarium forum and have been planning to shoot some instructional videos for some time. This experience once again confirms the usefulness of those things. I got to get onto that!

    Greetings

    Frank

    That video is awesome – explains it for the dummy,

    That’s because a dummy created it 😉 Thanks and I’m glad you found it useful.

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

The topic ‘Upgrade problems’ is closed to new replies.