Support » Fixing WordPress » Error in index.php?

  • I cn’t open my site. Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ‘,’ or ‘;’ in /customers/6/d/c/keepcomingbackband.com/httpd.www/index.php on line 5

    index.php line 5 reads ‘*’ as part of
    /**
    * Front to the WordPress application. This file doesn’t do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    So where can I find the error and correct it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    If that file has been modified (and it should not have been) then try uploading a fresh copy of WordPress and upload everything except the wp-contents folder.

    Thread Starter Sigmund0

    (@sigmund0)

    Thank you. That file has not been modified as far as I know. I tried what you suggested anyway, but it made no difference. The site http://www.keepcomingbackband.com/ just won’t open an all I get is this: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ‘,’ or ‘;’ in /customers/6/d/c/keepcomingbackband.com/httpd.www/index.php on line 5
    Which makes no sense to me.

    if that is exactly what your first 5 lines look like, then the problem is that the <?php or <? that is supposed to be on line 1 is missing

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error in index.php?’ is closed to new replies.