Is your new WordPress site pointed to the correct database?
To check, try creating a dummy post, and see if it is visible on the db table wp_posts.
Hello,
Open you wordpress wp-config.php from your wordpress root directory.
check the database name with your imported database name.
If they are not same then put the same name in you wp-config.php file.
Thanks.
Hi guys,
have confirmed that database configs are correct in the wp-config.php file.
I created a new database, imported the script from the backed up database and then changed the details in the wp-config.php to point to it…got the config page then it opens up as a blank site…no old posts are showing ????
Hello,
then check your database table.
If there is posts or not.
thanks.
Can you check whether your previous theme files are available in the themes directory and is active?
Blank page could be due to missing theme.
Do check and let us know.
Theme is in and running….when I look at Dashboard-> Posts->All posts I just see the introductory post “Hello World”.
When I look at the table: wp_blwc_posts I see the current records that are showing on the site i.e the “Hello World” blog and the “Sample Page”.
When I look at wp_etiq_posts I see all the posts I have installed from the sql script of the export.
I notice in the wp-config-php that I have: $table_prefix = ‘wp_blwc_’;
SORTED…FIXED IT !!!
Changed $table_prefix = ‘wp_blwc_’ to $table_prefix = ‘wp_etiq_’…reinstalled the theme and IT WORKS. Now I just have to upload the media and reattach…better than rewriting 20 blogs!!
Thanks for all your help guys and particularly the mention of wp-config.php…much appreciated.
Now why the different in table names?? Different version??
-
This reply was modified 8 years, 7 months ago by
superroo.