• Resolved ivyleaf

    (@ivyleaf)


    The error message:

    Parse error: parse error, unexpected T_STRING in /share/storage/04/su/mydomain/wordpress/wp-config.php on line 2

    This is my script

    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘mydomain/_pn’); // The name of the database
    define(‘DB_USER’, ‘mydomain/’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘******’); // …and password
    define(‘DB_HOST’, ‘humbug’); // 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’, ”);

    /* That’s all, stop editing! Happy blogging. */

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ivyleaf

    (@ivyleaf)

    Sorry, I paste the exact one again.

    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘mydomain_**’); // The name of the database
    define(‘DB_USER’, ‘mydomain’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘************’); // …and password
    define(‘DB_HOST’, ‘humbug’); // 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’, ”);

    /* That’s all, stop editing! Happy blogging. */

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

    Thread Starter ivyleaf

    (@ivyleaf)

    What I did is to follow the installation guide for Plusnet user then all the problems are solved automatically.

    It is only usful for Plusnet users.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘parse error, unexpected T_STRING’ is closed to new replies.