Drupal 渲染不完整视图
我被任命对最近迁移的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
奇怪的是,其他人在答案中给了我一个链接,这导致我解决了问题,但是当我回来给他信用时,他的答案被删除了。基本上我去了这里:
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