This is an old thread, but I noticed that no one actually hit upon the
*real* problem.

On Mon, Feb 16, 2009 at 7:28 AM, bytte <thomas.bytteb...@gmail.com> wrote:

>
> Bug in my code or bug in Zend Framework?
>

Neither. It's an unfortunate short-coming of PHP itself.

http://us3.php.net/manual/en/ini.core.php#ini.post-max-size : "If the size
of post data is greater than post_max_size, the $_POST and $_FILES
superglobals are empty."

Files are uploaded as post data. If the file being uploaded pushes the post
data beyond the size allowed in php.ini, you get empty $_POST and $_FILES
superglobals, which is why ZF complains about not being able to find your
file field.

Reply via email to