Forums

Need help activating php... (6 posts)

  1. aruiz
    Member
    Posted 2 years ago #

    Below is what comes up on my wp.config page, I can't seem to get it to point to my website! Can someone help?

    <?php
    // ** MySQL settings ** //
    define('DB_NAME', 'xxxxxxxxxxxxx');
    define('DB_USER', 'xxxxxxxxxxxxx');
    define('DB_PASSWORD', 'xxxxxx');
    define('DB_HOST', 'xxxxxxxxxxxxx');
    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__).'/');
    require_once(ABSPATH.'wp-settings.php');
    ?>

  2. mrmist
    Forum Janitor
    Posted 2 years ago #

    I've edited your post to obscure your database user and password details. It's not a good idea to post them on a public forum.

    Probably best if you change you database password now.

    As far as your question goes, I'm not clear what you mean about getting it to point to your website? What error are you seeing.

  3. aruiz
    Member
    Posted 2 years ago #

    Changing password. Thanks. This is the error I'm getting when trying to load the site...

    Error establishing a database connection

    This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at p41mysql85.secureserver.net. This could mean your host's database server is down.

  4. aruiz
    Member
    Posted 2 years ago #

    I just had Go Daddy switch my server from Windows to Lenux. Hope that works...

  5. aruiz
    Member
    Posted 2 years ago #

    This is the error I'm getting after calling Go Daddy to change my site back to Lenux. The site will not come up, got any leads?

    Parse error: syntax error, unexpected T_VARIABLE in /home/content/b/r/u/bruiz/html/wp-config.php on line 12

  6. Accuwebhosting
    Member
    Posted 2 years ago #

    @aruiz It seems that there is some invlid code/line in wp-config.php. Just check your wp-config.php file and correct it if you find any unwanted code/line.

Topic Closed

This topic has been closed to new replies.

About this Topic