如何修复可用于我的 Drupal 版本的安全更新的错误消息问题? [英] How to fix an error message issue of security update available for my version of Drupal?

查看:36
本文介绍了如何修复可用于我的 Drupal 版本的安全更新的错误消息问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在 Drupal 管理面板上看到此错误消息.

I can see this error message on Drupal admin panel.

有一个适用于您的 Drupal 版本的安全更新.到确保您的服务器安全,您应该立即更新!看可用更新页面了解更多信息并安装您的缺少更新.有一个或多个可用的安全更新您的模块或主题.为确保您的服务器的安全,您应该马上更新!查看可用更新页面了解更多信息信息并安装您丢失的更新.

There is a security update available for your version of Drupal. To ensure the security of your server, you should update immediately! See the available updates page for more information and to install your missing updates. There are security updates available for one or more of your modules or themes. To ensure the security of your server, you should update immediately! See the available updates page for more information and to install your missing updates.

我尝试在此页面上不显示错误消息,主页 » 管理 » 配置 » 开发

I tried to no display error message on this page, Home » Administration » Configuration » Development

但我现在看到这个错误信息.这是版本更新的问题吗?它启用,请帮助我.谢谢

But I see this error message now. Is this a version update issue? It enables, please help me. Thanks

推荐答案

该消息由更新模块显示.据我所知,没有配置可以禁用此消息.它仅显示给具有 administer site configuration 权限的用户.

The message is shown by the update module. For what I know there are no configuration to disable this message. It is shown just for the users with the administer site configuration permission.

我认为唯一的解决方案是禁用更新模块.如果您使用 drush,您可以:

I think the only solution is to disable the update module. If you use drush you can do:

drush pm-disable -y update

通常在开发环境中我一直启用更新模块,而在生产环境中禁用它.

Usually in the development enviroment I keep enable the update module and I disable it in the production enviroment.

这篇关于如何修复可用于我的 Drupal 版本的安全更新的错误消息问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