function drupal_not_found

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 common.inc drupal_not_found()
cle7 common.inc drupal_not_found()
elmsmedia7 common.inc drupal_not_found()
icor7 common.inc drupal_not_found()
meedjum_blog7 common.inc drupal_not_found()
mooc7 common.inc drupal_not_found()

Delivers a "page not found" error to the browser.

Page callback functions wanting to report a "page not found" message should return MENU_NOT_FOUND instead of calling drupal_not_found(). However, functions that are invoked in contexts where that return value might not bubble up to menu_execute_active_handler() should call drupal_not_found().

Related topics

30 calls to drupal_not_found()
advanced_help_index_page in sites/all/modules/ulmus/advanced_help/advanced_help.module
Page callback to view the advanced help topic index.
advanced_help_search_view in sites/all/modules/ulmus/advanced_help/advanced_help.module
Page callback for advanced help search.
advanced_help_topic_page in sites/all/modules/ulmus/advanced_help/advanced_help.module
Page callback to view a help topic.
backup_file::transfer in sites/all/modules/ulmus/backup_migrate/includes/files.inc
Transfer file using http to client. Similar to the built in file_transfer, but it calls module_invoke_all('exit') so that temp files can be deleted.
book_export in modules/book/book.pages.inc
Menu callback; Generates representations of a book page and its children.

... See full list

2 string references to 'drupal_not_found'
special_menu_items_menu in sites/all/modules/local_contrib/special_menu_items/special_menu_items.module
*Implementation of hook_menu()
special_menu_items_menu in sites/all/modules/ulmus/special_menu_items/special_menu_items.module
*Implementation of hook_menu()

File

includes/common.inc, line 731
Common functions that many Drupal modules will need to reference.

Code

function drupal_not_found() {
  drupal_deliver_page(MENU_NOT_FOUND);
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.