当前位置:论坛首页 > Linux面板 > 求助

【已解决】网站无法配置404页

发表在 Linux面板2023-7-2 07:51 [复制链接] 2 2047

在8.0版本前,网站配置可以正常修改,更新到8.0版本后,无法对网站配置文件进行更改,404页面配置出错


为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:

下载.png
系统版本:CentOS 7.6.1810


问题描述:

在默认配置中,更改404无法保存,导致404页面无法设置
相关截图(日志、错误):错误截图如下 iVBORw0KGgoAAA.png fnJ20S6CU09AI9.png

使用道具 举报 只看该作者 回复
发表于 2023-7-2 07:58:04 | 显示全部楼层
本帖最后由 iyutai 于 2023-7-2 14:06 编辑

错误日志

2023/06/30 08:18:56
[错误] 22356#0: *10231 FastCGI
在 stderr 中发送:“PHP 消息:PHP 解析错误:语法错误,意外的'?',期望从上游读取响应标头时,/data/wwwroot/xxx/zb_users/theme/ydnews/template/409.php 中的文件结束,

客户端:207.180.205.113,
服务器:www.xxx.net,
请求:”GET /backup/ HTTP/1.1“,
上游:”fastcgi://unix:/tmp/php-cgi-70.sock:“,
主机: ”www.xxx.net“


2023/06/30 08:18:56
[错误] 22356#0: *10231 FastCGI 在 stderr 中发送:”PHP 消息:PHP 解析错误:语法错误,意外的'?',期望从上游读取响应标头时,第 1 行的/data/wwwroot/xxx/zb_users/theme/ydnews/template/404.php 中的文件结束“,

客户端:207.180.205.113,
服务器:www.xxx.net,
请求:”GET /temp/ HTTP/1.1“,  
上游:“fastcgi://unix:/tmp/php-cgi-70.sock:”,
主机:“www.xxx.net”


2023/06/30 08:34:05
[错误] 22356#0:*10267 FastCGI 在 stderr 中发送:“PHP 消息:PHP 解析错误:语法错误,意外的'?',期望 /data/wwwroot/xxx/zb_users/theme/ydnews/template/404 中的文件结束.php在第 1 行”,同时从上游读取响应标头,

客户端:176.53.221.7,
服务器:www.xxx.net,
请求:“GET /favicon.ico HTTP/1.1”,
上游:“fastcgi://unix:/tmp/php-cgi-70.sock:”,
主机:“www.xxx.net”


2023/06/30 10:43:09
[错误] 22356#0:*10460 FastCGI 在 stderr 中发送:“PHP 消息:PHP 解析错误:语法错误,意外的'?',期望 /data/wwwroot/xxx/zb_users/theme/ydnews/template/404 中的文件结束.php在第 1 行”,同时从上游读取响应标头,
客户端:66.249.66.15,
服务器:www.xxx.net,
请求:“GET /ads.txt HTTP/1.1”,
上游:“fastcgi://unix:/tmp/php-cgi-70.sock:”,
主机:“www.xxx.net”


2023/06/30 12:59:50
[错误] 22356#0:*10618 FastCGI 在 stderr 中发送:“PHP 消息:PHP 解析错误:语法错误,意外的'?',期望 /data/wwwroot/xxx/zb_users/theme/ydnews/template/404 中的文件结束.php在第 1 行”,同时从上游读取响应标头,
客户端:47.88.94.28,
服务器:www.xxx.net,
请求:“获取/公共/home/js/check.js HTTP/1.1”,
上游:“fastcgi://unix:/tmp/php-cgi-70.sock:”,
主机:“www.xxx.net”


2023/06/30 12:59:52
[错误] 22356#0:*10621 FastCGI 在 stderr 中发送:“PHP 消息:PHP 解析错误:语法错误,意外的'?',期望 /data/wwwroot/xxx/zb_users/theme/ydnews/template/404 中的文件结束.php在第 1 行”,同时从上游读取响应标头,

客户端:47.89.193.162,
服务器:www.xxx.net,
请求:“GET /static/admin/javascript/hetong.js HTTP/1.1”,
上游:“fastcgi://unix:/tmp/php-cgi-70.sock:”,
主机:“www.xxx.net”


