困惑已久的问题,求助~~~~~~

部署好后运行一直正常,使用了composer update命令后,就出问题了,打开网站就一直显示服务器内部错误。

下面是显示的
index-de6948b6.js:22
GET http://localhost/admin/Index/login 500 (Internal Server Error)
(匿名) @ index-de6948b6.js:22
xhr @ index-de6948b6.js:22
xn @ index-de6948b6.js:22
login-83dd84f5.js:1
x {message: 'Request failed with status code 500', name: 'AxiosError', code: 'ERR_BAD_RESPONSE', config: {…}, request: XMLHttpRequest, …}
code
:
"ERR_BAD_RESPONSE"
config
:
{transitional: {…}, adapter: Array(2), transformRequest: Array(1), transformResponse: Array(1), timeout: 10000, …}
message
:
"Request failed with status code 500"
name
:
"AxiosError"
request
:
XMLHttpRequest {cleanXss: null, readyState: 4, timeout: 10000, withCredentials: false, upload: XMLHttpRequestUpload, …}
response
:
{data: '
\nFatal error: Composer detected issu…r\platform_check.php on line 24
\n', status: 500, statusText: 'Internal Server Error', headers: Xe, config: {…}, …}
stack
:
"AxiosError: Request failed with status code 500\n at Ii (http://localhost/assets/index-de6948b6.js:22:949)\n at XMLHttpRequest.p (http://localhost/assets/index-de6948b6.js:22:4084)"
[[Prototype]]
:
Erro
希望能帮忙解决一下看看是哪里出问题了。

3个回答默认排序 投票数排序
YANG001
YANG001
这家伙很懒,什么也没写~
9月前

500错误的意思是不方便告诉你具体错误,这是给用户看的

开发者请参考:开启调试

skmq521
skmq521
这家伙很懒,什么也没写~
9月前

我就使用了一下这个composer update命令后,就这样了,之前没有问题的,现在不知道哪里出问题了

UMUSOFT
UMUSOFT
这家伙很懒,什么也没写~
7月前

不知道你使用的是什么系统,我使用ubuntu的时候,对于有些文件或目录的权限不为777时,包含但不仅限于*.log文件时,会报服务器内部错误.应该是执行npm run dev时,使用的用户权限问题导致的.

请先登录
0
1
0
3