Re: Can´t upload files bigger than 50KB
| From: | Adam Richardson | Date: | Wed, 09 Mar 2011 15:12:17 +0000 |
| Subject: | Re: Can´t upload files bigger than 50KB | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-311752@lists.php.net to get a copy of this message | ||
Hi Gotzon,
I'm wondering if your javascript is timing out. On the development server,
is everything local so it's happening close to instantly? If so, it's
possible that the latency of your production environment is causing the
issue, as it's taking longer to process the request than the ajax script has
allotted. That could explain why a 20K upload would work and a 50K isn't.
50K isn't that big, but if the timeout was set to one or two seconds, I
suppose it's possible.
Adam
On Wed, Mar 9, 2011 at 10:02 AM, Gotzon Astondoa <gastondoa@gmail.com>wrote:
> Upload form is OK, I can upload 5MB files in development server.
>
> 2011/3/9 Jay Blanchard <jblanchard@pocket.com>
>
> > [snip]
> > 50KB
> > [/snip]
> >
> > Have you checked the upload form itself for max_file_size?
> >
>
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com