I was confused about uploading file all this day from morning up to an hour ago. It was okay when I uploaded it on my localhost. Then after I published it on server it got error when I tried to upload image. The error was something like this :
No data received
Unable to load the webpage because the server sent no data. Here are some suggestions: Reload this webpage later.
Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.
I thought it was about moderation. I tried to change the moderation from 644, 666 764, to 777. Nothing happened.
Fyi, the server is Freebsd.
Then I crawled the stackoverflow web, then got the solution! This was what I found.
Found the problem!
Abort is caused by the function imagecreatefrompng from pd_lib with png support.
portupgrade -rf png or portmaster -r png
and then apache restart solved it.