You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jonas Höglund <jo...@swatdesign.com> on 2005/12/08 21:25:44 UTC
Incomplete image upload
Hi,
I'm using the modular database action to save uploaded images into a
blob column in a mysql database. Everything works, except that only 1/5
(65535 bytes per image to be exact) of the uploaded image is being
transfered. Since the actual bytes being transfered is the excact same
independed of the original file size, my guess is there must be related
to some setting, either in coccon, tomcat or mysql.
I have tried to change the value for the upload-max-size property in the
web.xml file, but it doesn't do anything.
Any ideas?
Best,
Jonas Hoglund
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
[SOLVED] Re: Incomplete image upload
Posted by Jonas Höglund <jo...@swatdesign.com>.
So, it did turn out to be as simple as me having to change the blob
field in the mysql database to mediumblob. I guess I shold have remered,
but...oh well. After changing it to mediumblob, everything works like a
charm!
/jonas
Jonas Höglund wrote:
> Hi,
>
> I'm using the modular database action to save uploaded images into a
> blob column in a mysql database. Everything works, except that only
> 1/5 (65535 bytes per image to be exact) of the uploaded image is being
> transfered. Since the actual bytes being transfered is the excact same
> independed of the original file size, my guess is there must be
> related to some setting, either in coccon, tomcat or mysql.
>
> I have tried to change the value for the upload-max-size property in
> the web.xml file, but it doesn't do anything.
>
> Any ideas?
>
> Best,
> Jonas Hoglund
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org