Hei. I am trying to upload a pdf file to a plone zope server but when I do so I get the following error massage: ValueError Sorry, a site error occurred. Traceback (innermost last): Module ZPublisher.Publish, line 175, in publish_module_standard Module ZPublisher.Publish, line 132, in publish Module Zope.App.startup, line 204, in zpublisher_exception_hook Module ZPublisher.Publish, line 64, in publish Module ZPublisher.HTTPRequest, line 385, in processInputs Module cgi, line 511, in __init__ ValueError: Maximum content length exceeded (Also, an error occurred while attempting to render the standard error message.) The file is 246 KB. When I try to upload a smaller file it works fine, so I presume I have to change some kind of parameter defining the maximum length. Any suggestings where to do that? Thanks, Sune
just checking, are you sure you've used the right encoding for the upload form? Or, are you using plain ZMI File upload. On 1/7/06, Sune Christiansen <sune@binf.ku.dk> wrote:
Hei.
I am trying to upload a pdf file to a plone zope server but when I do so I get the following error massage:
ValueError
Sorry, a site error occurred.
Traceback (innermost last):
Module ZPublisher.Publish, line 175, in publish_module_standard Module ZPublisher.Publish, line 132, in publish Module Zope.App.startup, line 204, in zpublisher_exception_hook Module ZPublisher.Publish, line 64, in publish Module ZPublisher.HTTPRequest, line 385, in processInputs Module cgi, line 511, in __init__
ValueError: Maximum content length exceeded (Also, an error occurred while attempting to render the standard error message.)
The file is 246 KB.
When I try to upload a smaller file it works fine, so I presume I have to change some kind of parameter defining the maximum length. Any suggestings where to do that?
Thanks, Sune
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com
I am not sure if I understand you right but I am using the add File option in the dropdown menu at the left.
just checking, are you sure you've used the right encoding for the upload form? Or, are you using plain ZMI File upload.
On 1/7/06, Sune Christiansen <sune@binf.ku.dk> wrote:
Hei.
I am trying to upload a pdf file to a plone zope server but when I do so I get the following error massage:
ValueError
Sorry, a site error occurred.
Traceback (innermost last):
Module ZPublisher.Publish, line 175, in publish_module_standard Module ZPublisher.Publish, line 132, in publish Module Zope.App.startup, line 204, in zpublisher_exception_hook Module ZPublisher.Publish, line 64, in publish Module ZPublisher.HTTPRequest, line 385, in processInputs Module cgi, line 511, in __init__
ValueError: Maximum content length exceeded (Also, an error occurred while attempting to render the standard error message.)
The file is 246 KB.
When I try to upload a smaller file it works fine, so I presume I have to change some kind of parameter defining the maximum length. Any suggestings where to do that?
Thanks, Sune
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com
Sune Christiansen wrote at 2006-1-7 11:28 +0100:
... ValueError
Sorry, a site error occurred.
Traceback (innermost last):
Module ZPublisher.Publish, line 175, in publish_module_standard Module ZPublisher.Publish, line 132, in publish Module Zope.App.startup, line 204, in zpublisher_exception_hook Module ZPublisher.Publish, line 64, in publish Module ZPublisher.HTTPRequest, line 385, in processInputs Module cgi, line 511, in __init__
ValueError: Maximum content length exceeded (Also, an error occurred while attempting to render the standard error message.)
Recent Zope versions introduced configuration parameters to limit the size of uploads. Look at the code in "cgi.py:511". Check against what variable the entity size is checked. With a bit of luck, the configuration option has a similar name. Change it as adequate for your site, restart. -- Dieter
--On 7. Januar 2006 20:05:26 +0100 Dieter Maurer <dieter@handshake.de> wrote:
Look at the code in "cgi.py:511". Check against what variable the entity size is checked. With a bit of luck, the configuration option has a similar name. Change it as adequate for your site, restart.
Should be 'cgi-maxlen' in zope.conf. -aj
participants (4)
-
Andreas Jung -
Dieter Maurer -
Peter Bengtsson -
Sune Christiansen