The blog works fine. Has for years now.
Trying to include the latest post on a separate index page of site.
In the header I have
<?php require("/home/path/to/wp/wp-blog-header.php"); ?>
I am getting:
Can’t select database
We were able to connect to the database server (which means your username and password is okay) but not able to select the wp_wrdp1 database.
* Are you sure it exists?
* On some systems the name of your database is prefixed with your username, so it would be like username_wordpress. Could that be the problem?
If you don’t know how to setup a database you should contact your host. If all else fails you may find help at the WordPress Support Forums.
Any ideas? I am hosted on my own box running Redhat. Again, wp works fine. I have about 5 wp installs on this box.
- The topic ‘Can’t Select Database when including wp-blog-header.php on seperate page’ is closed to new replies.