简体   繁体   English

无法登录Drupal 6网站

[英]Can't log in to Drupal 6 site

I am developing a custom theme for our Drupal based website, and I needed to log out to check on the look of the site for an anonymous user. 我正在为基于Drupal的网站开发自定义主题,我需要注销以查看匿名用户的网站外观。

Once I logged out, I could not log back in. I tried several admin accounts, on several computers, and none of them worked. 注销后,我无法重新登录。我在多台计算机上尝试了多个管理员帐户,但没有一个起作用。

Thankfully, my laptop loads the website logged in as admin. 幸运的是,我的笔记本电脑加载了以admin登录的网站。 From there, I can clear the cache (as well as with drush), and I can see the server logs as well. 从那里,我可以清除缓存(以及使用drush),也可以看到服务器日志。

Interestingly enough, when I attempt to log in as a user, the logs show that a session has been opened for that person, but the browser on the user side just refreshes back to the home page and does not log the person in. 有趣的是,当我尝试以用户身份登录时,日志显示该人已经打开了会话,但是用户端的浏览器只是刷新回到主页,而没有登录该人。

My admin skin is set to Bluemarine, so unfortunately that isn't the issue. 我的管理员皮肤设置为Bluemarine,所以不幸的是这不是问题。 I also changed the sites theme to Garland, and I still have no luck logging in with any other login or computer. 我也将站点主题更改为Garland,但仍然无法通过其他任何登录名或计算机登录。

I am thinking my next step will be to revert to an earlier version. 我认为我的下一步将是恢复到较早的版本。 Although, it would be great to find out what I did to break it so I don't do it again. 虽然,很高兴找出我做了什么来打破它,所以我不再做。

尝试浏览到http://您的域/用户 ,它将带您进入登录页面。

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

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