[opencms-dev] File too large for opencms

Eke, Kemi kemi.eke at biglotteryfund.org.uk
Mon Aug 16 19:15:54 CEST 2004


Hi Kelvin

You probably need to adjust your settings in your my.cnf file

set_max_allowed_packet needs to be set to a file size that you can take your
upload.

Regards

Kemi

-----Original Message-----
From: Kelvin [mailto:kelvin.ang at resonance.com.sg]
Sent: 16 August 2004 18:07
To: opencms-dev at opencms.org
Subject: [opencms-dev] File too large for opencms


Hi all,

I have a flash(.swf) file that I need to put into opencms. But when i 
upload the file(1.2mb) as a binary file onto opencms, I have a error saying 
that the file is too big.
Can I change the any property somewhere to get the opencms filesystem to 
accept the file?


14 Filesystem exception. Detailed error: CmsException ID: 14.
root cause was com.opencms.core.CmsException: 4 Sql exception. Detailed 
error: [com.opencms.file.mySql.CmsDbAccess] Communication link failure: 
com.mysql.jdbc.PacketTooBigException.
root cause was java.sql.SQLException: Communication link failure: 
com.mysql.jdbc.PacketTooBigException
	at com.opencms.file.CmsObject.replaceResource(CmsObject.java:870)
	at 
com.opencms.workplace.CmsNewResourceUpload.getContent(CmsNewResourceUpload.j
ava:285)
	at
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:171)
	at
com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
	at 
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache
.java:149)
	at
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:285)





_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


This email is confidential and intended solely for the use of the 
individual to whom it is addressed. The contents of this message will
not be in any way binding upon the Big Lottery Fund. Opinions, conclusions, contractual obligations and other information in this message, in so far as they relate to the official business of the Big Lottery Fund, must be specifically confirmed in writing by the Big Lottery Fund. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040816/c3879627/attachment.htm>


More information about the opencms-dev mailing list