• Olivia C

    (@omgsounique)


    I recently recieved this on my page

    Parse error: syntax error, unexpected T_STRING in /home1/uniquely/public_html/wp-config.php on line 19

    this pops up when i do omgsounique.com/wp-admin.

    then my site shows a blank page with just the domain omgsounique.com as well.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p

    (@t-p)

    A syntax error means that you have made a mistake while creating your PHP structure. When this error appears it will tell you which file the error appears in (e.g., functions.php) and approximately which line (it may not always be the exact line so be sure to check just before and just after) in the code. Try:
    – fix PHP structure in functions.php file around line
    – or, upload a fresh copy (unedited) of this file
    – or, upload a fresh copy of your theme. If you immediately need to get in the dashboard, you can switch to the default theme by renaming your currently active theme’s folder inside /wp-content/themes/ and adding “-old” to the end of the folder name using FTP or SFTP or any whatever file management application your host provides.

    Thread Starter Olivia C

    (@omgsounique)

    Now when I do change it it changes to the Parse error: syntax error, unexpected $end in /home1/uniquely/public_html/wp-config.php on line 99. The two errors I have listed go back and forth. Same line.

    yehudah

    (@yehudah)

    check that you have this “;” in the end of the lines you get warning abouts.

    Thread Starter Olivia C

    (@omgsounique)

    and back to this Parse error: syntax error, unexpected T_VARIABLE in /home1/uniquely/public_html/wp-config.php on line 68

    i was going to generate a wp-config. will that work?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Parse Error’ is closed to new replies.