织梦v56安装后出现Deprecated: Function ereg_replace() is deprecated错误
发布于:19-07-19 | 作者:admin织梦v56在php5.3及php5.3以上版本出现了Deprecated: Function ereg_replace() is deprecated错误提示,因为织梦v56并没有兼容php5.3及以上版本 解决办法:修改dede/config.php第二行 define(DEDEADMIN, ereg_replace([/\\]{1,}, /, dirname(__FILE__) ) );
dede后台出现Call to a member function GetInnerText() on a non-object错误的解决方案
发布于:19-07-11 | 作者:admin今天织梦二次开发网给客户做自定义模型是,打开后台 Fatal error: Call to a member function GetInnerText() on a non-object in E:\www\include\taglib\channel\img.lib.php on line 51 这个错误会在更新自定义模型栏目列表的时候出现,修复此问题方法很简
织梦后台自定义模型里面包含图集修改时出现500错误
发布于:19-06-17 | 作者:admin织梦后台自定义模型新建模型的附加字段中添加一个图集的字段 添加内容的时候编辑出现500错误,现在织梦二次开发网给出如下解决办法 customfields.func.php的第541行,将 $fvalue = trim($ntag-GetInnerText()); 修改为 if($ntag==){$fvalue = trim($ntag);}e
织梦列表页调用软件下载地址
发布于:19-04-17 | 作者:admin织梦软件列表页需要直接调用出软件下载地址 第一步,在织梦后台找到内容模型管理,编辑软件模型,列表附加字段增加softlinks 第二步,增加函数 function GetSoftLinkUrl($softlinks){preg_match(/a .*?href=\(.*?)\.*?/is,$softlinks,$matches);$url = $match
织梦栏目页调用当前栏目顶级栏目的ID
发布于:19-04-11 | 作者:admin织梦栏目页想要调用当前栏目页的顶级栏目ID,首先找到网站根目录/include/extend.func.php在最下面添加函数 function GetTopTypeid($typeid){global $dsql;$typeArr = $dsql-GetOne(SELECT * FROM dede_arctype where id={$typeid});return $typeArr[topid];}
织梦channel标签指定了栏目id后,currentstyle属性无效怎么办?
发布于:19-03-07 | 作者:admin织梦二次开发网站今天在给客户修复bug的过程中发现织梦channel标签在指定typeid之后,currentstyle属性没有作用了,现在给出以下解决方案 找到/include/taglib/channel.lib.php文件第133行 if( ($row[id]==$typeid || ($topid==$row[id] $type==top) ) $curre
织梦标签arclistsg调用单表模型出错如何解决
发布于:19-03-01 | 作者:admin今天我们在客户开发的过程中使用arclistsg标签时出现Column id in where clause is ambiguous的错误, 解决办法如下 修改代码include\taglib\arclistsg.lib.php else $gquery = Select ch.addtable,listfields From `dede_arctype` tp left join `dede_chann