You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by sac sha <sa...@gmail.com> on 2009/12/16 15:16:37 UTC

How to change allowed asset size to upload assets (Lenya CMS)

Hi All

I am using lenya 1.2.5.

I want to upload a pdf file through CMS but it is giving error:

Multipart element 'HandbookNov09.pdf' is too large (365529 bytes) and was
discarded.

Can anybody please tell me how to increase the allowed upload size in CMS.

Thanks in advance.
Sac

Re: How to change allowed asset size to upload assets (Lenya CMS)

Posted by sac sha <sa...@gmail.com>.
thanks Rainer.

On Wed, Dec 16, 2009 at 2:23 PM, Rainer Schöpf <rainer.schoepf@proteosys.com
> wrote:

> Hic Sac,
>
>  > I am using lenya 1.2.5.
>  >
>  > I want to upload a pdf file through CMS but it is giving error:
>  >
>  > Multipart element 'HandbookNov09.pdf' is too large (365529 bytes) and
> was
>  > discarded.
>  >
>  > Can anybody please tell me how to increase the allowed upload size in
> CMS.
>
> This is a parameter of the web application, specified in the web.xml in the
> WEB-INF directory. Look for something like
>
>    <init-param>
>      <param-name>upload-max-size</param-name>
>      <param-value>102400</param-value>
>    </init-param>
>
> and increase the value as necessary.
>
>  Rainer
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>


-- 
Regards
Sachin Sharma

Re: How to change allowed asset size to upload assets (Lenya CMS)

Posted by Rainer Schöpf <ra...@proteosys.com>.
Hic Sac,

 > I am using lenya 1.2.5.
 > 
 > I want to upload a pdf file through CMS but it is giving error:
 > 
 > Multipart element 'HandbookNov09.pdf' is too large (365529 bytes) and was
 > discarded.
 > 
 > Can anybody please tell me how to increase the allowed upload size in CMS.

This is a parameter of the web application, specified in the web.xml in the 
WEB-INF directory. Look for something like

    <init-param>
      <param-name>upload-max-size</param-name>
      <param-value>102400</param-value>
    </init-param>

and increase the value as necessary.

 Rainer



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org