# 我的 /faq 没有正常工作

**URL:** https://meta.discourse.org/t/my-faq-doesnt-working-correctly/329576
**Category:** Support
**Created:** [2024年十月6日 18:44 UTC](https://meta.discourse.org/t/my-faq-doesnt-working-correctly/329576 "2024-10-06T18:44:31Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![eisammy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eisammy/32/528804_2.png) [@eisammy](https://meta.discourse.org/u/eisammy)
#### Post date: [2024年十月6日 18:44 UTC](https://meta.discourse.org/t/my-faq-doesnt-working-correctly/329576/1 "2024-10-06T18:44:31Z")

</div>

我做错了什么，删除了一个带有命令的日志类别，结果是这样的？为什么我无法编辑此页面，并且当我刷新时 /faq 返回“糟糕！页面”

 ![image](https://global.discourse-cdn.com/meta/original/4X/7/0/4/7043f632d5da52a11180ab3009a8591a6b3ae7d0.png)

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [2024年十月6日 21:20 UTC](https://meta.discourse.org/t/my-faq-doesnt-working-correctly/329576/2 "2024-10-06T21:20:00Z")

</div>

您是否尝试过在“员工类别”中进行编辑？

 ![图片显示了一个社交媒体平台的屏幕截图，其中有一个帖子要求就特定主题进行文明讨论。(由人工智能加字幕)](https://global.discourse-cdn.com/meta/original/4X/3/3/f/33f2649a6b8223a0d6ca7c905469b658d6def0f5.png)

---

<div class="post-metadata">

### Author: ![eisammy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eisammy/32/528804_2.png) [@eisammy](https://meta.discourse.org/u/eisammy)
#### Post date: [2024年十月7日 14:04 UTC](https://meta.discourse.org/t/my-faq-doesnt-working-correctly/329576/3 "2024-10-07T14:04:37Z")

</div>

主题已不存在，如何恢复？

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2024年十月7日 14:15 UTC](https://meta.discourse.org/t/my-faq-doesnt-working-correctly/329576/4 "2024-10-07T14:15:31Z")

</div>

> [@How to regenerate FAQ and TOS pages?](https://meta.discourse.org/t/how-to-regenerate-faq-and-tos-pages/110625/2?u=moin):
>
> Interesting. How did you manage to delete those topics? You shouldn’t be allowed to delete them in the UI. First, let’s see if the topics are really gone. ./launcher enter app rails c Topic.with\_deleted.exists?(SiteSetting.guidelines\_topic\_id) Topic.with\_deleted.exists?(SiteSetting.tos\_topic\_id) If the topics are really gone, create two new topics in the Staff category and assign the topic ids in the rails console to the site settings. SiteSetting.guidelines\_topic\_id = 4711 # replace with t…

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [2024年十月7日 14:22 UTC](https://meta.discourse.org/t/my-faq-doesnt-working-correctly/329576/5 "2024-10-07T14:22:06Z")

</div>

> [@eisammy](#):
>
> 主题已不存在，如何恢复？

这就是为什么你无法编辑的原因。@Moin 已发布链接以协助恢复该主题。关于页面中的每个部分都是一个主题，可能“关于”标题除外。

---

<div class="post-metadata">

### Author: ![eisammy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eisammy/32/528804_2.png) [@eisammy](https://meta.discourse.org/u/eisammy)
#### Post date: [2024年十月7日 15:35 UTC](https://meta.discourse.org/t/my-faq-doesnt-working-correctly/329576/6 "2024-10-07T15:35:57Z")

</div>

谢谢大家，我的常见问题解答现在可以正常工作了。

---

<div class="post-metadata">

### Author: ![lindsey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lindsey/32/318210_2.png) [@lindsey](https://meta.discourse.org/u/lindsey)
#### Post date: [2024年十月9日 12:00 UTC](https://meta.discourse.org/t/my-faq-doesnt-working-correctly/329576/7 "2024-10-09T12:00:47Z")

</div>

此主题已在 44 小时后自动关闭。不再允许回复。
