当前位置:网站首页>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 里面添加的那一行代码。
边栏推荐
- 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?
- Paparazzi: Surface Editing by way of Multi-View Image Processing
- In the WebView page of the UI automation test App, the processing method when the search bar has no search button
- 虚证、实证如何鉴别?
- iMedicalLIS listener (2)
- 程序开发的一些常规套路(一)
- UE4 opens doors with overlapping events
- 第一次性能测试实践,有“亿”点点紧张
- The production method of the powered small sailboat is simple, the production method of the electric small sailboat
- How to solve complex distribution and ledger problems?
猜你喜欢
随机推荐
pyqt5 + socket 实现客户端A经socket服务器中转后主动向客户端B发送文件
How to discover a valuable GameFi?
2022软件测试工程师最全面试题
UE4 为子弹蓝图添加声音和粒子效果
[MRCTF2020] PYWebsite
UE4 通过互动(键盘按键)开门
[8.2] Code Source - [Currency System] [Coins] [New Year's Questions (Data Enhanced Edition)] [Three Stages]
关于#SQL#的迭代、父子结构查询问题,如何解决?
Summary of common methods of arrays
Mysql's redo log detailed explanation
UE4 通过与其它Actor互动开门
bytebuffer internal structure
Develop your own node package
UE4 第一人称角色模板 添加蹲伏功能
工业级远距离无线传输装置的功能有哪些?
商业智能BI业务分析思维:现金流量风控分析(一)营运资金风险
程序开发的一些常规套路(一)
关于sklearn库的安装
Redis1:Redis介绍、Redis基本特性、关系型数据库、非关系型数据库、数据库发展阶段
Bytebuffer put flip compact clear method demonstration









![[GYCTF2020]EasyThinking](/img/40/973411c69d1e4766d22f6a4a7c7c01.png)