Drupal Configuration: Error HandlingTag: drupal, configuration, error handle Category: PHP Applicationpost: 01 May 2008 read: 1,028 Drupal Configuration Step By Step Tutorial - Part 3: In this post, we will modify error message. There are 2 error we handle, not found page and access denied page. Default 404 (not found) page if no other content matches the requested document. Default 403 (access denied) page if the requested document is denied to the current page. First, we modify error message for not found page. To modify it, we create a page. Click Create Content > Create Page. Enter information about error, like this:
Save it. Look node from this page. for example:
Then, open error reporting page by click Administer > Site Configuration > Error Reporting. Enter page for not found page like:
Save it. Now, open not existing page such as http://localhost/drupal/node/10101010101010. You may get like this:
Repeat for access denied page |
| | Give Your Opinion | Recommend |
|




