Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem of reading additional information in some articles of Weaving Dream dedecms

2025-01-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article is to share with you about how to solve the problem of reading additional information in some articles of Weaving Dream dedecms. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.

Problem: it is estimated that when the new version is developed, it does not take into account the old version, the article content is empty news, and the new version no longer allows the article content to be empty news, so that the old version of the empty news can no longer be edited.

Resolve:

You can modify the following files as follows:

Article_edit.php (this file is in the background folder) 35 lines (specific search: "error reading additional information" to know where it is)

/ * version 5.3 comment out $addRow = $dsql- > GetOne ("Select * From `$addtable` where aid='$aid'"); if (! is_array ($addRow)) {ShowMsg ("error reading additional information!", "_ javascript:;"); exit () } * / end I have only done this step, the background will not prompt an error, you can modify / * compatible with the previous version 5.3, the article content is empty, modify $addRow = $dsql- > GetOne ("Select * From `$addtable` where aid='$aid'"); if (! is_array ($addRow)) $body = ""; else $body = $addRow ["body"]; * / end

-- the above are the problems that occurred when the website moved or updated the version--

The problem I encountered is that the website is newly installed, there is no move, there is no updated version, and the previous articles have no content and cannot be edited, but the articles posted now have content (after the above changes, they can also be edited. I just started to report an error, but I can't edit it. It can be edited according to the previous one after the change, but there is no content.

I changed the dede_ membership table. I deleted the old table directly and then rebuilt the table. The previous registered membership data is gone. Now try to restore the previous database, and then restore the previous data, without the need for a new method. In this way, with the member information, the article information sent by those members will naturally have.

Thank you for reading! On how to solve the problem of reading additional information in some articles of Weaving Dream dedecms is shared here. I hope the above content can be helpful to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report