• Resolved skrunch

    (@skrunch)


    I tried to install the latest version of wordpress. I get this error :
    Parse error: syntax error, unexpected $end in C:\xampp\htdocs\wordpress\wp-config.php on line 32

    wp-config.php looks like:

    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wordpress’); // The name of the database
    define(‘DB_USER’, ‘root’); // Your MySQL username
    define(‘DB_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’, ‘CjoYC{:`/->>z ,kC6wWKlKfhJH>XHzm5;><fB?yEY3+V%?p.<zL@tP=fu/atZCp’);
    define(‘SECURE_AUTH_KEY’, ‘3vV*9XEH93`|}Jlo2\\#3!:\\!V~t^in;=8@!r~6k#M36VF8/<l3C=dm|HK<Q:zwj>’);
    define(‘LOGGED_IN_KEY’, ‘?./N]~]O42XG88SA1bREqnU4qDJ[<P/%P!DO<Uf(A@T]h`%Aw^*$jbk\”fbS4igZq’);// 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’);
    ?>

    Any help?
    Thanx
    Brian

Viewing 3 replies - 1 through 3 (of 3 total)
  • make sure that there are no single or double quotes in your keys. Note that they are suppposed to be enclosed in single quotes.

    I think I see a double quote mark ” in your third key. Maybe that will help?

    define(‘DB_PASSWORD’, “); // …and password

    Change this to

    define(‘DB_PASSWORD’, ‘ ‘); // …and password

    You have a quotation mark where there should be 2 apostrophes.

    Thread Starter skrunch

    (@skrunch)

    Thanx! I followed both replies and it worked…thanx!

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

The topic ‘Parse error: syntax error’ is closed to new replies.