ambr607
Member
Posted 2 years ago #
I have two separate issues here, losing the dashboard was my fault but the upgrade to 2.8 wiped out all my material. I had access to the dashboard right after the upgrade and in attempting to make changes to recover my blog I lost access. In performing the upgrade all my material disappeared. I have a backup but have no idea how to revert and recover. The first step is to regain access to my dashboard. I'm getting "page not found" when I attempt to login. Any ideas???
First thing...if you didn't disable plugins before upgrading, then do that. See the following video for how to disable them via phpMyAdmin.
http://educhalk.org/blog/?p=38
ambr607
Member
Posted 2 years ago #
I disabled all plugins prior to the upgrade. When I went to open my blog I got the "welcome" screen from WP like I was a virgin. That opened a brand new blog using a default theme. All my posts, links, etc. were gone. I started poking around the dashboard attempting to redirect, saved the changes, and poof "page not found". Now I can't gain access to undo the changes. FUBAR'd....
wolfdogg
Member
Posted 2 years ago #
Very easy.. It sounds like you did the upgrade via the control panel one-click method? That's evil. Never do it again.
Download the 2.8 install to your computer and upload the whole thing up to your site. Now.. go to your backup and upload the plugins folder, themes folder and verify that wp-config.php is still in your root directory (else upload it too). Log back in to WordPress Admin. Voila.
At this point.. do some site checking.. see if you have additional images that need uploaded. If so.. upload that folder too.
wolfdogg
Member
Posted 2 years ago #
"I got the "welcome" screen from WP like I was a virgin"
WordPress gives you a welcome screen if you're a virgin!! Wow.. that's some tight programming!! :-0
ambr607
Member
Posted 2 years ago #
Nope, downloaded the zip file, unzipped, and transferred directories and files as directed in the WP Three Step Upgrade using Filezilla FTP. My back-up is one big sql.GZ file - doesn't match up to files and folders! Doh!!!
wolfdogg
Member
Posted 2 years ago #
Do you just backup your database? Did you not backup your wordpress folders by downloading them in an ftp client first? If not.. you are fubar'd.
wolfdogg
Member
Posted 2 years ago #
My back-up is one big sql.GZ file - doesn't match up to files and folders! Doh!!!
As long as you have your database backup, you can recover. Since you have a sql.gz file, it sounds like you do have that. However, I'll bet you don't even need to use that...from your description of what you did, I would bet you just installed a new set of tables in your database....your data is probably still there and all you need to do is set your wp-config.php file to the proper table prefix.
ambr607
Member
Posted 2 years ago #
I was using the backup function in WP which looks like it just does the database so I guess it's all gone. I know just enough to be dangerous and it finally bit me.
ambr607
Member
Posted 2 years ago #
I assumed (I know dammit) that backing up the database was protecting my content....
@ambr607: Who is your host? If you have a linux hosting account with Cpanel (or a nice control panel), I'll help you recover. Email me at educhalk [at] gmail [dot] com
Backing up your db does protect your content...with the exception of any uploaded files...which are probably still there unless you deleted them yourself.
ambr607
Member
Posted 2 years ago #
As long as you have your database backup, you can recover. Since you have a sql.gz file, it sounds like you do have that. However, I'll bet you don't even need to use that...from your description of what you did, I would bet you just installed a new set of tables in your database....your data is probably still there and all you need to do is set your wp-config.php file to the proper table prefix.
That makes me feel a little better. Looks like it's going to be a long weekend!! I'm still searching for the magic "un-do" button.
wolfdogg
Member
Posted 2 years ago #
But.. if you've already transferred new files up with filezilla and did not save the old directories, all of your images are likely gone.. and if you did any previous enhancements to your code.. such as header.php, index.php, style.css.. these are all gone for good.
When you save posts, pages, etc.. these get stored in the database that you have. When you upload images and stuff, they get stored in the images folder.. so you'll still end up with a half wrecked site, even after your database recovery.
ambr607
Member
Posted 2 years ago #
figaro, check your email and thanks for the offer to help!
ambr607
Member
Posted 2 years ago #
Deleted wp-admin and wp-includes and uploaded new as directed. Did not completely overwrite wp-content (again, per instructions) so maybe all is not lost...
wolfdogg
Member
Posted 2 years ago #
Word... All is well. You will survive this. :)
ambr607
Member
Posted 2 years ago #
From Figaro:
You just created new tables in the db....your old ones are still there. Just point the wp-config.php file to the correct tables.
It worked like a charm. Complete recovery and I still have my hair (as much as I had this morning anyway). Thanks again Figaro for the save!