Drupal,在哪里可以找到有关当前活动主题的信息?

发布于 2024-09-08 11:49:24 字数 116 浏览 0 评论 0原文

请建议:drupal 在哪里存储有关当前活动主题的信息?哪张桌子?

我升级了 Drupal,当我进入管理区域时,出现白屏死机。恕我直言,自定义主题导致了这个问题,有人可以帮助我吗?

问候

Please advice: where drupal stores info about current active themes? Which table?

I upgraded Drupal, and when I enter admin area I have white screen of death. IMHO custom theme is causing that issue, could somebody help me?

Regards

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

书信已泛黄 2024-09-15 11:49:24

Drupal 站点全局设置的当前主题保存在变量 theme_default 中。如果允许用户更改主题,他们选择的主题将保存在 users 表中;在这种情况下,如果您选择的主题与帐户的默认主题不同,则需要直接在数据库中更改帐户的用户数据。

看了你在其他答案中的回复,我想知道问题是否真的是主题。为了确定它是主题,您应该尝试设置另一个主题。

如果您设置的管理主题不是站点使用的默认主题,并且问题出在管理主题上,您可以在数据库中禁用它;这样,该主题将不再用作管理主题,而是将使用默认主题。包含为站点启用的主题的数据库表是 system。

The current theme globally set a Drupal site is saved in the variable theme_default. If users are then allowed to change theme, the theme they chose is saved in the users table; in that case, if you have selected a theme that is different from the default one for your account, you need to change the user data for your account directly in the database.

Looking at the reply you have given in the other answers, I wonder if the problem is really the theme. To be sure it is the theme, you should try setting another theme.

If you set a admin theme that is not the default theme used for the site, and the problem is the admin theme, you can disable it in the database; in that way, that theme is not anymore used as admin theme, and the default theme will be instead used. The database table containing the theme enabled for the site is system.

享受孤独 2024-09-15 11:49:24

如果您认为问题是由自定义主题引起的,您可以将其从主题或sites/all/themes 目录中移出。

If you think the problem is being caused by a custom theme, you can just move it out from the themes or sites/all/themes directory.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文