Phorm v3.5.2

Appendix C: Errors & Alerts
      These are all the error and alert messages generated by Phorm. Note that the first three characters of each is a number: you can use this in post-processing to more easily determine what occurred in the run. Errors cause Phorm to stop processing, and are displayed to the visitor; alerts do not cause an abort, and are not displayed to the visitor unless $PHORM_ALERTTO is not defined or Phorm is unable to email them to the $PHORM_ALERTTO address.

Errors
000     Catastrophic error: Unable to read Phorm function library.
001     Catastrophic error: Wrong function library version.
002     Catastrophic error: Unable to read Phorm MIME types library.
003     I'm sorry, Phorm requires at least PHP version [version #].
009     Fatal PHP configuration error. Unable to continue processing. (sent with Alert #009)
010     Unable to open Phorm Base file.
020     Unable to open main Phorm configuration file.
030     Invalid or non-existent directory[dir] in phormbase.php.
040     I'm sorry, this page only processes the contents of a form. You cannot access it directly. (Generated if someone tries to go directly to Phorm's URL, bypassing the form.)
050     Unable to open configuration file [file name].
060     Invalid directory [dir] in $PHORM_BASE in [config file name].
070     Unable to open acknowledgement template file [file name].
080     Invalid access. This Phorm installation cannot be accessed from [location].
090     There has been an error, and your information has not been sent.

100     You must specify your user ID with PHORM_USER. (Multi-user version)
101     Unable to open phormusers.txt (Multi-user version)
102     Invalid user ID. (Multi-user version)

Alerts
00M     Critical Alert: unable to access alert & error message file.
000     Unable to load plugin file [file name] at stage [stage name].
001     Unable to open validation error file [file name].
002     Unable to open autoresponder template file [file name].
003     Unable to open autoresponder attachment file [file name].
004     Unable to open the text log file [file name].
005     Unable to open mail template file [file name].
006     Unable to open file attachment module. User email attachment(s) not sent.
007     Unable to open Database variables file [file name].
008     Unable to open validation rules file [file name].
009     File upload is disabled in your PHP configuration, and your form was sent with the ENCTYPE=multipart/form-data attribute. Phorm cannot read your form contents.

010     Unable to open file attachment module. Responder attachment not sent.
011     Unable to open file upload module. Uploaded file(s) not saved.

012     $DOCUMENT_ROOT is not available. $/ construction in FILES section rules file failed.

020     Invalid construction in [Phorm Base file] on line [number].

030     Unable to connect to host [host name].
031     Unable to select database [database name].

040     Error on query: [Query] MySQL says: [MySQL Error] (From database logging)

050     In rule [name/number], the REGEX criterion requires one argument.
051     In rule [name/number], the CCARD criterion requires one argument.
052     In rule [name/number], the RANGE criterion requires two arguments.
053     In rule [name/number], the ONEOF criterion requires at least one argument.
054     In rule [name/number], the GT criterion requires an argument.
055     In rule [name/number], the LT criterion requires an argument.
056     In rule [name/number], the EQ criterion requires an argument.
057     In rule [name/number], the GE criterion requires an argument.
058     In rule [name/number], the LE criterion requires an argument.
059     In rule [name/number], the NE criterion requires an argument.
060     In rule [name/number], the UNIQUE criterion requires two arguments.
061     The UNIQUE criterion requires a database to be open.
062     Error on query: [Query] MySQL says: [MySQL Error] (From UNIQUE criterion)
063     In rule [name/number], the EXISTS criterion requires two arguments.
064     The EXISTS criterion requires a database to be open.
065     Error on query: [Query] MySQL says: [MySQL Error] (From EXISTS criterion)
066     In rule [name/number], the FILEEXT criterion requires at least one argument.
067     In rule [name/number], the FILESIZ criterion requires one argument.
068     In rule [name/number], the DATECMP criterion requires at least one argument.
069     In rule [name/number], the FLDLEN criterion requires three arguments.
070     In rule [name/number], Invalid criterion: [criterion]
071     Incomplete rule (RULE [name/number]): missing criterion.
072     Incomplete rule (RULE [name/number]): missing form field name.
073     Incomplete rule (RULE [name/number]): missing error message.

100     You cannot use $PHORM_ACK and $PHORM_RDIRECT together. You must ack *or* re-direct.

110     Mail function failed on autoresponder.

120     You may not have more than 25 email templates in $PHORM_TMPL.
121     Mail function failed on user email for template [file name].

130     Unable to execute post-processing file [file name].

140     Mail function failed on sending alerts.

150     This file upload module requires at least Phorm version [version #].
151     To upload files, your FORM tag must have the ENCTYPE="multipart/form-data" attribute.
152     Unable to save file [file name] on your system.
153     Your file upload module is outdated. Contact Phorm Support for the new version.

160     This file attachment module requires at least Phorm version [version #].
161     Unable to open autoresponder attachment file [file name].
162     Unable to open email attachment file [file name].
163     Your file attachment module is outdated. Contact Phorm Support for the new version.

170     The [name] plugin requires at least Phorm [version #].
171     HTMLMail unable to open autoresponder attachment file [file name].
172     HTMLMail unable to open file attachment module. Responder attachment not sent.
173     HTMLMail Unable to open mail template file [file name].
174     HTMLMail Unable to open file attachment module. User email attachment(s) not sent.

180     The ArrayToTable function requires at least one array parameter.
181     If ArrayToTable is passed only one array, it must be an array of arrays.
182     All parameters passed to ArrayToTable must be arrays, except the last one.