PHPEveryday.com PHP and Web Development Tutorial
What are you looking for?


Drupal Configuration: Error Handling


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:

create page for handling not found page error

Save it. Look node from this page. for example:

http://localhost/drupal/node/2

Then, open error reporting page by click Administer > Site Configuration > Error Reporting.

Enter page for not found page like:

create page for handling not found page error

Save it. Now, open not existing page such as http://localhost/drupal/node/10101010101010. You may get like this:

create page for handling not found page error

Repeat for access denied page



Series this article:
Drupal Configuration: Login to Administration Page
Drupal Configuration: General Setting
Drupal Configuration: Error Handling
Drupal Configuration: Looking Error Report Log
Drupal Configuration: Setting Date and Time
Drupal Configuration: Boosting performance by Caching
Drupal Configuration: File System
Drupal Configuration: Site Maintenance


Tag: drupal, configuration, error handle Category: PHP Application Post : May 01st 2008 Read: 4,408 Bookmark and Share

blog comments powered by Disqus


Database Tutorial
  • Learn PHP MySQL
  • Learn PHP ADOdb
  • Learn PHP Data Object/PDO
  • Learn PHP XML
  • Learn PHP SimpleXML
Security Tutorial
  • Learn PHP Security
  • Learn HTTP Authentication
  • Learn PHPSecureSite
Framework Tutorial
  • Learn CodeIgniter
  • Learn Joomla
  • Learn Smarty
  • Learn Zend Framework
Template Tutorial
  • Learn Joomla Template
  • Learn WordPress Template
API Tutorial
  • Learn Facebook
JS Framework Tutorial
  • Learn MooTools
  • Learn JQuery
AJAX Tutorial
  • Learn AJAX in 10 Minutes
  • Learn AJAX Client Side
  • Learn AJAX PHP
  • Learn AJAX Remote Server
  • Learn AJAX Repetitive
  • Learn AJAX MySQL
  • Learn AJAX Grid
Web Services Tutorial
  • Learn Web Services NuSOAP
  • Learn Web Services WSDL
  • Learn Web Services WSDL Array
  • Learn Web Services .NET Grid
  • Learn Web Services WDDX
Package Post
  • Joomla Intro
  • Joomla Component
  • Joomla Module
  • Joomla MVC
  • Joomla MVC Backend
  • PostNuke Intro
  • Zend Framework Intro
  • Zend Framework Action
  • Zend Framework Database
  • Zend Framework Registry
  • Zend Framework Config
  • Zend Framework Login
  • Zend Framework Session
  • PHP Array Tips
  • PHP File Tips
  • PHP Email
  • PHP Ms Excel
  • PHP Pattern
  • PHP SMS
  • Flash Database
  • PHP Multitier
  • jQuery Introduction
  • jQuery Selectors
  • Portable Web Server
  • Web Mobile Intro
  • Drupal Installation
  • Drupal Configuration