• I’m getting this error:

    Parse error: parse error, unexpected $ in /home/pixelled/public_html/tinger/index.php on line 48

    This is the line:

    <?php include(ABSPATH . ‘wp-comments.php’); ?>
    </div>

    Can someone help please?

Viewing 3 replies - 1 through 3 (of 3 total)
  • are you using 1.5 or 1.2? if you’re using 1.5, then you’ll need to change the line to something like this:

    <?php comments_template(); // Get wp-comments.php template ?>

    Darkmis29,

    You’ll get help with a post title that actually means something. Future visitors benefit from a well thought-out topic title. Perhaps you will be searching one day, and find a number of topics related to your problem. If everybody entitles their posts as “Help, help”, then the search function is worthless.

    PHP doesn’t always get the line numbers right. The error says ‘unexpected $’ but there’s no $ in the line you gave. Give us a few more lines on either side of 48 and we’ll see what we can do.

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