首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > PHP >

The specified URL cannot be found.解决方法

2012-05-12 
The specified URL cannot be found.PHP页面test.php是个上传页面能够直接打开 但是接受上传就提示The spe

The specified URL cannot be found.
PHP页面test.php是个上传页面 能够直接打开 但是接受上传就提示The specified URL cannot be found. 代码绝对没有错误!
<?php
require_once dirname(__FILE__).'/config.php';
require_once ROOT.'checklogin.php'; //检查登陆状态
if (isset($_FILES['file'])){
  echo 5;exit;
}else{
  require_once ROOT.'templates/upload.htm';
}
.
服务器部署是 服务器a和b 做了负载均衡 同时test.php 做了linux软链接到另外物理机的硬盘上 为什么能直接打开test.php 却不能POST呢?.. 服务器WEBSERVER用的是NGINX 不知道哪里出问题了 纠结 ...

[解决办法]
打开错误显示功能。包含路径是否正确。
[解决办法]
The specified URL cannot be found
是php反馈回信息说这个要执行的php页面没有找到。核对路径,另外可以查看一下php的 log/www.access.log 和nginx的访问日志。

热点排行