我安装了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 :(得分:1)
missing module可以派上用场。
如果您进入drush:
drush en -y missing_module
drush lmm # list missing modules
drush rmm # remove missing modules
答案 1 :(得分:0)
有两种方法可以解决这些错误。
OR(第二种方式需要适当的备份和mysql知识)
您的查询将采用此格式
DELETE FROM system WHERE name like "ajaxblocks" or name like "menu_clone";
根据您收到警告的模块列表,条件可以很多。
答案 2 :(得分:0)
我对一个站点有同样的错误,我在系统表中的DB上查看模块的路径。 因为你可以在两个路径中找到文件夹模块 /模块 /位点/所有/模块/
然后你查看.module文件,在我的例子中,文件扩展名为.modul,我更改了扩展名,它对我有用。