Forums

Parse error: syntax error, unexpected T_VARIABLE (2 posts)

  1. spintacular
    Member
    Posted 2 years ago #

    I have followed the tutorial given on WordPress.org for how to install a blog hosted on your own server. Dreamhost set up the database for me with one-click installation. I edited the wp.config file and uploaded it onto the site. I am now getting this error message:

    "Parse error: syntax error, unexpected T_VARIABLE in /home/chloeayres/spintacular.com/blog/wp-config.php on line 57"

    Here is line 57 of the code:

    $table_prefix = 'wp_';

    My blog is the only blog on my server and the only database. Can anyone tell me what's wrong with that code? I would greatly appreciate it!! Thanks so much!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Try creating a new wp-config,.php file and, this time, ensure that you use a plain text editor and that you do not add, or remove, any more than you should.

Topic Closed

This topic has been closed to new replies.

About this Topic