Look in the “foreplay” folder and see if you can find a wp-config.php file. If you see it, delete it manually. Now make sure that in the same “foreplay” folder there is a file called wp-config-sample.php. If that file does not exist, upload a new one from a fresh wordpress installation zip file.
Now, using your web browser, visit
http://www.mydomain.com/foreplay/wordpress-1.0.2/wp-admin/install-config.php
again.
If you still get the same error as above, find the wp-config-sample.php file in your “foreplay” folder and download it to your computer. Rename it as wp-config.php. Now open it to edit it and change the following values in that file:
// ** MySQL settings ** //
define(‘DB_NAME’, ‘database_name’); // The name of the database
define(‘DB_USER’, ‘database_username’); // Your MySQL username
define(‘DB_PASSWORD’, ‘database_password’); // …and password
define(‘DB_HOST’, ‘database_host’); // Where your database is hosted
// If you do not have an existing WordPress install, dont change the next line
$table_prefix = ‘wp_’; // example: ‘wp_’ or ‘b2’ or ‘mylogin_’
Save the file and then upload to the “foreplay” folder.
Now, using your browser again, visit this site(with your domain name of course):
http://www.mydomain.com/foreplay/wordpress-1.0.2/wp-admin/install.php
Let us know how it goes then.
Peace
OK, I’m getting a different kind of message when I go to http://www.mydomain.com/foreplay/wordpress-1.0.2/wp-admin/install-config.php
It’s: “Sorry, I can’t write to the directory. You’ll have to either change the permissions on your WordPress directory or create your wp-config.php manually.”
Should I go ahead with the process you described – that is downloading and changing the wp-config-sample.php file?
One other thing: when I change the file with my text editor – I’ll need the name of the database, mysql username, password and where the database is hoted. Now, my host has given me a password, username and something like bebop.myhost.com. I’m not sure which is which. In other words, what is the meaning of “name of database” and “where the datbase is located?”
Thanks, LaughingLizard!
I’ll contact my host!
Just a note. If you’re getting the message about WP not being able to write to the directory, that means you need to CHMOD the directory permissions to something like 777. You do this using your FTP client. (How depends on the client itself. I’m using Filezilla, so in that, I’d right click on the directory name and click on ‘file attributes’ in the menu that comes up.)
After chmod-ing and completing the install, you want to change your permissions back to 755 (which is the default, I believe.)