• Parse error: parse error, unexpected ‘<‘ in /home/httpd/vhosts/lntervention.net/httpdocs/wp/index.php on line 4
    is the full error.
    My Line no. 4 is
    <html>
    Can anyone please help? ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Most likely cause is an error on the line above. Look for a missing >, or maybe a missing ” or ‘ that makes the > look like it’s part of a string rather than closing a tag.

    Thread Starter andero

    (@andero)

    <?php
    /* Don’t remove this line. */
    require(‘./wp-blog-header.php’);
    <html>
    If I added “>” to the end of line 3, the error was unexpected “>” on line 3.
    Any more help? ??

    <?php
    /* Don't remove this line. */
    require('./wp-blog-header.php');
    <html>

    Should be
    <?php
    /* Don't remove this line. */
    require('./wp-blog-header.php');
    ?>
    <html>

    Thread Starter andero

    (@andero)

    It works!
    Thank you, fair moderator guy! ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Parse error: parse error, unexpected ‘<‘…’ is closed to new replies.