• Resolved alucrd2001

    (@alucrd2001)


    /home/woodfin/public_html/intervidlabs.org/wp-config.php on line 19
    [23-May-2013 20:48:16] PHP Parse error: syntax error, unexpected ‘;’ in /home/woodfin/public_html/intervidlabs.org/wp-config.php on line 19. is my current error i undid the only changes i made yet it still doesnt work. On top of that now i cant connect to the database with all the correct information in a new wp-config.php. Any ideas what i can do, this error began trying to install WP-supercache plugin.

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

    (@t-p)

    Parse errors

    Syntax Error

    A syntax error means that you have made a mistake while creating your PHP structure. You could, for example, be;
    ■ Missing a ; at the end of an individual line.
    ■ Using curly quotation marks.
    ■ Missing a curly bracket.

    When this error appears it will tell you which file the error appears in (functions.php for example) 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.

    Unexpected

    If you are receiving an error which says ‘parse error: unexpected’ this usually means that you have forgotten to include a character. The most common are:
    ■ Unexpected ‘=’ : you have forgotten to include the $ when referencing a variable
    ■ Unexpected ‘)’ : you have forgotten to include the opening bracket (
    ■ Unexpected ‘(‘ : you have forgotten to include the closing bracket )
    ■ Unepxpected T_STRING: you have forgotten a quotation mark or a semi-colon at the end of the previous line
    ■ Unexpected T_ELSE: you have an else statement with no opening if statement

    It sounds like your wp-config.php file was damaged. Do you have a backup copy? Does your host?

    Thread Starter alucrd2001

    (@alucrd2001)

    i fixed it. i put a ; in place of what was supposed to be , silly me.

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

The topic ‘Parse error file rollback?’ is closed to new replies.