1.近期发现有用织梦cms内核的盆友,遇到了在发布文章是时后台提示“Call to undefined function dede_htmlspecialchars() in………………article_add.php on line 101”的错误。
解决办法:找到“article_add.php on line 101”内容如下:“$title = dede_htmlspecialchars(cn_substrR($title,$cfg_title_maxlen));”
删除其中的“dede_”即改为:“$title = dede_htmlspecialchars(cn_substrR($title,$cfg_title_maxlen));”
说明:帮助朋友测试过,该方法对该错误提示:Call to undefined function dede_htmlspecialchars()………………article_add.php on line 101,起作用。其他错误提示尚不清楚是否有效!
2.同上述问题一样,朋友在更改文章是遇到了如下错误:Fatal error: Call to undefined function dede_htmlspecialchars() in ………………article_edit.php on line 108
解决办法:找到“article_edit.php on line 108”内容如下:“$title = dede_htmlspecialchars(cn_substrR($title,$cfg_title_maxlen));”
删除其中的“dede_”即改为:“$title = htmlspecialchars(cn_substrR($title,$cfg_title_maxlen));"
说明:帮助朋友测试过,该方法对该错误提示:Call to undefined function dede_htmlspecialchars()………………article_edit.php on line 108,起作用。其他错误提示尚不清楚是否有效!
若有疑问,不妨搜索一下:
转载或变相转载,请注明出处:无忧化学(www.56hx.cn)谢谢!!