欢迎各位兄弟 发布技术文章
这里的技术是共享的
If you are receiving these messages, then you should use this module to help you:
The following module is missing from the file system: MODULE NAME. In order to fix this, put the module back in its original location. For more information, see the documentation page.
OR
User warning: The following module is missing from the file system: MODULE NAME. In order to fix this, put the module back in its original location. For more information, see the the documentation page. in _drupal_trigger_error_with_delayed_logging()
After you select the modules on the config page, it will go through and remove the "ghost records" from the system table. Also see https://www.drupal.org/node/2487215 for more information
Enable the module
make sure you have the permission Administer Module Missing Message Fixer
Go to: admin/config/system/module-missing-message-fixer
drush en module_missing_message_fixer
drush module-missing-message-fixer-list
OR drush mmmfl
. This will generate a list of missing modules
drush module-missing-message-fixer-fix machine_name_of_module (or --all)
OR drush mmmff machine_name_of_module (or --all)
. This will fix the missing modules entities
I made this module real quick in the response to the epic levels of sadness that happened when you upgrade to 7.50. Some people didn't want to run SQL commands directly so enjoy this module.
Note:
If you are stuck on an old version of Drush (5.x and below).
If this module is enabled and you try to run any drush commands, you may get: Unknown engine type outputformat. I would recommend updating your drush or using the GUI version of this module and disabling the module.
Fixed in Version 1.3!
Similar modules: missing module
Warning: Many modules do important cleanup tasks during the disable/uninstall process, and this solution will result in those being skipped. If at all possible, restore the missing module and uninstall it using the regular uninstall process. For more information, see https://www.drupal.org/node/2487215.
Maintenance fixes only
Considered feature-complete by its maintainers.
Module categories: Administration, Utility
51,607 sites report using this module
159,982 downloads
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Development version: 7.x-1.x-dev updated 25 Jul 2017 at 21:04 UTC View all releases
来自 https://www.drupal.org/project/module_missing_message_fixer