在drupal中找不到页面错误

时间:2010-12-22 06:47:20

标签: drupal http-status-code-404

嗨,当我点击登录页面时,我的drupal网站“找不到页面”出现了一个奇怪的错误。我不知道为什么会出现这个错误。 请告诉我可能的结果。(这是错误仅在两页我的帐户页面和登录页面,其他页面正常工作)。

3 个答案:

答案 0 :(得分:2)

要尝试的事情:

  1. 通过加载admin / build / modules
  2. 重建菜单
  3. 通过admin / settings / performance
  4. 清除缓存
  5. 重建权限admin / content / node-settings
  6. 除非你有某种高级设置(memcache,authcache,varnish,那种东西),否则其中一种应该可以解决问题。

答案 1 :(得分:1)

我有一个类似的问题会说

在此服务器上找不到

index.php

原来我的.htaccess文件没有配置为从子目录中提供drupal。只有webroot。

这个帖子有帮助:

http://drupal.org/node/1585672?mode=2&sort=2

基本上我只需要在.htaccess文件上编辑RewriteBase以包含我的子目录的值。

例如,如果我从这里服务drupal:

http://example.com/drupal/

然后我必须将.htaccess文件中的RewriteBase值更改为:

RewriteBase /drupal

答案 2 :(得分:0)

一开始,我想澄清我使用localhost来支持Drupal。

racl101 实际上给出了正确的答案。在这里,我根据 racl101 给出的内容提出了我的具体解决方案:

转到.htaccess

sudo nano .htaccess

RewriteBase中查找.htaccess(因为我的drupal网址为localhost/~MyName/drupal/

我取消注释RewriteBase并将其更改为RewriteBase /~MyName/drupal/

然后它有效。 祝你好运!