Custom Web Publishing with XML and XSLT

Table Of Contents
Appendix B
|
Error codes for Custom Web Publishing 113
If the Web Publishing Engine is in Production mode, the following default general text message in the
pe_server_error.html error page is displayed for Web Publishing Engine errors:
An unexpected error has occurred while using FileMaker Custom Web Publishing with XSLT.
The default pe_server_error.html file contains the preceding text message in six languages.
You, as the developer, can edit the text of the pe_server_error.html error page as necessary for your solution.
The pe_server_error.html file is located in the cwpe folder inside the publishing-engine folder on the host
where you installed the Web Publishing Engine.
For information on how to set the Web Publishing Engine into Development or Production mode, see
FileMaker
Server Help.
Error code numbers for the FileMaker XSLT extension functions
The fmxslt:check_error_status() extension function (see “Checking the error status of extension functions” on
page 76), returns one of the errors in the following table:
MCS-603 The HTTP request for “x” returned an error of type “x”
MCS-604 The resource “x” could not be loaded because of an unexpected error
MCS-605 The resource “x” could not be loaded because the content-type was invalid
MCS-606 The resource “x” could not be loaded because of an XML error in the document
MCS-607 The resource “x” could not be loaded because of an authentication problem
MCS-700 An unexpected error has occurred
MCS-800 An unexpected error has occurred
Error code value Description
-1 Unknown error
0No error
General Errors
10000 Invalid header name
10001 Invalid HTTP status code
Session Errors
10100 Unknown session error
10101 Requested session name is already used
10102 Session could not be accessed - maybe it does not exist
10103 Session has timed out
10104 Specified session object does not exist
Error code value Description