Add items - From Web Browser - upload limit

Einstein
Einstein's picture

Joined: 2003-10-13
Posts: 105
Posted: Thu, 2004-12-23 01:23

When adding items in "Web server" mode it reads: "Note: You can upload up to 5 megabytes at one time." I did manage to upload around 15Mb.

So, from where is this 5 taken? Is it the parameter value upload_max_filesize in PHP?

I have also a parameter value post_max_size that says 55Mb. Isn't that the correct one to check?

My G2 version is around one week old.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2004-12-24 23:31

We check the upload_max_size and the post_max_size PHP directives to figure out which one is smaller. Your upload_max_size is probably set to 5Mb. I'm not sure why the restriction we think is in effect didn't actually apply to you. Can you make your phpinfo available to us so that we can look at the other numbers to see if we should change our calculations? Thanks!

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2005-01-08 04:29

Turns out that we were doing this incorrectly -- thanks for pointing it out, Einstein! I changed the code to put up a better message about the limits imposed by PHP. Let me know if that makes more sense.

 
Einstein
Einstein's picture

Joined: 2003-10-13
Posts: 105
Posted: Fri, 2005-01-14 21:13

The new message make much more sence ... and thank you for putting these captions on the upload page (my suggestion for while back), I like it.