WordPress.org

Ready to get started?Download WordPress

Forums

[closed] Parse error: syntax error, unexpected T_STRING (8 posts)

  1. myidcw
    Member
    Posted 4 years ago #

    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!

  2. whooami
    Member
    Posted 4 years ago #

    whats on lines 16-20 of blog/index.php ? open the file, read it. count, copy, paste.

  3. myidcw
    Member
    Posted 4 years ago #

    <?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]

  4. myidcw
    Member
    Posted 4 years ago #

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

  5. whooami
    Member
    Posted 4 years ago #

    youre hacked.

  6. myidcw
    Member
    Posted 4 years ago #

    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!!!!!

  7. whooami
    Member
    Posted 4 years ago #

    the new install is hacked.

  8. Samuel B
    moderator
    Posted 4 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic