flakcatcher 0 Posted July 1, 2008 Share Posted July 1, 2008 I've followed the installation instructions on Total Choice's Wordpress help page to a T, but still cant get Wordpress installed. Instead, I get this message: http://hoosierlogic.com/wp-admin/install.php If it's of any consequence, I once had another CMS installed on this site a couple of years ago. But I cleaned out my Public_HTML folder completely, for a clean start. Just to be clear, this is how I wrote my wp-config.php file: <?php // ** MySQL settings ** // define('DB_NAME', 'cpanelname_databasename'); // The name of the database define('DB_USER', '_cpanelname_database-username'); // Your MySQL username define('DB_PASSWORD', 'database-password'); // ...and password define('DB_HOST','localhost'); // 99% chance you won't need to change this value define('DB_CHARSET', 'utf8'); define('DB_COLLATE', ''); Please help, and thank you in advance! Matthew Quote Link to post Share on other sites
mistahp 0 Posted July 1, 2008 Share Posted July 1, 2008 "_cpanelname_database-username" Do you have that underscore at the beginning? That would cause it to fail. Quote Link to post Share on other sites
flakcatcher 0 Posted July 1, 2008 Author Share Posted July 1, 2008 "_cpanelname_database-username" Do you have that underscore at the beginning? That would cause it to fail. Ahh, no -- that was a typo in the post. There's no underscore in the config file. Quote Link to post Share on other sites
TCH-Thomas 25 Posted July 1, 2008 Share Posted July 1, 2008 Have you created the database and added th user to the database? Quote Link to post Share on other sites
flakcatcher 0 Posted July 1, 2008 Author Share Posted July 1, 2008 Have you created the database and added th user to the database? I have indeed -- thanks for asking. I'm truly at a loss, here! Quote Link to post Share on other sites
TCH-Bruce 16 Posted July 1, 2008 Share Posted July 1, 2008 You did upload the wp-config.php file to your WordPress folder, correct? It only needs the following info defined. define('DB_NAME', 'cpanelname_databasename'); // The name of the databasedefine('DB_USER', 'cpanelname_database-username'); // Your MySQL username define('DB_PASSWORD', 'database-password'); // ...and password define('DB_HOST','localhost'); // 99% chance you won't need to change this value Quote Link to post Share on other sites
flakcatcher 0 Posted July 1, 2008 Author Share Posted July 1, 2008 You did upload the wp-config.php file to your WordPress folder, correct? It only needs the following info defined. I did. And I uploaded all of the contents of the wordpress folder directly into my public_html folder. So instead of having a folder called "wordpress" in the public_html, i simply have all of the files and folders that wordpress originally contained in there. Quote Link to post Share on other sites
flakcatcher 0 Posted July 1, 2008 Author Share Posted July 1, 2008 And by the way -- my cpanelname is the same name I use to log into cpanel, right? Quote Link to post Share on other sites
TCH-Thomas 25 Posted July 1, 2008 Share Posted July 1, 2008 (edited) Addition to Bruces post... Make sure the wp-config.php is named just that and not wp-config-sample.php. As for the cpanel name question, it is correct. Edited July 1, 2008 by TCH-Thomas Quote Link to post Share on other sites
flakcatcher 0 Posted July 1, 2008 Author Share Posted July 1, 2008 Addition to Bruces post... Make sure the wp-config.php is named just that and not wp-config-sample.php. As for the cpanel name question, it is correct. Thanks, Thomas. I have it named correctly. I'm truly flummoxed. Quote Link to post Share on other sites
TCH-Bruce 16 Posted July 1, 2008 Share Posted July 1, 2008 Matthew, check your PM. You are missing four lines from your wp-config.php file. /* Stop editing */ $server = DB_HOST; $loginsql = DB_USER; $passsql = DB_PASSWORD; $base = DB_NAME; Quote Link to post Share on other sites
flakcatcher 0 Posted July 1, 2008 Author Share Posted July 1, 2008 Matthew, check your PM. You are missing four lines from your wp-config.php file. A thanks to Bruce for helping me solve the problem via PM. You're awesome. Now can you tell me where I can find my htaccess file? Quote Link to post Share on other sites
TCH-Bruce 16 Posted July 1, 2008 Share Posted July 1, 2008 If there is not one in your public_html folder just create it. Make sure you have set your file mananger to display hidden files. A . before a filename in *nix denotes hidden files. Quote Link to post Share on other sites
flakcatcher 0 Posted July 1, 2008 Author Share Posted July 1, 2008 If there is not one in your public_html folder just create it. Make sure you have set your file mananger to display hidden files. A . before a filename in *nix denotes hidden files. how do I set the cpanel file manager to see hidden files (last question I swear) Quote Link to post Share on other sites
TCH-Bruce 16 Posted July 1, 2008 Share Posted July 1, 2008 When you select the File Manager you are presented with a dialog. There is a check box you need to check to show hidden files. Quote Link to post Share on other sites
slobjones 0 Posted November 18, 2008 Share Posted November 18, 2008 I'm having the same problem attempting to install WP 2.6.3. I've followed the instructions provided by TCH, but when I attempt to run the installation script, WP displays a database config error. WP's FAQ reports that attempts to install WP with MySQL 4.1.7 results in this error. What version of MySQL is TCH running? Thanks. Quote Link to post Share on other sites
TCH-Thomas 25 Posted November 18, 2008 Share Posted November 18, 2008 MySQL 5.0.51 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.