• Hi!
    I’ve reached the stage of installation where I select the ‘install.php’ file and it’s meant to launch the installer. I’m getting this message:

    Warning: Unexpected character in input: ”’ (ASCII=39) state=1 in /home/merl1n/public_html/PepperberryCuisine/wp-settings.php on line 280

    Parse error: syntax error, unexpected $end in /home/merl1n/public_html/PepperberryCuisine/wp-settings.php on line 280

    This is my config.php file (minus the private data, obviously 🙂 ):

    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘private’); // The name of the database
    define(‘DB_USER’, ‘private’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘private’); // …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’, ‘poMC@N.>22/eIrfH*zV&JC%yq7s3D^c*k*X:$?0>fZM2\”Z@|XI S<XhuyKF=:99!’);//Done
    define(‘SECURE_AUTH_KEY’, ‘sW\\KIYb=/=X#ccgW_K[mL6N=.?coQ(ZyZ;`PfDa[A\’V2g!V(Uv$8?|RLU@}Z0t,G’);//Done
    define(‘LOGGED_IN_KEY’, ‘&d^? \\-4 =|Qim#@@\’}\”,$w*M[eK%(N<A_jTR!3l\\8A? nt\”.g(WQrj%z53?BR%D’);//Done

    // 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 idea where I may have gone wrong, and how I can fix it?

    Thanks so much!

Viewing 1 replies (of 1 total)
  • You are using single quotes in a couple of those random keys.

    Since those strings are wrapped in single quotes, it is confusing the script, as it thinks the string is ending, but then it sees all those other characters.

Viewing 1 replies (of 1 total)
  • The topic ‘Syntax Error, and I don’t understand PHP!’ is closed to new replies.