通过 Drush up 命令更新了 Drupal。现在我遇到了服务器 500 错误
我的本地计算机上安装了 Drupal。运行 Drush up 命令来更新核心文件。现在我刚刚收到服务器 500 错误。在我运行 drush up 之前,我的 drupal 安装文件夹权限看起来像这样:
drwxr-xr-x 27 uName staff 918 ...
运行 drush up 后,它们看起来像这样:
drwxr-xr-x 29 uName staff 986 ....
我承认我对 chmod/chown 或如何解决这个问题不是很熟悉,但我确信它有一些东西处理文件夹/文件权限。任何帮助将不胜感激。
I have a Drupal install on my local machine. Ran Drush up command to update the core files. Now I just get a Server 500 error. Before I ran drush up, my drupal installation folders permissions looked like:
drwxr-xr-x 27 uName staff 918 ...
After running drush up, they look like this:
drwxr-xr-x 29 uName staff 986 ....
I admit I am not extremely familiar with chmod/chown or how to fix this issue, but I am sure it has something to do with the folder/file permissions. Any help would be greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有趣的。可以尝试一些事情:
更新,可能有一些延迟
TRUNCATE TABLE cache
MySQL 查询,并对所有其他重复名称以
cache_
开头的表system
表中的贡献模块(将status
列设置为 0),并在每次之后再次访问该站点;这样您就可以缩小现在导致问题的恶意贡献模块的范围。让我知道你是如何处理的,如果都不起作用,你可能可以尝试更多的事情。
Interesting. A few things to try:
the updates, it's possible there are some lingering
TRUNCATE TABLE cache
MySQL query, and repeat for all othertables whose name begin with
cache_
system
table (settingstatus
column to 0) and visiting the site again after each; that way you might be able to narrow down a rogue contributed module that is now causing a problem.Let me know how you get on with that, if none of it works there might be more things you can try.