2023/06/30 13:34:56
[错误] 22356#0:*10655 FastCGI 在 stderr 中发送:“PHP 消息:PHP 解析错误:语法错误,意外的'?',期望 /data/wwwroot/xxx/zb_users/theme/ydnews/template/404 中的文件结束.php在第 1 行”,同时从上游读取响应标头,

客户端:47.88.94.161,
服务器:www.xxx.net,
请求:“GET /favicon.ico HTTP/1.1”,
上游:“fastcgi://unix:/tmp/php-cgi-70.sock:”,
主机:“www.xxx.net”,
引用:“https://www.xxx.net/”


2023/06/30 22:12:31
[错误] 22356#0:*11455 FastCGI 在 stderr 中发送:“PHP 消息:PHP 解析错误:语法错误,意外的'?',期望 /data/wwwroot/xxx/zb_users/theme/ydnews/template/404 中的文件结束.php在第 1 行”,同时读取 r来自上游的esponse标头,

客户端:199.115.231.35,
服务器:www.xxx.net,
请求:“GET /favicon.ico HTTP / 1.1”,
上游:“fastcgi://unix:/tmp/php-cgi-70.sock:”,
主机:“www.xxx.net”,
引用者:“http://www.xxx.net/index.php”


2023/06/30 23:52:46
[错误] 22356#0:*11619 FastCGI在stderr中发送:“PHP消息:PHP 解析错误:语法错误,意外的'?',期望在/data/wwwroot/xxx/zb_users/theme/ydnews/template/404中的文件结束.php第 1 行“,从上游读取响应标头时,

客户端:183.229.172.186,
服务器:www.xxx.net,
请求:”GET /favicon.ico HTTP/1.1“,
上游:”fastcgi://unix:/tmp/php-cgi-70.sock:“,
主机:”www.xxx.net“,
引用:”http://www.xxx.net/“


2023/07/01 00:46:48
[错误] 22356#0:*11687 FastCGI 在 stderr 中发送:”PHP 消息:PHP 解析错误:语法错误,意外的'?',期望 /data/wwwroot/xxx/zb_users/theme/ydnews/template/ 中的文件结束404.php 在第 1 行“,同时从上游读取响应标头,

客户端:27.111.82.74,
服务器:www.xxx.net,
请求:”GET /wp-login.php HTTP/1.1“,
上游:”fastcgi://unix:/tmp/php-cgi-70.sock:“,
主机:”www.xxx.net“


2023/07/01 03:13:28
[错误] 22356#0:*12255 FastCGI 在 stderr 中发送:”PHP 消息:PHP 解析错误:语法错误,意外的'?',期望在读取响应时在第 1 行 /data/wwwroot/xxx/zb_users/theme/ydnews/template/404 中的文件结束.php在第 1 行”来自上游的标头,

客户端:66.249.66.10,
服务器:www.xxx.net,
请求:“GET /ads.txt HTTP/1.1”,
上游:“fastcgi://unix:/tmp/php-cgi-70.sock:”,
主机:“www.xxx.net”

2023/07/01 08:50:10
[错误] 22356#0:*13847 FastCGI 发送了 stderr:“PHP 消息:PHP 解析错误:语法错误,意外的'?',期望 /data/wwwroot/xxx/zb_users/theme/ydnews/template/404 中的文件结束.php在第 1 行”,同时从上游读取响应标头,

客户端:89.104.100.236,
服务器:www.xxx.net,
请求:“GET /favicon.ico HTTP/1.1”,
上游:“fastcgi://unix:/tmp/php-cgi-70.sock:”,
主机:“www.xxx.net”

2023/07/01 10:13:30
[错误] 22356#0:*13969 FastCGI 发送了 stderr:“PHP 消息:PHP 解析错误:语法错误,意外的'?',期望 /data/wwwroot/xxx/zb_users/theme/ydnews/template/404 中的文件结束.php在第 1 行”,同时从上游读取响应标头,

