当前位置:网站首页 / seo技术 / 正文

dedecms发布文章提示“标题不能为空”的解决方法

时间:2017年12月29日 | 作者 : lei1521 | 分类 : seo技术 | 浏览: 3708次 | 评论 0

 

具体修改页面,代码如下:

1、dede/article_add.php 和 dede/article_edit.php

 

  1. $title = htmlspecialchars(cn_substrR($title,$cfg_title_maxlen));  


改成

 

 

  1. $title = htmlspecialchars(cn_substrR($title,$cfg_title_maxlen),ENT_COMPAT ,'GB2312′);  


2、include/ckeditor/ckeditor_php5.php 138行:

 

 

  1. htmlspecialchars($value)  


替换为

 

 

  1. htmlspecialchars($value, ENT_COMPAT ,'GB2312′)  


 

测试,发布文章成功.

推荐您阅读更多有关于“ 标题不能为空dedecms发布文章,”的文章

猜你喜欢

河南青峰网络科技有限公司
网站分类
Tags列表