• Resolved wingit1global

    (@wingit1global)


    Could someone give me a sample and description of what the wp-config.php should look like ASAP. I am having problems with the file. This is what I have so far:
    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wordpress’); // nineinte_verivexblog
    define(‘DB_USER’, ‘username’); // nineinte_SeanW
    define(‘DB_PASSWORD’, ‘password’); // PASSWORD
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix = ‘wp_’; // nineinte_verivexblog1

    // Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-includes/languages.
    // For example, install de.mo to wp-includes/languages and set WPLANG to ‘de’
    // to enable German language support.
    define (‘WPLANG’, ”);

    /* That’s all, stop editing! Happy blogging. */

    define(‘ABSPATH’, dirname(__FILE__).’/’);
    require_once(ABSPATH.’wp-settings.php’);
    ?>
    Thank You.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Try this:

    <?php
    // ** MySQL settings ** //
    define('DB_NAME', 'nineinte_verivexblog'); //
    define('DB_USER', 'nineinte_SeanW'); //
    define('DB_PASSWORD', 'PASSWORD'); //
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix = 'wp_'; // nineinte_verivexblog1
    // Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-includes/languages.
    // For example, install de.mo to wp-includes/languages and set WPLANG to 'de'
    // to enable German language support.
    define ('WPLANG', '');
    /* That's all, stop editing! Happy blogging. */
    define('ABSPATH', dirname(__FILE__).'/');
    require_once(ABSPATH.'wp-settings.php');
    ?>

    Trent

    Following up on Trent’s suggestion, it looks like you have just put your values in the wrong place…they are actually comments the way you have them. Instead of:

    define(‘DB_NAME’, ‘wordpress’); // nineinte_verivexblog
    define(‘DB_USER’, ‘username’); // nineinte_SeanW
    define(‘DB_PASSWORD’, ‘password’); // PASSWORD

    You should have:

    define(‘DB_NAME’, ‘nineinte_verivexblog’); //
    define(‘DB_USER’, ‘nineinte_SeanW’); //
    define(‘DB_PASSWORD’, ‘PASSWORD’); //

    You should be able to leave everything else the way it is. All you really need to tell WordPress is the DB name, user, and password.

    Thread Starter wingit1global

    (@wingit1global)

    For some reason I am still stuck, I am not sure if the configuration is the problem or not. But this is what I have done, and if you help me further I would greatly appreciate it. Here is what I have done:

    1) Unzipped the folder
    2) Changed the wp-config-sample.php document to the following:
    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘nineinte_verivexblog’); // The name of the database
    define(‘DB_USER’, ‘nineinte_SeanW’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘my password’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix = ‘wp_’; // nineinte_verivexblog1

    // Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-includes/languages.
    // For example, install de.mo to wp-includes/languages and set WPLANG to ‘de’
    // to enable German language support.
    define (‘WPLANG’, ”);

    /* That’s all, stop editing! Happy blogging. */

    define(‘ABSPATH’, dirname(__FILE__).’/’);
    require_once(ABSPATH.’wp-settings.php’);
    ?>

    3) I then saved the file as wp-config.php
    4) Then I upload the whole folder, changing the title of the unzipped folder from “wordpress” to “blog” and upload the entire folder.
    5) I then went to my site https://www.verivex.com/blog/wp-admin/install.php but I only get a 404 Not Found error saying “The requested URL /wp-admin/install.php does not exist.”

    I know the file is uploaded but nothing seems to work. I would appreciate any and all help. Thank You.

    That’s not a config.php problem at this point…it seems wordpress just didn’t upload properly or is not in the proper location. Your root website is working…are you sure wordpress has been fully uploaded to a directory called blog in your root folder?

    Steve

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wp-config.php’ is closed to new replies.