觅分类首页栏目页可以打开,内页发生致命错误
觅分类首页栏目页可以打开,内页发生致命错误,一般查看原因是mifenlei/common.php的1128行错写错误,无法获取关键字,文件内容下:
/**
* 获取关键字
* @param [type] $content [description]
* @param integer $s [description]
* @return [type] [description]
*/
function ks($content, $s = 20)
{
return Analysis::getKeywords($content, $s);
}解决方法:
打开/template/mifenlei/index/html.html文件,删除以下内容:
<meta name="keywords" content="{:ks(zw($t['content']),30)}">同理,其他关键词和描述标签也可以删除!
