当前位置:网站首页>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 里面添加的那一行代码。
边栏推荐
- [MRCTF2020]PYWebsite
- pyqt5 + socket 实现客户端A经socket服务器中转后主动向客户端B发送文件
- The test salary is so high?20K just graduated
- AUTOCAD——标注关联
- DEJA_VU3D - Cesium功能集 之 058-高德地图纠偏
- UE4 通过与其它Actor互动开门
- Learning and finishing of probability theory 8: Geometric and hypergeometric distributions
- 多御安全浏览器新版下载 | 功能优秀性能出众
- [CISCN2019 华东南赛区]Web11
- 小程序_动态设置tabBar主题皮肤
猜你喜欢
How to solve the three major problems of bank data collection, data supplementary recording and index management?
Static method to get configuration file data
Event parse tree Drain3 usage and explanation
UE4 通过与其它Actor互动开门
[BJDCTF2020] EasySearch
Feature preprocessing
Defect detection (image processing part)
bytebuffer internal structure
[CISCN2019 South China Division]Web11
markdown如何换行——md文件
随机推荐
How to solve the three major problems of bank data collection, data supplementary recording and index management?
UE4 后期处理体积 (角色受到伤害场景颜色变淡案例)
Haproxy搭建Web群集
[CISCN2019 华东南赛区]Web11
AUTOCAD——标注关联
日志导致线程Block的这些坑,你不得不防
UE4 在游戏运行时更改变量 (通过鼠标滑轮来更改第一人称角色的最大行走速度)
UE4 第一人称角色模板 添加蹲伏功能
Cron(Crontab)--use/tutorial/example
[BSidesCF 2019]Kookie
关于sklearn库的安装
[MRCTF2020]PYWebsite
Spark Basics [Introduction, Getting Started with WordCount Cases]
Feature preprocessing
大佬们,我注意到mysql cdc connector有参数scan.incremental.sna
The most comprehensive exam questions for software testing engineers in 2022
重载运算符
A 35-year-old software testing engineer with a monthly salary of less than 2W, resigns and is afraid of not finding a job, what should he do?
2022软件测试工程师最全面试题
Solana NFT开发指南