继续Drupal分享精神 QQ群:107748121 站长QQ:532116351【drupal交流+drupal 建站+theme制作】
登录 注册

遇到"The requested page could not be found. "问题

刚刚开始用Drupal,服务器安装的Drupal6.14英文版。现在无法使用“administer”下的任何功能,统统报错“The requested page could not be found”。服务器配置如下:

# 总空间:550M
# 网页空间:500M
# 数据库空间:50M MYSQL数据库
# 支持CGI、PREL、PHP3、PHP4,FreeBSD操作系统
# 流量限制:20G/月——查看超流量处理规则
# WEB连接数: 200
# 数据库连接数 :20
# 文件数:50000个
# 主机硬件环境:intel双核至强CPU,4G内存,500G企业级SATA硬盘
# 机房环境:千兆光纤接入,百兆独享宽带
# 网络安全:7×24小时全网监控系统,千兆防火墙系统、防攻击设备
# 机房:多线接入

尽请指教!

有可能和主机有关系。你的首页可以访问吗? 刚才帮你找了一下

有可能和主机有关系。你的首页可以访问吗?你没装其他模块吧?是装好以后就访问不了,还是在装其他模块以后访问不了?
刚才帮你找了一下
1.
http://drupal.org/node/593748

“I got the problem solved. It was a problem with my hosting. A mod_security rule was being triggered and they added an exception for it.”

2。 你再update.php 更新一下,然后选择更新的模块。

问题已经解决!

是网站基本已经搭好的时候出现的问题, 前台页面都能访问,就是adminster以下的所有页面均不能访问。我在“http://blog.riff.org/2007_08_19_when_drupal_6_x_dev_always_returns_page_not_found_pages_can_still_be_found”找到了答案:
把以下代码加在安装根目录下的index.php的最后面:

<?php
// [...]
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);

menu_rebuild(); // use just once
die();          // use just once

$return = menu_execute_active_handler();
// [...]
?>

然后通过浏览器访问一次index.php,后台功能就成功恢复了。记住成功后把添加的代码删掉。具体技术分析请看上面的链接,我只会用。

谢谢楼上的热心帮助!

谢谢你的分享,重建菜单。

谢谢你的分享,重建菜单。

发表新评论

此内容将保密,不会被其他人看见。
  • 自动将网址与电子邮件地址转变为链接。
  • 自动断行和分段。
  • You can use BBCode tags in the text.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

更多关於格式化选项的信息

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.