• Resolved KittyASmith

    (@kittyasmith)


    I am having a problem installing the WordPress settings for my site. I
    believe the problem lies in the wp-config.php file. After putting in my
    database settings according to a tutorial, I get this message
    “*Parse error*:syntax error, unexpected T_STRING in *
    /home/kitty13/public_html/wp-config.php* on line *6 *” when I open my
    browser to http://kittyasmith.com/wp-admin/install.php

    I have tried to adjust several things, one discrepancy I see is in the script itself, I am told to use the MySQL user name. In these directions at http://codex.ww.wp.xz.cn/Installing_WordPress#Detailed_Instructions I am told to use my WordPress username. Neither one works.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Probably not a correctly edited wp-config.php file.

    You might start over with the wp-config-sample.php and use that to create a new wp-config.php with the correct values.

    <?php
    // ** MySQL settings ** //
    define('DB_NAME', 'putyourdbnamehere');    // The name of the database
    define('DB_USER', 'usernamehere');     // Your MySQL username
    define('DB_PASSWORD', 'yourpasswordhere'); // ...and password
    define('DB_HOST', 'localhost');    // 99% chance you won't need to change

    you removed a ‘ on one of the 2 bottom lines shown above during your editing. thats the error that beong spit back at you.

    Thread Starter KittyASmith

    (@kittyasmith)

    whooami- You are right. I found it. Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Probems with wp-config.php file’ is closed to new replies.