When uploading product image we get the following error:
500 Internal Server Error
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at --- to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
[attachment=15192:error.jpg]
We have changed values of memory_limit and upload_max_filesize and still get the same issue.
What could be the reason and how can we troubleshoot it?
error.jpg
Hello
Does the inspector in the browser show nothing?
Have you turned on devel mode in the program and showing errors?
Best regards
Robert
Hello
Does the inspector in the browser show nothing?
Have you turned on devel mode in the program and showing errors?
Best regards
Robert
We have checked the console and this the error that we get:
Failed to load resource: the server responded with a status of 500 (Internal Server Error).
Any ideas on how to fix the issue?
Hello
Do you have access to the web server logs?
Best regards
Robert
Hello
Do you have access to the web server logs?
Best regards
Robert
Yes we do. I'll reply back once we check them.
Hello
Do you have access to the web server logs?
Best regards
Robert
So, this is the error that I get in the logs:
mod_fcgid: HTTP request length 139264 (so far) exceeds MaxRequestLen (131072)
So change it from 128k to 256k
So change it from 128k to 256k
Thank you for the very obvious solution. I clearly thought of that too, however, I don't know how to access the variable that is responsible for Max Request Length value.
michael
April 12, 2022, 12:00am
#10
We met the same problem when upload image for nginx server, anyone know the reason and solution ? Thanks !
500-error.png