Closed (fixed)
Project:
Customerror
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
13 Aug 2005 at 04:36 UTC
Updated:
18 Sep 2005 at 07:01 UTC
Jump to comment: Most recent file
CustomError and Drupal cvs (as of 13th August 2005 @05:33 GMT+1)
When I request a page that doesn't exists, a 404 error is executed. it goes to customerror/404. but in the display of the page it displays one site correctly and right below it displays the site again but with the original 404 error from drupal. A screenshot is attached.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | customerror_duplicatepage_customerror.module.patch | 498 bytes | Tobias Maier |
| drupal_error.png | 15.17 KB | Samuel Gordalina |
Comments
Comment #1
kbahey commentedHas to be something in your setup.
I upgraded to the latest version from CVS and it does not show the problem you are reporting.
Comment #2
kbahey commentedComment #3
Tobias Maier commentedI do have the same error
- on my cvs-test site
- on drupaldocs.org http://drupaldocs.org/fasdasdfasdfsdaf
seted the 404-page to any node
--> error never occured
seted back to customerror
--> error back :(
plz fix it
thanks
Comment #4
Tobias Maier commentedi found the error!
it was definitely in customerror
there was
print theme('page', $body);but it should be
return $body;because
drupal_not_found()waits for a return and themes the page by itselfciao tobi
Comment #5
kbahey commentedThanks for the fix.
Commited to 4.6 and HEAD.
Comment #6
(not verified) commentedComment #7
(not verified) commentedComment #8
(not verified) commented