打开/dede/contont_lisp.php文件
找到
// 缓存处理
$sql = "SELECT COUNT(*) AS dd FROM `dede_arctiny` $tinyQuery ";
$cachekey = md5($sql);
$arr = GetCache('listcache', $cachekey);//这是从缓存里面取结果,如果没有缓存,则生成缓存
if (empty($arr))
{
$arr = $dsql->GetOne($sql);
SetCache('listcache', $cachekey, $arr);//设置缓存
}
$totalresult = $arr['dd'];
改成
$sql = "SELECT COUNT(*) AS dd FROM `dede_arctiny` $tinyQuery ";
$arr = $dsql->GetOne($sql);
$totalresult = $arr['dd'];