Forums

[resolved] wp-config problem? (4 posts)

  1. fjp800
    Member
    Posted 12 months ago #

    This is my first attempt to use WordPress and for some unkown reason I am having a problem?
    Following is the info contained in my wp-cofig.php file [Note I changed the entries for security reasons]

    (1) define('DB_NAME', '1abc_def'); define('DB_USER', 'fjp800'); define('DB_PASSWORD', '8383'); define('DB_HOST', 'localhost'); define('DB_CHARSET', 'utf8'); define('DB_COLLATE', ''); define('AUTH_KEY', 'AUTH_KEY', 'vt-L\"nbbY&FbgSh\\M!.Sxmg,9_g/6[$>EUZa}nfW1]hU k8Ql\"bbb#$=(AzPM'); define('SECURE_AUTH_KEY', 'SECURE_AUTH_KEY', 'T]bb[)JdHcB&^m9RR:pauwr&bGV+%WV!h\'qF Eeq\"da[mJP^sy$RWzxY6|e&_3l'); define('LOGGED_IN_KEY', 'lD^b9bbuJEF3`T,

    Any mistakes above OR anything missing?

    (2) Do I open /wp-admin/install.php in my browser by typing in the following: http://abc.com/ /wp-admin/install.php ?

    (3) I uploaded the files to a folder on my server. Do I also need to upload an index.html file?

  2. samboll
    moderator
    Posted 12 months ago #

    1) several errors - should look like:

    <?php
    // ** MySQL settings ** //
    define('DB_NAME', 'database_name');    // The name of the database
    define('DB_USER', 'username');     // Your MySQL username
    define('DB_PASSWORD', 'password'); // ...and password
    define('DB_HOST', 'localhost');    // 99% chance you won't need to change this value
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');
    
    // Change each KEY to a different unique phrase.  You won't have to remember the phrases later,
    // so make them long and complicated.  You can visit http://api.wordpress.org/secret-key/1.1/
    // to get keys generated for you, or just make something up.  Each key should have a different phrase.
    define('AUTH_KEY', 'nice'); // Change this to a unique phrase.
    define('SECURE_AUTH_KEY', 'and'); // Change this to a unique phrase.
    define('LOGGED_IN_KEY', 'simple'); // Change this to a unique phrase.
    
    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix  = 'wp_';   // Only numbers, letters, and underscores please!
    
    // Change this to localize WordPress.  A corresponding MO file for the
    // chosen language must be installed to wp-content/languages.
    // For example, install de.mo to wp-content/languages and set WPLANG to 'de'
    // to enable German language support.
    define ('WPLANG', '');
    
    /* That's all, stop editing! Happy blogging. */
    
    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/');
    require_once(ABSPATH . 'wp-settings.php');
    ?>

    You must use the same format as wp-config-sample.php
    In your secure keys, you can not have single or double quotes

    2) yes

    3) no, the wordpress index.php in the root folder runs the blog

  3. fjp800
    Member
    Posted 12 months ago #

    Still no luck. Did as suggested. typed in http://abc.com/wp-install.php received error code page not found.. Any ideas?

  4. samboll
    moderator
    Posted 12 months ago #

Reply

You must log in to post.

About this Topic