March 18, 2021 in Technical Problems
I run my community on CentOS 7.
This is my php.ini settings
In adminCP are set maximum image dimension/size per membergroup.
If the image/file is larger than 100 kb I get the following error
Sorry, an unknown server error occurred when uploading this file.
(Error code: -200)
My question is what could be the problem?
It sounds counterintuitive, but reduce the limits and make sure that everything with a limit matches. Your CDN, your web server, and PHP, as well as anything else (suhosin) that may be running on your server and interfering with uploaded files.
IPS will chunk uploads into segments for files larger than your post max size. You do not need or want to set things to the maximum file size possible.
I tried this but nothing changed
I talked to a support guy but we couldn't solve the problem and we don't know what the problem is.
Does the phpinfo in the ACP reflect the changes you made?
What are your web server's settings?
Have you tried switching between gd and imagemagick?
There is definitely a problem with the server. I made a simple php upload script and if I try to upload a file larger than 100 kb I get 500 internal server error. I'm in contact with hosting support and I will report here when I solve the problem.
The problem was in the Apache Module mod_fcgid where the MaxRequestLen Directive had a small value.
Started 17 hours ago
Started 18 hours ago
Started February 10