skip to main content
Indiana State University OIT/Web Development

 

Steps to Fix the Errors Processing Directives:

On Friday, August 1st, 2003, the main Web server was upgraded to Apache and as part of the process there were errors generated on a number of webpages. The old server had a bug which would allow the word 'file' in the code, but with the new server we need to use the word 'virtual' in the include statements.

Note: Please change the word 'file' to 'virtual' in any of the template files that you are using for your website. You are in safe hands if you are using the ISU Website Templates, unless you have made any manual changes to the shared borders.

On Tuesday, August 5th, 2003, TIS automatically fixed about 14,000 pages that had errors caused by the include files.

An include error message looks as shown below:

 Screenshot showing the error message for the include file

This is because of either of the two reasons.

  1. The code for the include file which is causing the error message will look as shown below (something similar):

     <!--#include file="/webguide/inc/toc2.html"-->

    To fix this error, all that needs to be done is to replace the word 'file' with 'virtual' in the above line of code. Change the code to:

     <!--#include virtual="/webguide/inc/toc2.html"-->
     
  2. Any other errors are because "include file" cannot use ".." or "../../" to refer to pages under a higher level in the web directory.

     <!--#include file="../includes/links.html"-->

    To fix this error, change the word file to virtual.

     <!--#include virtual="../includes/links.html"-->

For any further assistance, e-mail web@isugw.indstate.edu or call the OIT Web Development/Support Unit at extension 2863.


This page is maintained by web@indstate.edu