0

I have a website using twenty ten theme but recently ive got tons of eval injections and now i cant access the site anymore. I get

/** 
 * 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');

You can see it at: http://wellnesste.com I have cleaned all the malicious code but still the same, any ideas?

index.php

> <?php     
/**

 * The main template file.

 *

 * This is the most generic template file in a WordPress theme

 * and one of the two required files for a theme (the other being style.css).

 * It is used to display a page when nothing more specific matches a query.

 * E.g., it puts together the home page when no home.php file exists.

 * Learn more: http://codex.wordpress.org/Template_Hierarchy

 *

 * @package WordPress

 * @subpackage Twenty_Ten

 * @since Twenty Ten 1.0

 */



get_header(); ?>


    <div id="container">

        <div id="content" role="main">





        <? /* Run the loop to output the posts.

         * If you want to overload this in a child theme then include a file

         * called loop-index.php and that will be used instead.

         */

         get_template_part( 'loop', 'index' );



        </div><!-- #content -->

    </div><!-- #container -->
?>
4

1 回答 1

1

您的 index.php 文档缺少 php 包装器:

<?php

//code

?>

那个或 php 没有运行你的服务器。

于 2013-08-19T10:03:16.470 回答