尽管完整安装了drupal 7.59,但当我执行命令drush cc all
时,仍显示此消息:No Drupal site found, only 'drush' cache was cleared.
,即使我已经在自己的站点中安装了自定义模块,也可以在以下位置使用我的drupal站点localhost/my_site/
在浏览器中,它没有重新标记为Drupal site
!
我的主要问题是模块已正确安装,但未在数据库中创建sql表,并且drush clear cache命令无济于事。
任何人都可以帮助我,哪里出了问题,为什么会这样?
谢谢!
答案 0 :(得分:0)
99%确保路径变量错误。请检查https://www.drupal.org/forum/support/post-installation/2014-05-14/drush-no-drupal-site-found-only-drush-cache-was-cleared
我不确定您使用的是哪个操作系统。检查mysql的路径和端口