English (unofficial) translations of posts at kexue.fm
Source

BLOG Comment Malfunction Fixed, Some Data Lost

Translated by DeepSeek V4 Pro. Translations can be inaccurate, please refer to the original post for important stuff.

Early this morning, while I was enthusiastically publishing logs, I discovered that the comments were no longer working and the sidebar was also malfunctioning.

As shown below:

Subsequently, I tried updating the cache, reinstalling, and switching hosting environments, but none of these resolved the issue.

So I had to seek help from the official website, only to discover that simply deleting cookies would fix it (what a shame, it caused me to lose data).

To solve this once and for all, I made the following modifications:

Solution:

Open class/cls_article.asp and find:

Ts_Content = Split(Split(Split(Ts, "|-|")(1), "|\$|")(1), "|+|")(0)

Change it to:

Ts_Content = Split(Split(Split(Ts, "|-|")(1), "|\$|")(0), "|+|")(0)

I have tested it, and deleting this line has no impact.

Please include the address of this article when reposting: https://kexue.fm/archives/31

For more detailed reposting matters, please refer to: Scientific Space FAQ