2013-08-19 54 views
0

我有一个网站使用二十个主题,但最近我得到吨eval注射,现在我不能访问该网站了。我得到wordpress注射主题不工作了

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

你可以看到它:http://wellnesste.com 我已经清理所有的恶意代码,但仍然是相同的,任何想法?

的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 --> 
?> 
+0

请不要帮忙吗?访问网站时如何摆脱错误?在googleing 2个小时后真的跑出了选项:) – rid

回答

1

你的index.php文件丢失PHP包装:

<?php 

//code 

?> 

要么或者PHP没有运行服务器。

+0

不缺,并且php正在运行.. – rid

+0

你确定吗?当我查看http://wellnesste.com/的来源时,他们错过了。尝试添加一个phpinfo.php文件在你的网站的根目录下,并使用下面的代码:<?php phpinfo(); ?>。然后访问http://wellnesste.com/phpinfo.php。这将确认php正在运行。 –

+0

我已经更新了index.php,以确保问题仍然存在。你可以在http://jsfiddle.net/HynhF/看到代码,也请参阅:http://wellnesste.com/phpinfo.php干杯 – rid