# 用户登录账户后出现白色空白屏幕

**URL:** <https://meta.discourse.org/t/white-blank-screen-after-user-logging-into-his-account/172127>\
**Category:** Support\
**Created:** [2020年十二月3日 15:14 UTC](https://meta.discourse.org/t/white-blank-screen-after-user-logging-into-his-account/172127 "2020-12-03T15:14:51Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![TheBaby5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thebaby5/32/178897_2.png) [@TheBaby5](https://meta.discourse.org/u/TheBaby5)\
**Post date:** [2020年十二月9日 19:25 UTC](https://meta.discourse.org/t/white-blank-screen-after-user-logging-into-his-account/172127/21 "2020-12-09T19:25:02Z")

</div>

感谢您的回复，以下是日志。

## 错误

 ![image](https://global.discourse-cdn.com/meta/original/3X/e/2/e2b18fff4385cd68d705a0c90ae66505d3fa3f76.png)

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2020年十二月9日 23:41 UTC](https://meta.discourse.org/t/white-blank-screen-after-user-logging-into-his-account/172127/22 "2020-12-09T23:41:41Z")

</div>

受影响的用户可以按 `<kbd>F12</kbd>` 在浏览器中打开控制台，查看他们遇到的本地错误，这可能有助于排查问题。

---

<div class="post-metadata">

**Author:** ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)\
**Post date:** [2020年十二月10日 01:37 UTC](https://meta.discourse.org/t/white-blank-screen-after-user-logging-into-his-account/172127/23 "2020-12-10T01:37:31Z")

</div>

该用户的 Discourse 甚至无法启动。这表明可能存在网络或身份验证问题。

由于您在模拟该用户时看到了相同的错误，我们可以排除网络问题。

> [@TheBaby5](#):
>
> ![image](https://global.discourse-cdn.com/meta/original/3X/e/2/e2b18fff4385cd68d705a0c90ae66505d3fa3f76.png)

您的日志中存在一些 CSRF 错误，因此这可能是一个值得检查的地方。该用户是否关联了 Facebook 或 Google 账户？您可以通过访问以下地址进行检查：

`your.site.com/u/USERNAME/preferences/account`

如果已关联，能否取消关联这些账户，然后查看问题是否仍然存在？

---

<div class="post-metadata">

**Author:** ![TheBaby5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thebaby5/32/178897_2.png) [@TheBaby5](https://meta.discourse.org/u/TheBaby5)\
**Post date:** [2020年十二月10日 08:06 UTC](https://meta.discourse.org/t/white-blank-screen-after-user-logging-into-his-account/172127/24 "2020-12-10T08:06:27Z")

</div>

@codinghorror 在模拟用户账户后，我在按 F12 打开控制台日志时遇到了以下错误：

 ![image](https://global.discourse-cdn.com/meta/original/3X/7/2/72c34a9812a28cd0a50166e8176ba79dd3efbd76.png)

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/6/961365813425620ad5f313c908867f72e36ce612.png)

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/6/5661aa549e52cb44e0343a01a73e2adce33ae2c1.png)

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/a/9afa33e3ac14ae6f79cc34a0e30833c37121defd.png)

在我登录用户账户，然后以管理员身份登录后，我尝试访问 [website.com/logs。](http://website.com/logs%E3%80%82)

结果如下：

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/7/17946cdc2b567fdf432e254f3c3c95b5e1043168.png)

* * *

@Johani 我尝试了取消关联 Google 账户，但系统要求至少保留一个账户，无法全部移除。我可以更改关联的电子邮件地址，或者添加另一个账户作为主账户并移除之前的账户。因此，我手动更改了电子邮件地址并进行了测试，但空白白屏问题仍然存在。

---

<div class="post-metadata">

**Author:** ![TheBaby5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thebaby5/32/178897_2.png) [@TheBaby5](https://meta.discourse.org/u/TheBaby5)\
**Post date:** [2020年十二月12日 15:23 UTC](https://meta.discourse.org/t/white-blank-screen-after-user-logging-into-his-account/172127/25 "2020-12-12T15:23:17Z")

</div>

@Johani @codinghorror 有什么头绪吗？我已附上日志。

---

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [2020年十二月15日 20:08 UTC](https://meta.discourse.org/t/white-blank-screen-after-user-logging-into-his-account/172127/26 "2020-12-15T20:08:12Z")

</div>

不幸的是，我在那里只看到了一堆来自广告脚本的错误。

[上一頁](https://meta.discourse.org/t/white-blank-screen-after-user-logging-into-his-account/172127.md?page=1)
