phpbb issues - Parse error: syntax error

Discussion in 'Programming' started by GuruCreation, Sep 22, 2009.

  1. #1
    I'm looking for someone that can help with this...

    Looks like my site and forum were hacked and they installed an iframe. I'm pretty sure I removed the iframe, but I think I removed a little more than that.

    If someone has heard of or knows how to fix the: Parse error: syntax error unexpected $end in.

    Then I'm looking for you...


    Thanks
     
    GuruCreation, Sep 22, 2009 IP
  2. tguillea

    tguillea Active Member

    Messages:
    229
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    90
    #2
    Yeah that error is usually the result of an if/then statement not being closed. The unexpected $end means that PHP wasn't expecting you to terminate the PHP code (by use of "?>" at the end of your files).

    It could be an SSI if/then (like what PHPBB 3 uses) or a pure PHP if/then statement.
     
    tguillea, Sep 23, 2009 IP