客户端:66.249.66.166,
服务器:www.xxx.net,
请求:“GET /ads.txt HTTP/1.1”,
上游:“fastcgi://unix:/tmp/php-cgi-70.sock:”,
主机:“www.xxx.net”


2023/07/01 23:13:09
[ 22356#0:*15326 FastCGI 发送标准:“PHP 消息:PHP 解析错误:语法错误,意外的'?',期望 /data/wwwroot/xxx/zb_users/theme/ydnews/template/404 中的文件结束.php在第 1 行”,同时从上游读取响应标头,

客户端:183.229.172.186,
服务器:www.xxx.net,
请求:“GET /favicon.ico HTTP/1.1”,
上游:“fastcgi://unix:/tmp/php-cgi-70.sock:”,
主机:“www.xxx.net”,
引用:“http://www.xxx.net/index.php”


2023/07/02 01:21:17
[错误] 22356#0:*15543 FastCGI 在读取响应时发送了 stderr:“PHP 消息:PHP 解析错误:语法错误,意外的'?',期望 /data/wwwroot/xxx/zb_users/theme/ydnews/template/404 中的文件结束.php在第 1 行”,同时读取响应来自上游的标头,

客户端:183.229.172.186,
服务器:www.xxx.net,
请求:“GET /zb_users/theme/CmsDown/css/font-awesome.css?v=4.7 HTTP/2.0“,
上游:”fastcgi://unix:/tmp/php-cgi-70.sock:“,
主机:”www.xxx.net“


2023/07/02 01:21:18
[错误] 22356#0:*15543 FastCGI 在 stderr 中发送:”PHP 消息:PHP 解析错误:语法错误,意外的'?',期望 /data/wwwroot/xxx/zb_users/theme/ydnews/template/404.php 中的文件结束,同时从上游客户端读取响应标头: 183.229.172.186,

服务器:www.xxx.net,
请求:“GET /favicon.ico HTTP/2.0”,
上游:“fastcgi://unix:/tmp/php-cgi-70.sock:”,
主机:“www.xxx.net”,引用者:“https://www.xxx.net/zb_users/theme/CmsDown/css/font-awesome.css?v=4.7”


2023/07/02 02:43:41
[错误] 22356#0:*15676 FastCGI 在 stderr 中发送:“PHP 消息:PHP 解析错误:语法错误,意外的'?',期望 /data/wwwroot/xxx/zb_users/theme/ydnews/template/ 中的文件结束404.php 在第 1 行“,同时从上游读取响应标头,

客户端:66.249.66.11,
服务器:www.xxx.net,
请求:”GET /ads.txt HTTP/1.1“,
上游:”fastcgi://unix:/tmp/php-cgi-70.sock:“,
主机:”www.xxx.net“


2023/07/02 07:14:45
[错误 22356#0:*16071 FastCGI 在 stderr 中发送:”PHP 消息:PHP 解析错误:语法错误,意外的'?',期望 /data/wwwroot/xxx/zb_users/theme/ydnews/template/404 中的文件结束.php在第 1 行“,同时读取响应标头从上游,

客户端:162.142.125.217,
服务器:www.xxx.net,
请求:“GET /favicon.ico HTTP/1.1”,
上游:“fastcgi://unix:/tmp/php-cgi-70.sock:”,
主机:“www.xxx.net”


2023/07/02 07:23:55
[错误] 22356#0:*16080 FastCGI 发送标准:“PHP 消息:PHP 解析错误:语法错误,意外的'?',期望 /data/wwwroot/xxx/zb_users/theme/ydnews/template/404 中的文件结束.php在第 1 行”,同时从上游读取响应标头,

客户端: 183.229.172.186,
服务器: www.xxx.net,
请求: “GET /favicon.ico HTTP/1.1”,
上游: “fastcgi://unix:/tmp/php-cgi-70.sock:”,
主机: “www.xxx.net”,
引荐来源: “http://www.xxx.net/”

使用道具 举报 回复 支持 反对
发表于 2023-7-2 17:02:17 | 显示全部楼层
已解决,SSL配置恢复就可以了。 AAANSUhEUgAAAqgAAAHLC.png
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表