Drupal 渲染不完整视图

发布于 2024-10-11 23:36:48 字数 299 浏览 2 评论 0原文

我被任命对最近迁移的 Drupal 站点进行一些快速维护。我对 Drupal 还很陌生,所以希望更有经验的人能够快速解决这个问题。

行为如下。据我所知,公共内容运行良好。当我登录时,登录表单会正确呈现,但是当我使用我的凭据发布表单时,我会返回一个空白页面(不是 404;看起来像 /user URL 的 200,但所有呈现的都是空的 Head 和 Body 标签)。如果我刷新页面,我会得到我的个人资料视图的内容,但不会得到网站的 chrome 或 CSS。请注意,这在迁移的网站上不是问题,因此似乎某些内容未正确复制。该网站不是公开的,因此我无法提供 URL,抱歉!

I got tapped to do some quick maintenance on a recently migrated Drupal site. I'm pretty new to Drupal, so hopefully the problem is something that more experienced guys will figure out quick.

Behavior is as follows. The public content works fine as far as I can tell. When I go to login, the login form renders correctly, but when I post the form w/ my credentials, I get back a blank page (not a 404; looks like a 200 to the /user URL, but all the gets rendered is empty Head and body tags). If i refresh the page, I get the content of my profile view, but none of the site chrome or CSS. Note that this is not an issue on the site it was migrated from, so it seems like something wasn't copied over correctly. The site's not public, so I can't provide a URL, sorry!

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

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

发布评论

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

评论(1

晨曦慕雪 2024-10-18 23:36:48

奇怪的是,其他人在答案中给了我一个链接,这导致我解决了问题,但是当我回来给他信用时,他的答案被删除了。基本上我去了这里:

http://drupal.org/node/158043

要了解如何启用错误报告,然后发现这是 PHP 版本处理日期函数的问题:

http://drupal .org/node/201470

Weird, some other guy gave me a link in an answer, which led to me solving the problem, but when I came back to give him credit, his answer was deleted. Basically I went here:

http://drupal.org/node/158043

To find out how to enable error reporting, then found out it was a problem w/ the PHP version's handling of a date function from here:

http://drupal.org/node/201470

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