织梦自定义字段图片类型,上传图片后,当再次编辑文档时显示这样dede:img text=,那是官方程序20170405版本和之前的版本里的一个Bug,文件里的变量写错了
织梦自定义字段图片类型,编辑文档时显示这样
那是官方程序20170405版本和之前的版本里的一个Bug,文件里的变量写错了
解决方法
打开 /include/customfields.func.php 找到 (大概在539行)
$innerTmp = ($arcTag=="") ? trim($arcTag) : trim($arcTag->GetInnerText());
改成
$fvalue = ($ntag=="") ? trim($ntag) : trim($ntag->GetInnerText());
改好,保存就可以了。
上面的方法可以同时解决添加图片类型字段,出现报错的问题。
织梦Fatal error: Call to a member function GetInnerText() \include\customfields.func.php on line 539错误
织梦Fatal error: Call to a member function GetInnerText()
织梦修改或者添加了自定义表单后在后台修改文章的时候出现如下错误:Fatal error: Call to a member function GetInnerText() on a non-object in \include\customfields.func.php on line 539 错误
转载请注明:郑州SEO优化_郑州网站优化 » dedecms自定义图片字段类型变成dede:img text=的解决方法,图片新增字段出错解决