简体   繁体   English

所有drupal 7 / user / * / * URL都会生成空白页。 任何可能的解决方案?

[英]all drupal 7 /user/*/* URLs produce blank pages. any possible solution?

For some reason, after the site was being attacked by a malware, all URLs starting with /user/* , including /user and /user/*/edit , would redirect to some advertisement page. 出于某种原因,在网站受到恶意软件攻击后,所有以/user/*开头的URL(包括/user/user/*/edit )都将重定向到某个广告页面。 now they are returning a blank page. 现在他们正在返回空白页。 I have tried enabling error reports display but nothing shows up on the screen — Just WSOD. 我尝试启用错误报告显示,但屏幕上什么都没有显示-仅WSOD。 I get File does not exist: /var/www/user though on the apache error log. 我得到File does not exist: /var/www/user虽然在Apache错误日志上。

Maybe I can do a mod rewrite directly on .htaccess to target /user/ URLs? 也许我可以直接在.htaccess上对目标/user/ URL进行mod重写?

What is Drupal saying in the log? Drupal在日志中怎么说?

You can enable the dblog module via drush and then print the logs: 您可以通过drush启用dblog模块,然后打印日志:

drush @site pm-enable dblog drush @site pm-启用dblog

drush @site ws 匆匆@site ws

*please replace "@site" with your value *请用您的值替换“ @site”

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

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