既然程序运行无误,你可以试着将class.smarttemplate.php的320和321行的错误显示注释掉,将以下:
$this->cache_filename = $this->cache_dir . 'cache_' . md5($_SERVER['REQUEST_URI'] . serialize($key)) . '.ser';
if (($_SERVER['HTTP_CACHE_CONTROL'] != 'no-cache') && ($_SERVER['HTTP_PRAGMA'] != 'no-cache') && @is_file($this->cache_filename))改成: $this->cache_filename = @$this->cache_dir . 'cache_' . md5($_SERVER['REQUEST_URI'] . serialize($key)) . '.ser';
if ( @($_SERVER['HTTP_CACHE_CONTROL'] != 'no-cache') && @($_SERVER['HTTP_PRAGMA'] != 'no-cache') && @is_file($this->cache_filename))
$this->cache_filename = $this->cache_dir . 'cache_' . md5($_SERVER['REQUEST_URI'] . serialize($key)) . '.ser';
if (($_SERVER['HTTP_CACHE_CONTROL'] != 'no-cache') && ($_SERVER['HTTP_PRAGMA'] != 'no-cache') && @is_file($this->cache_filename))改成: $this->cache_filename = @$this->cache_dir . 'cache_' . md5($_SERVER['REQUEST_URI'] . serialize($key)) . '.ser';
if ( @($_SERVER['HTTP_CACHE_CONTROL'] != 'no-cache') && @($_SERVER['HTTP_PRAGMA'] != 'no-cache') && @is_file($this->cache_filename))
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货