Forums

[resolved] PHP parse error. (4 posts)

  1. trollmannen
    Member
    Posted 2 years ago #

    I am trying to install WordPress to a blank DB (and have done this many times on different servers), but this is the first attempt at a clean install of 2.8, and when trying to execute install.php, the following error message is stored in the log (the browser shows me nothing but a white page):

    [06-Sep-2009 18:30:52] PHP Parse error: syntax error, unexpected T_VARIABLE in /hsphere/local/home/masterfa/masterfade.com/mainsite/wp-config.php on line 58

    Line 58 of the config file is:

    $table_prefix = 'wp_mgone';

    Any ideas to what is wrong here?

    H.

  2. MichaelH
    Volunteer
    Posted 2 years ago #

    Start over by copying wp-config-sample.php to a clean wp-config.php and don't put anything in the 'secret key' lines (so there's no extra quotes/apostrophes confusion) until the blog installs.

  3. trollmannen
    Member
    Posted 2 years ago #

    Thanks. That did it. Can I now re-introduce the keys into wp-config.php without causing trouble?

  4. MichaelH
    Volunteer
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic