• <b>”Parse error: parse error in /home/blissful/public_html/blog/wp-config.php on line 8
    ———
    Fatal error: Call to a member function on a non-object in /home/blissful/public_html/blog/wp-admin/install.php on line 47″</b>
    When I click on ‘wp-admin/install.php,’ this is what I get. I’m as confused as anything, so hopefully there will be a quick fix to this.
    Here is my wp-config.php file. Maybe something is wrong in this?
    “<?php
    /** WordPress’s config file **/
    /** http://wordpress.org/ **/
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘blissful_blog’); // The name of the database
    define(‘DB_USER’, ‘blissful_carn); // Your MySQL username
    define(‘DB_PASSWORD’, ‘[my password]’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
    // Change the prefix if you want to have multiple blogs in a single database.
    $table_prefix = ‘wp_’; // example: ‘wp_’ or ‘b2’ or ‘mylogin_’
    /* Stop editing */
    $server = DB_HOST;
    $loginsql = DB_USER;
    $passsql = DB_PASSWORD;
    $base = DB_NAME;
    define(‘ABSPATH’, dirname(__FILE__).’/’);
    // Get everything else
    require_once(ABSPATH.’wp-settings.php’);
    ?>”
    If someone is kind enough to answer, I just want to warn you that I am, indeed, a newbie. I don’t quite understand all of the terms and all that go in to making this, so if you could write your explanation in WordPress For Dummies mode, I’d appreciate it. 😉
    Thanks in advance!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • blissfully,
    Is the above code cut and paste directly or did you type it all in? If it is a direct cut and paste, then I see a problem.
    On this line:
    <pre>
    define(‘DB_USER’, ‘blissful_carn); // Your MySQL username </pre>
    you need to add a single quote after “_carn. It will then look like this:
    <pre>
    define(‘DB_USER’, ‘blissful_carn’); // Your MySQL username </pre>
    Give that a whirl and see how it goes.
    Craig.

    Thread Starter blissfully

    (@blissfully)

    Thanks very much, Craig! What a silly mistake on my part. It works fine now after fixing it…I appreciate the help!

    Thread Starter blissfully

    (@blissfully)

    I take that back. I’ve found another error when I try to log in. I seem to remember reading a post here that resembled this problem, but I’m having trouble finding it so I just thought I’d ask again.
    When I put in the username as ‘admin,’ and the generated password, I receive this error:
    Warning: Cannot modify header information – headers already sent by (output started at /home/blissful/public_html/blog/wp-config.php:28) in /home/blissful/public_html/blog/wp-login.php on line 122
    Warning: Cannot modify header information – headers already sent by (output started at /home/blissful/public_html/blog/wp-config.php:28) in /home/blissful/public_html/blog/wp-login.php on line 126
    Warning: Cannot modify header information – headers already sent by (output started at /home/blissful/public_html/blog/wp-config.php:28) in /home/blissful/public_html/blog/wp-login.php on line 129
    Warning: Cannot modify header information – headers already sent by (output started at /home/blissful/public_html/blog/wp-config.php:28) in /home/blissful/public_html/blog/wp-login.php on line 131
    Warning: Cannot modify header information – headers already sent by (output started at /home/blissful/public_html/blog/wp-config.php:28) in /home/blissful/public_html/blog/wp-login.php on line 132
    Warning: Cannot modify header information – headers already sent by (output started at /home/blissful/public_html/blog/wp-config.php:28) in /home/blissful/public_html/blog/wp-login.php on line 133
    Warning: Cannot modify header information – headers already sent by (output started at /home/blissful/public_html/blog/wp-config.php:28) in /home/blissful/public_html/blog/wp-login.php on line 134
    Warning: Cannot modify header information – headers already sent by (output started at /home/blissful/public_html/blog/wp-config.php:28) in /home/blissful/public_html/blog/wp-login.php on line 154
    Any ideas?

    Thread Starter blissfully

    (@blissfully)

    As far as I know, I don’t have a “my-hacks.php” file to fix. Is this necessary to have uploaded?

    blissfully,
    Check your wp-config.php file for extra line spaces or line breaks. If you have your original wp-config-sample.php file, you can use it for comparison.
    Craig.

    Thread Starter blissfully

    (@blissfully)

    Okay, I brought both of them up and checked them out. They are identical. There are no spaces/line breaks that shouldn’t be there.

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

The topic ‘Install errors…help!’ is closed to new replies.