简体   繁体   English

Drupal 7,下载到本地计算机后无法登录

[英]Drupal 7, can't login after downloading to local machine

I downloaded a Drupal 7 site from a production server, and now I am trying to set it up on my laptop. 我从生产服务器上下载了Drupal 7网站,现在我正尝试在笔记本电脑上进行设置。 Not only does /user/login not work, /?q=user doesn't direct me to the user login screen either. / user / login不仅不起作用,/?q = user也无法将我定向到用户登录屏幕。 I get a 'page not found' error. 我收到“找不到页面”错误。 Anyone ever run into this issue? 有人遇到过这个问题吗? I am using WAMPserver 3.1.3. 我正在使用WAMPserver 3.1.3。

1.Is it MOD_REWRITE MODULE turned on on you Apache? 1.是否在您的Apache上打开了MOD_REWRITE MODULE? 2.The second thing I would check is .htaccess just download a default one to be sure> https://github.com/drupal/drupal/blob/7.x/.htaccess 2.我要检查的第二件事是.htaccess,只需下载一个默认文件即可确保> https://github.com/drupal/drupal/blob/7.x/.htaccess

Turns out that I was being redirected to the 'https' login site instead of the 'http' one. 原来我被重定向到“ https”登录站点,而不是“ http”登录站点。 Just had to delete the 'securelogin' and 'securepages' modules from the /sites/all/modules folder. 只需从/ sites / all / modules文件夹中删除“ securelogin”和“ securepages”模块即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM