当前位置:Gxlcms > PHP教程 > ThespecifiedURLcannotbefound.解决方法

ThespecifiedURLcannotbefound.解决方法

时间:2021-07-01 10:21:17 帮助过:56人阅读

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的访问日志。

人气教程排行