Bug 32571 - 404 page could be more informative
Summary: 404 page could be more informative
Status: NEW
Alias: None
Product: Lenya
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 1.2.1
Hardware: All All
: P2 enhancement
Target Milestone: 2.0.1
Assignee: Lenya Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-07 18:34 UTC by Alex McLintock
Modified: 2007-11-14 17:10 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex McLintock 2004-12-07 18:34:52 UTC
I think the 404 page is rather unhelpful for beginners. We could improve it to
make the default publication more easy to understand. 

eg looking at this page in the default publication
http://lenya.owal.co.uk/default/authoring/links.html
and I click on the "live" button I get this page
http://lenya.owal.co.uk/default/live/links.html
which is in fact the 404: Page not found error with the following text. 

 The requested document '/links.html' with document-id '/links' does not exist.

I'd like to add some more text - possibly making it more intelligent

1) Check the referer field. If it contains "authoring" then print out some
helpful text like "The page you are looking for has not been published yet, you
need to go through the "publish" workflow process before you can see this page
on the live site.

2) Add in a tip to where you can edit this error message page. 

This is of course just for the default publication to aid in training new users.
Comment 1 michael.trindler 2007-11-14 15:16:13 UTC
Now one gets instead of an error 404:

An error occured.
Please contact your system administrator.

Still room for improvement...
Comment 2 Andreas Hartmann 2007-11-14 17:10:42 UTC
(In reply to comment #1)
> Now one gets instead of an error 404:
> 
> An error occured.
> Please contact your system administrator.

This should be fixed now.