No data received error while uploading images

Hey everyone. I get a 'no data received' error while uploading images. I upload images and after that I crop them to specific sizes using Imagick Adapter. The problem shows up when I try to upload several images in all browsers. For one or two images it works fine. Has anyone got a similar problem or might direct in any way to the solution?

Thanks for all replies! :)



did you check "maxfileuploads" directive in php.ini ?

edited Sep '14

That's a dump from phpinfo: > maxexecutiontime 30 30

> maxfileuploads 20 20

> maxinputnesting_level 64 64

> maxinputtime 60 60

> maxinputvars 1000 1000

> memory_limit 128M 128M

> postmaxsize 8M 8M

Do you think it might be a postmaxsize? What's funny, the problem occured for the first time after moving the application from localhost to Linux based server.


are these values the ones from your server ?

regarding postmaxsize, php doc says:

>If the size of post data is greater than postmaxsize, the $POST and $FILES superglobals are empty


I'll try to compare each value and see what will happen. So far I've changed a value of postmaxsize and the problem still occurs.

edited Sep '14

check also uploadmaxfilesize directive ...


I think I figured it out. I'll have to contact with admin of my server probably but it turned out that maxfileuploads is set to 20 on my server while it is 100 on localhost. After sending an image in its natural size and saving it on my server and after cropping it to 6 different sizes I save 7 files. Multiplying by 3 it gives 21 files that are saved. I tried to do the same but cropping only to 5 sizes what gives 3x6 = 18 files and it works (the same photos).

I am not sure if that's the reason. I'll give a feedback when I already know.


good luck ;-)