write("
\n"); write("\n"); bodystr = dynBody(); write("
\n"); write("
\n"); write("

# Error!

\n"); write("

### The following error has occurred:

\n"); // More error conditions can be added as additional else-if clauses // as necessary. if (request.error == "dbfail") write("

Could not connect to the database.

\n"); else write("

An unknown error has occured.

\n") write("

Please notify your site administrator of the problem

\n"); write("

Back to the WorkNet Home Page

\n"); write("

Note for WorkNet programmers: This error may be occuring \n"); write("because the database.connect() statement \n"); write("in the dbCheck() function (see \n"); write("lib/usermgt.js) may not be set up for your database \n"); write("username and/or password correctly. Make sure that when you \n"); write("installed WorkNet that you changed the database.connect() to \n"); write("suit you informix database server, loginname, password and database

\n"); write("
\n");