• First of all … I apologize. This is more than likely my fault because I did something wrong. But I’ve got the cold sweat panicks now and I’m trying to figure out what went wrong and I’m turning to the people who really know this stuff.

    I had WP 2.0 installed, and all was well, but the Dashboard kept talking about the security patch, so I thought I should upgrade.

    I backed up my database, as per instructions, and I have a database.gz file on my hard drive safe and sound (I hope).

    I then used BatchFTP to download my /blog directory to my local machine. Why BatchFTP? I use it at work and am comfortable with it, though it’s slow.

    I then downloaded WP 2.02 and unzipped locally.

    I then thought… hmm… BatchFTP sure was slow, let’s try a different FTP client, and used the only other one I had, EFTP (potentially another weird choice, I know).

    I then uploaded, overwriting as I went, the WP202 directory into my /blog directory. I noticed that there didn’t seem to be as many files/directories, but I assumed that’s how it’s supposed to be. Everything seemed fine (the transfer was going nice and fast for sure) and soon itt was done. Then I went to /wp-admin/upgrade.php and loaded it. In fact, I think I did this before the upload was complete. When the upload was complete, I noticed some files hadn’t transferred, so I sent them again and all seemed well. Then I hit fresh on the upgrade.php file and got an error.

    So I tried to load the blog and got an error.

    Fatal error: Call to undefined function: update_user_cache() in /home2/john/public_html/blog/wp-settings.php on line 72

    So now I am panicking.

    I uploaded my backup files blog files (not the database, just the file tree). Same error.

    I uploaded using BatchFTP, thinking maybe EFTP screwed it up somehow. Same error.

    Did my database get screwed up somehow? I hesitate to overwrite it, just in case, but I will if you all think that’s what needs to be done. Any idea what is going on here?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter johnrobe

    (@johnrobe)

    Okay… I have completed an upload of my backup files with BatchFTP the blog appears to be working normally again… so the flopsweats have eased.

    What caused this problem though … EFTP? I have used it for single files in the past before without an issue.

    Regardless of which ftp client you’re using, be sure that your transferring text files (aka .php…) in ASCII mode, not binary mode. If I had to guess, I’d guess that’s what happened.

    Oh – check out Filezilla! ??

    Most likely thing: overwriting files.

    Generally, best thing to do (assuming concrete rocksolid backups of course): delete the files you’re going to be replacing (mostly everything BUT wp-content folder and wp-config.php file, maybe .htaccess), and reupload new files. Sounds weird, stupid…. but it’s true.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Upgrade disaster’ is closed to new replies.