[Silva-general] 404/Site error page in Silva publication

Kit BLAKE kitblake at gmail.com
Mon Dec 1 16:56:33 CET 2008


Nico,
> I have a Silva site at http://localhost:8080/silva and a Silva
> Publication at http://localhost:8080/silva/mypublication.
>
> If I call a URL to a non existing document (404 error) the bevaviour of
> the Silva site differs from the publication.
>
> http://localhost:8080/silva/nonexistingdocument
> -> standard error message with the layout of my whole site
>    I expect the same behaviour If I call
>    http://localhost:8080/silva/mypublication/nonexistingdocument
>    but I get a Zope Site error.
>
> http://localhost:8080/silva/mypublication/nonexistingdocument
> ->
> Site Error
>
> An error was encountered while publishing this resource.
>
> Debugging Notice
> Zope has encountered a problem publishing your object.
>
> Any idea, what I have to do in order to get a nice error page with the
> whole site layout if I call
> http://localhost:8080/silva/mypublication/nonexistingdocument ?
>
> Thanks in advance

This reproduces in a default Silva with SilvaLayout (I assume you're
using it too?). Now we'll dig for the cause.

-- 
Kit BLAKE · Infrae · http://infrae.com/ + 31 10 243 7051
Hoevestraat 10 · 3033 GC · Rotterdam + The Netherlands


More information about the silva-general mailing list