Home > Backend Development > PHP Tutorial > The specified URL cannot be found.解决方法

The specified URL cannot be found.解决方法

WBOY
Release: 2016-06-13 13:32:02
Original
2623 people have browsed it

The specified URL cannot be found.
PHP页面test.php是个上传页面 能够直接打开 但是接受上传就提示The specified URL cannot be found. 代码绝对没有错误!
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的访问日志。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template