Jump to content

Featured Replies

Posted

Hi everyone.

I run my community on CentOS 7. 

This is my php.ini settings

Capture.PNG.8dfb7b07522a48be33864ca61428f4be.PNG

 

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?

Solved by Skipper_gm

Go to solution

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.

  • Author

^

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?

  • Author

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.

  • Author
  • Solution

The problem was in the Apache Module mod_fcgid where the MaxRequestLen Directive had a small value.

Topic Solved.

Recently Browsing 0

  • No registered users viewing this page.