WordPress.org

Support

Support » Installation » Parse error: syntax error, unexpected T_STRING

Parse error: syntax error, unexpected T_STRING

  • Parse error: syntax error, unexpected T_STRING in /home/content/j/r/2/jr2214/html/blog/index.php on line 18

    can’t access my maintenance site, either…

    I have trying to reload the program many times.
    After each successful reload, the site will work for several hours… and then appear the error message again.

    my site: http://joy-dance.org/blog/

    can anyone help please?
    thanks a lot!

Viewing 7 replies - 1 through 7 (of 7 total)
  • whats on lines 16-20 of blog/index.php ? open the file, read it. count, copy, paste.

    <?php
    /**
    * 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
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define(‘WP_USE_THEMES’, true);

    [hack removed]

    can anyone help, please?
    Anything wrong with the file? and how to fix it?

    youre hacked.

    got hacked……… 🙁

    ok, I installed a new wordpress under a different folder last night and it worked fine… but this morning it crashed again….
    it’s showing me the message:

    /** * 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 */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define(‘WP_USE_THEMES’, true); /** Loads the WordPress Environment and Template */ require(‘./wp-blog-header.php’); ?>

    and the admin site shows:

    Fatal error: Cannot redeclare a1jg() (previously declared in /home/content/j/r/2/jr2214/html/home/wp-config.php(1) : eval()’d code:1) in /home/content/j/r/2/jr2214/html/home/wp-settings.php(1) : eval()’d code on line 1

    My old wordpress: http://joy-dance.org/blog
    New one: http://joy-dance.org/home
    does that mean the new site got hacked, too?
    Is that a virus on the server, my computer or something else?
    what should I do now?
    Please help!!!!!

    the new install is hacked.

    Samuel B
    Participant

    @samboll

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Parse error: syntax error, unexpected T_STRING’ is closed to new replies.