上传超过20兆会出现:后端上传报错,从服务器收到预料之外的响应。此文件可能已被成功上传。请检查媒体库或刷新本页。前端上传报错504(目前使用了oss,但文件已经上传成功了,需要重新开启页面才能显示出上传的文件)
————————————————————————————————————————————————-
前端报错:
————————————————————————————————————————————————-
后端报错:
————————————————————————————————————————————————-
网站异常日志:
2024/04/21 08:34:44 [error] 10672#0: *509 FastCGI sent in stderr: "PHP message: PHP Warning: session_start(): Cannot start session when headers already sent in /www/wwwroot/cgbango.com/wp-content/themes/zibll/zibpay/page/index.php on line 3" while reading upstream, client: ip, server: cgbango.com, request: "GET /wp-admin/ HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi-72.sock:", host: "www.cgbango.com", referrer: "https://www.cgbango.com/"