Parse Error (2 posts)

  1. jaypo7
    Posted 8 years ago #

    I set up my wordpress database a few months ago. I started messing around with it and eventually I had to replace some of the files. Now, I get the following message when I visit my site jaypo.tk: "Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/www/jaypo.100webspace.net/content/wp-config.php on line 5"...how can I fix that?? Thanks in advance...

    Config file:

    // ** MySQL settings ** //
    define('DB_NAME', 'jaypol7_blog');
    define('DB_USER', 'jaypol7_blog'');
    define('DB_PASSWORD', 'xxxx');
    define('DB_HOST', 'localhost');
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');

    // 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. */

    define('ABSPATH', dirname(__FILE__).'/');

  2. Adam Brown
    Posted 8 years ago #

    define('DB_USER', 'jaypol7_blog'');

    should be

    define('DB_USER', 'jaypol7_blog');

    and I certainly hope xxxx isn't your real password. :)

Topic Closed

This topic has been closed to new replies.

About this Topic