服务器网站突然全部

#1 xpp1000

Smarty Error: Unexpected input at lineSmarty Error: Unexpected input at line63: W

  • D:\wwwroot\wzc\SpeedPHP\Core\spView.php on line 52
47.                  $this->addfuncs();
48.                  $this->displayed = TRUE;
49.                  if($GLOBALS['G_SP']['view']['debugging'] && SP_DEBUG)$this->engine->debugging = TRUE;
50.                  $this->engine->display($tplname);
51.          } catch (Exception $e) {
52.              spError( $GLOBALS['G_SP']['view']['engine_name']. ' Error: '.$e->getMessage() );

53.          }
54.      }
55.       
56.      /**
57.       * 注册视图函数


  • D:\wwwroot\wzc\SpeedPHP\Core\spController.php on line 105
100.       */
101.      public function display($tplname, $output = TRUE)
102.      {
103.          @ob_start();
104.          if(TRUE == $GLOBALS['G_SP']['view']['enabled']){
105.              $this->v->display($tplname);

106.          }else{
107.              extract($this->__template_vals);
108.              require($tplname);
109.          }
110.          if( TRUE != $output )return ob_get_clean();


  • D:\wwwroot\wzc\index\controller\main.php on line 12
7.      function index()
8.      {$sp=spClass('cp');
9.     $sql=" SELECT b.id as id, a.name AS NAME,a.pic AS pic2,b.pic AS pic,b.jianjie AS jianjie ,b.title AS title FROM yw_user AS a  RIGHT JOIN yw_cp AS b  ON a.user=b.user order by b.addtime desc ";
10.       $this->main = $sp->spPager($this->spArgs('p', 1), 20)->findSql($sql);
11.          $this->pager = $sp->spPager()->getPager();
12.       $this->display("index/index.html");

13.          }
14.      function dian()
15.      {$sp=spDB('yw_dianzan');
16.      $user=$_COOKIE['reguser'];
17.      $cid=$this->spArgs('cid');


  • D:\wwwroot\wzc\SpeedPHP\spFunctions.php on line 21
16.      if(!is_object($handle_controller) || !method_exists($handle_controller, $__action)){
17.          eval($GLOBALS['G_SP']["dispatcher_error"]);
18.          exit;
19.      }
20.      // 路由并执行用户代码
21.      $handle_controller->$__action();

22.      // 控制器程序运行完毕,进行模板的自动输出
23.      if(FALSE != $GLOBALS['G_SP']['view']['auto_display']){
24.          $__tplname = $__controller.$GLOBALS['G_SP']['view']['auto_display_sep'].
25.                  $__action.$GLOBALS['G_SP']['view']['auto_display_suffix']; // 拼装模板路径
26.          $handle_controller->auto_display($__tplname);


  • D:\wwwroot\wzc\index.php on line 76
71.
72. require(SP_PATH."/SpeedPHP.php");
73. import('comm.php');
74.   import('functions.php');
75.    
76. spRun();



2015-09-09 15:46:45

#2 jake

好像是这个问题:
http://www.smarty.net/forums/viewtopic.php?p=70105&sid=24c5292f161e7da3265c8d8631944134

估计是PHP环境的配置有修改

2015-09-09 16:59:07

#3 xpp1000

查了一下原因中了网页木马了,一大堆不知道是啥的东西把整个HTMl底部填满了

2015-09-09 20:47:15