function display_not_found

6.x theme.inc display_not_found()
4.x theme.inc display_not_found()
5.x theme.inc display_not_found()
6 calls to display_not_found()
content_edit_content_form in modules/content/content.module
This form lets the user edit some piece of content
content_files_handle_download in modules/content/content.module
This actually finds and downloads the file for the user, decrypting if necessary.
content_view_content in modules/content/content.module
Display the content specified in the GET's cid.
index.php in ./index.php
The primary entry point for FlightPath.
student_files_handle_delete in modules/student_files/student_files.module

... See full list

File

includes/theme.inc, line 2054

Code

function display_not_found() {

  header("HTTP/1.0 404 Not Found", TRUE, 404);

  $page = array(
    "title" => t("Not Found"),
    "content" => "<h2>" . t("Page not found") . "</h2>" . t("Sorry, the requested page could not be found."),
  );

  $location = @$_SERVER ["REQUEST_URI"];

  watchdog("page_not_found", "404 - Page not found (" . strip_tags($location) . ")", array(), WATCHDOG_DEBUG);

  fp_display_page($page);
  die;
}