[Zope] RE: Bizarre error with standard_html_header

Curtis Maloney curtis@umd.com.au
Wed, 12 Jul 2000 16:05:08 +1000


On Wed, 12 Jul 2000, Jonathan Desp wrote:
> well if you use that script ? -->
>
> <meta http-equiv="refresh" content="0
> ;URL=http://www.apple.com/enterprise/">
>
> It will fix your problem ?
>
>

I think you've completely missed the point of my post.

Firstly: I don't use those meta tags unless i absolutely have to.  The 
redirection I have in place works fine, when it gets parsed.

Secondly: My  problem is NOT redirecting the page.

I added the redirect as a debuging tool, to find out if the DTML parser was 
getting that far.  In case you've not noticed, any time you get an error, 
that object is not rendered at all, instead the error report is put in its 
place.

What it showed me was that the page in question was not being parsed at all, 
even tho the traceback shows it is.

> ---------------------------------------------------------------------------
>- ----
>
> Ok... this one has me flummoxed.
>
> I just can't make ANY sense of it.
>
> I am taking advantage of Acquisition to save me from having to have two
> copies of a page... fine.. common... well understood, etc.
>
> Problem is, when i go to the page from the lower directory, it throws some
> bizarre Type error, complaining about too many parameters to
> standard_html_header.
>
> I dug about, i insterted a redirect to try to find WHEN it was hitting.
>
> What got me was this:  I put <dtml-call "RESPONSE.redirect('index_html')">
> as
> the VERY FIRST LINE of the DTML Document.  But the problem still occurrs!!
>
> This just makes NO sense.
>
> System:
>
> RedHat 6.1
> Zope 2.1.6
>
> Have a better one,
>  Curtis.