Just manually edit your wp-config.php
back to your old details and hope that you screwing around with the install and import didn’t mess with your existing posts.
The details in the wp-config.php are correct and SHOULD be accessing the existing data. That’s what I’m having trouble with.
aprilcartergrant, have you backed everything up? Also, what I usually do after getting a new blog up and running is, I download a copy of all the files including the wp-config.php file to the harddrive.
And then if something goes wrong, I’d just upload that file that might have been screwed up. Like Viper007Bond said, as long as your DB connection settings in the wp-config.php file is right..you should have that existing data there and showing up.. =)
That happened to me before, I accidently uploaded the wrong wp-config.php file into the wrong directory and it was screwy, but then reuploaded the proper one that I had originally had, and it was ok. So, maybe something isn’t quite right in that wp-config.php file. :/
<?php
// ** MySQL settings ** //
//Added by WP-Cache Manager
define('DB_NAME', 'TheOneYouHaveForThisBlog'); // The name of the database
define('DB_USER', 'TheOneYouHaveForThisBlog'); // Your MySQL username
define('DB_PASSWORD', 'TheOneYouHaveForThisBlog'); // ...and password
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
// Change the prefix if you want to have multiple blogs in a single database.
$table_prefix = 'wp_'; // example: 'wp_' or 'b2' or 'mylogin_'
// Change this to localize WordPress. A corresponding MO file for the
// chosen language must be installed to wp-includes/languages.
// For example, install de.mo to wp-includes/languages and set WPLANG to 'de'
// to enable German language support.
define ('WPLANG', '');
/* Stop editing */
define('ABSPATH', dirname(__FILE__).'/');
require_once(ABSPATH.'wp-settings.php');
?>
And also make sure the table prefixes are ok as well. I hope you get this straightened out soon. =)
spencerp
Thanks everyone for your input; I’ve tried the things you’ve shared and still am screwing with it. But I appreciate the help. Update to come.
THanks!
april
As I was saying about backing everything up, apparently some little moron oversea kids hacked my blog’s and coppermine gallery while I wasn’t online.
http://www.vindictivebastard.net/brand-new-fucking-god-damn-kids.htm/
I think they entered through the gallery though… :/ I had been getting requests for uploads by ALOT of Arabian or overseas peoples lately. Emails letting me know of uploads being done or requested.
But thank God I backed up everything though. I lost the gallery and other two blog’s as well.. But the other two blog’s weren’t the latest versions of WP anyways, so I’ll just reinstall them then via the Fantastico in the control panel and add the stuff back to them. =)
Atleast the main blog is up and running again. =)
spencerp