[Zope] Uploading file to Zope

Dieter Maurer dieter at handshake.de
Sat Jan 7 14:05:26 EST 2006


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


More information about the Zope mailing list