【问题标题】:Drupal 7. "User warning: The following module is missing from the file system: common."Drupal 7.“用户警告:文件系统中缺少以下模块:常见。”
【发布时间】:2018-11-01 08:05:14
【问题描述】:

当我将 Drupal 网站从 7.44 更新到 7.50 时,我现在收到以下警告:

User warning: The following module is missing from the file system: common. In order to fix this, put the module back in its original location. For more information, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1128 of /home/system/public_html/includes/bootstrap.inc).

这是众所周知的警告,并在此处描述 https://www.drupal.org/node/2487215

但问题是没有任何方法没有帮助:

  • 数据库的system表中没有对该模块的引用;
  • Module Missing Message Fixer 之类的模块看不到;
  • Drush 也没有看到。

数据库更新,每次更新完成后清除缓存。

我还尝试在文件夹中的.info.module 文件中查找引用,但没有成功。

【问题讨论】:

    标签: drupal-7


    【解决方案1】:

    您是否尝试过在升级drupal 版本后更新数据库。 请执行 /update.php 它将更新您的数据库,它可能会解决您的错误。

    【讨论】:

    • 是的,当然,还清除缓存,甚至使用 drush 重建注册表。
    【解决方案2】:

    您可以尝试将丢失的模块恢复到文件系统吗?

    【讨论】:

    • 没有这样的模块,我假设它在以前的一些版本中是核心模块,但在7.44和7.50中不存在。不知道去哪里找。
    • 参考这个链接,如果你知道模块名称,你可以使用mysql查询禁用它。 drupal.org/node/157632。同时清除缓存。
    • 没什么帮助。 system表中没有name='common',彻底清除cache_bootstrap,重建注册表,清除缓存。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-11-06
    • 1970-01-01
    • 2016-01-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多