Forums

Parse error: Syntax error, unexpected T_STRING - help! (5 posts)

  1. flywrite
    Member
    Posted 1 year ago #

    I've just been asked to help sort out a problem with my church's website. It's done with WordPress, but the administrator recently left and someone who doesn't know web site stuff at all is running it. I suspect either she's broken it somehow, or we've been hacked.

    Website is: http://www.allsaints-church.net
    It brings up message: Parse error: syntax error, unexpected T_STRING in /home/ascpot/public_html/wp-content/themes/all-saints/home.php on line 2

    First few lines of home.php are:

    <?php
    Template Name: Home Page

    ?>

    Any ideas?

    Thanks
    Matt

  2. alchymyth
    The Sweeper
    Posted 1 year ago #

  3. flywrite
    Member
    Posted 1 year ago #

    Thanks! That sorted that one, now I get a different one on line 35:

    [code moderated as per forum rules - please use the pastebin.
    besides from keeping the forum tidy, the pastebin also shows line numbers]

  4. flywrite
    Member
    Posted 1 year ago #

    Parse error: syntax error, unexpected '/' in /home/ascpot/public_html/wp-content/themes/all-saints/home.php on line 35

  5. flywrite
    Member
    Posted 1 year ago #

    Pastebin code for problem:

    http://pastebin.com/TQZvGN0M

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.