2017-06-21 39 views
1

失踪我安装Drupal 7的,但是,一个错误信息显示:的Drupal 7:用户警告:以下模块从文件系统

User warning: The following module is missing from the file system: ajaxblocks. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1138 of /projet/site-prestashop-tma/includes/bootstrap.inc). 
User warning: The following module is missing from the file system: menu_clone. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1138 of /projet/site-prestashop-tma/includes/bootstrap.inc). 
User warning: The following module is missing from the file system: prestashop_blog_feed. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1138 of /projet/site-prestashop-tma/includes/bootstrap.inc). 
User warning: The following module is missing from the file system: ps_search. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1138 of /projet/site-prestashop-tma/includes/bootstrap.inc). 
User warning: The following module is missing from the file system: ps_showcases_screenshots. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1138 of /projet/site-prestashop-tma/includes/bootstrap.inc). 
User warning: The following module is missing from the file system: ps_wp_fix_date. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1138 of /projet/site-prestashop-tma/includes/bootstrap.inc). 
User warning: The following module is missing from the file system: ps_youtube_filter. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1138 of /projet/site-prestashop-tma/includes/bootstrap.inc). 
User warning: The following module is missing from the file system: rabbit_hole. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1138 of /projet/site-prestashop-tma/includes/bootstrap.inc). 
User warning: The following module is missing from the file system: rh_file. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1138 of /projet/site-prestashop-tma/includes/bootstrap.inc). 
User warning: The following module is missing from the file system: rh_node. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1138 of /projet/site-prestashop-tma/includes/bootstrap.inc). 
User warning: The following module is missing from the file system: rh_taxonomy. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1138 of /projet/site-prestashop-tma/includes/bootstrap.inc). 
User warning: The following module is missing from the file system: rh_user. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1138 of /projet/site-prestashop-tma/includes/bootstrap.inc). 
User warning: The following module is missing from the file system: publication_date. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1138 of /projet/site-prestashop-tma/includes/bootstrap.inc). 
Notice: Use of undefined constant _IPB_COOKIE_PREFIX_ - assumed '_IPB_COOKIE_PREFIX_' in IPBUser::fetchMemberData() (line 10 of /projet/site-prestashop-tma/sites/all/modules/custom/ps_sso_ipb/class/IPBUser.php). 
Error: Call to undefined function menu_clone_load() in _menu_load_objects() (line 603 of /projet/site-prestashop-tma/includes/menu.inc). 

我阅读文档,但我不明白。

+0

完整的细节https://www.drupal.org/node/2487215 – Anurag

+0

您可以检查此页面您可以使用drush。如果您可以尝试运行drrew dre

回答

0

有两种方法可以解决这些错误。

  1. 将模块放回到位置并通过superadmin登录并禁用并卸载它们中的每一个。

OR(第2路需要适当的备份和MySQL的知识)

  • 更新系统表(删除包含你有像ajaxblocks警告模块列表中的所有行,menu_clone等等)。这必须在对数据库/站点进行适当备份后完成。
  • 您的查询将有所这种格式

    DELETE FROM system WHERE name like "ajaxblocks" or name like "menu_clone"; 
    

    的或条件可以根据模块,这些模块你得到警告的名单上有很多。

    +0

    2.不起作用 – weaveoftheride

    +0

    从系统表中删除后,您需要清除所有缓存。 –

    0

    我和站点有同样的错误,并且我在模块的路由表中查看了系统表中的DB。 因为你可以找到两条路线 /模块文件夹里面的模块 /网站/所有/模块/

    那你看的.module文件,并在我的情况下,文件扩展名是.modul,我改扩建和这个对我有用。

    0

    missing module可以派上用场。

    如果你到drush

    drush en -y missing_module 
    drush lmm # list missing modules 
    drush rmm # remove missing modules 
    
    +0

    这应该是被接受的答案。这对我有效。 – weaveoftheride

    +0

    是的,这个问题应该转移到drupal.stackexchange.com,它可以重新打开。 – guaka