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

Rainer Schöpf <[email protected]>
Newsgroups gmane.comp.cms.lenya.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.