[Zope] addDTMLDocument Help!
Michel Pelletier
michel@digicool.com
Wed, 4 Aug 1999 16:01:26 -0400
> -----Original Message-----
> From: Brian Brown [mailto:Brian.Brown@smawins.com]
> Sent: Wednesday, August 04, 1999 3:51 PM
> To: Michel Pelletier
> Cc: 'Brian.Brown@smawins.com'; zope@zope.org
> Subject: Re: [Zope] addDTMLDocument Help!
>
>
> Michel Pelletier wrote:
>
> -------------------------------------------------------------
> Here is the addDoc DTML method that I am trying the manage_clone in:
> -------------------------------------------------------------
> <!--#with "manage_clone(content_template,newid,REQUEST)"-->
> <!--#call "manage_changeProperties(email=emailaddress)"-->
> <!--#/with-->
>
> <!--#var standard_html_header-->
> <H2>I just added the <!--#var newtitle--> Document</H2>
> <!--#var standard_html_footer-->
> -------------------------------------------------------------
> And the resultant traceback....
> -------------------------------------------------------------
> Sorry, an error occurred.
>
> Traceback (innermost last):
> ValueError: Invalid Header (0):
Put the clone code *after* standard_html_header. Zope thinks your
trying to pass out your own HTTP headers if you put content before the
<html> found in standard_html_header.
-Michel