PDA

View Full Version : Trouble w/ wp-config.php and install.php


nmjackson
12-09-2007, 04:45 PM
I have signed up on Bluehost for a currently up and running blog which is on wordpress.com.

I am in the process of moving to wordpress.org. Downloaded Wordpress to the server. Have followed all the instructions, read all the documentation, read this forum, but am still having difficulty with just getting to step 2: getting install.php to run correctly so I can login to the admin.

I need everything in bluehost to point to my temporary URL (69.89.31.161), rather than my active blog until I've imported my old posts...

First, wp-config.php is set up as:
define('DB_NAME', 'fitsnews_wrdp1'); // The name of the database
define('DB_USER', 'fitsnews_wrdp1'); // Your MySQL username
define('DB_PASSWORD', '*********'; // This is an automatically set password? Not one I created...
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');

Wordpress user name: wordpress
Wordpress password: *****
dB: fitsnews_wrdp1
dB username: fitsnews_wrdp1
Wordpress downloaded to bluehost to a folder called: wp

I went to phpMYAdmin to point the siteURL to the temporary URL (from myblog.com/wp to 69.89.31.161/wp) I also edited "home" under the options section to 69.89.31.161/wp so it matched siteURL. But when I cut and paste "http://69.89.31.161/wp/wp-admin/install.php" into my browser I get a "HTTP 404 error, Page cannot be found" error...

Under MySQL from cPanel, the dbUser appears to point to the correct dB. Under phpMYAdmin, my user info shows only "wordpress" user info (above) and does not list fitsnews_wrdp1, do I need to add this one as well?

I've tried everything I can think of, spent hours on this...

WHAT IN THE WORLD AM I DOING WRONG?

Basil
12-09-2007, 07:23 PM
http://69.89.31.161/~fitsnews/wp/

Now that I think about it, I'm going to remove the link from this. I don't want google crawling it.

nmjackson
12-10-2007, 08:02 AM
Thanks Basil! That worked...I knew it was something simple and obvious, which is how these things go sometimes...I also uninstalled wordpress and reinstalled it to public_html instead of putting it in a subdirectory...

Now when I go to /wp-admin/install.php, I get:

Already Installed
You appear to have already installed WordPress. To reinstall please clear your old database tables first.

Where/how do I do this? I'm going to go on over to wordpress.org to see if I see anything on this...but if you know, I'd like help figuring this out.

Again, many thanks!!

Nancy

Basil
12-10-2007, 08:25 AM
This can be done from phpMyAdmin.

There are a couple of different things you can do, you can either drop the existing wordpress tables and install using the same prefix, or you can change the table prefix (in the installer) and wordpress will ignore the existing installation.

nmjackson
12-10-2007, 06:06 PM
Thanks Basil. I went into phpMYadmin and emptied the tables. That worked. Many thanks for your help!!

Basil
12-10-2007, 06:52 PM
I'm just glad you know what phpMyAdmin is.