WordPress.org

Forums

Usual thing... 'Parse error" site died. (2 posts)

  1. WelshDog
    Member
    Posted 1 year ago #

    Running WP on a site called http://www.opinionaustralia.com but not been there for a few months. I'm currently getting the following returned by the server...

    "Parse error: syntax error, unexpected '<' in /home/opinion/public_html/wordpress/wp-config.php on line 5"

    However I can't see an issue with the file (see below with p/w starred out the password.

    I'd appreciate some assistance if possible. Many thanks.

    Chris

    <?php
    /** Enable W3 Total Cache */
    define('WP_CACHE', true); // Added by W3 Total Cache
    /**/
    <?php
    // ** MySQL settings ** //
    define('DB_NAME', 'opinion_wordpress'); // The name of the database
    define('DB_USER', 'opinion_oawp'); // Your MySQL username
    define('DB_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_'; // Only numbers, letters, and underscores please!

    // 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', '');
    define('WP_DISABLE_CRON', 'true');
    //-WP Tuner Plugin by MrPete------------
    //--------------------------------------
    $wpTunerStart = microtime(); // get start time as early as we can
    if ( function_exists( 'getrusage' ) ) { $wpTunerStartCPU = getrusage(); }
    @include_once(dirname(__FILE__).'/wp-content/plugins/wptuner/wptunertop.php'); // fire up WPTuner
    //--------------------------------------
    //-END WP Tuner Plugin------------------
    /* That's all, stop editing! Happy blogging. */

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

  2. WelshDog
    Member
    Posted 1 year ago #

    *kick

Topic Closed

This topic has been closed to new replies.

About this Topic