当前位置:网站首页>dedecms后台生成提示读取频道信息失败的解决方法
dedecms后台生成提示读取频道信息失败的解决方法
2022-08-05 04:13:00 【网站建设影子】
读取频道信息失败,无法进行后续操作!

那是因为有文档使用了以前添加的内容模型和栏目,而内容模型又删除了,文档还在,生成全站或者生成文档时就会提示“读取频道信息失败,无法进行后续操作!”
解决方法
我们来让程序告诉我们是哪些文档是有问题的
打开 /include/channelunit.class.php 找到,大概在 35 行
$this->dsql = $GLOBALS['dsql'];在它下面加入
echo $cid."-".$aid;echo "<br />";如图

添加好后,重新去生成,看提示的是哪个文档

我们去所有档案列表里找找看

删除这个有问题的文档就行了
最后生成没问题的了话,就删除刚刚在 /include/channelunit.class.php 里面添加的那一行代码。
边栏推荐
猜你喜欢

UE4 第一人称角色模板 添加生命值和调试伤害

How to solve the three major problems of bank data collection, data supplementary recording and index management?

事件解析树Drain3使用方法和解释

C++ core programming

特征预处理

How do newcomers get started and learn software testing?

如何解决复杂的分销分账问题?
![Spark Basics [Introduction, Getting Started with WordCount Cases]](/img/90/ebe887db0f8c36895691dea05f62cf.png)
Spark Basics [Introduction, Getting Started with WordCount Cases]

How to discover a valuable GameFi?

测试薪资这么高?刚毕业就20K
随机推荐
[MRCTF2020] PYWebsite
cross domain solution
[8.3] Code Source - [meow ~ meow ~ meow~] [tree] [and]
DEJA_VU3D - Cesium功能集 之 056-智图Arcgis地图纠偏
MySql的索引学习和使用;(本人觉得足够详细)
多御安全浏览器 V10.8.3.1 版正式发布,优化多项内容
There are several common event handling methods in Swing?How to listen for events?
商业智能BI业务分析思维:现金流量风控分析(一)营运资金风险
36-Jenkins-Job迁移
36-Jenkins-Job Migration
How to wrap markdown - md file
C++ core programming
大佬们,我注意到mysql cdc connector有参数scan.incremental.sna
Detailed and comprehensive postman interface testing practical tutorial
开发属于自己的node包
[CISCN2019 South China Division]Web11
overloaded operator
Based on holding YOLOv5 custom implementation of FacePose YOLO structure interpretation, YOLO data format conversion, YOLO process modification"
Haproxy搭建Web群集
Some conventional routines of program development (1)