OK Russell, will try to, but I wanted to post the code generated by the module creator so you can see what EXACTLY is in the error.php page I am trying use as the template.
Code:
<?php
#### Generated by Module Creator - By Disipal site (www.disipal.net) ####
if (!eregi("modules.php", $PHP_SELF)) {
die ("You can't access this file directly...");
}
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
$index = 0;
OpenTable();
echo"<body>"
. "<center><h4>UTNY Application Form Error</h4></center>"
. "<p>We are unable to complete your registration as a member of the United Taxidermists of New York because the following fields <font color=\"red\"><b>MUST</font></b> be filled in. Please fill in these fields as they are required for membership application.</p>"
. "<p><b>Here is the full error message:</b></p>"
. "<fmfullerror/>"
. " <hr/>"
. " <p>The basic error message is: <b><fmerror/></b></p>"
. " <hr/>"
. " <p>Extra error information: <b><fmerrorextra/></b></p>"
. " <hr/>"
. " <p>This is a list of items in error:</p>"
. " <ul>"
. " <fmerroritemlist/>"
. " </ul>"
. " <hr/>"
. " <p>The first and second items in error:</p>"
. " <ul>"
. " <li><fmerroritem1/></li>"
. " <li><fmerroritem2/></li>"
. " </ul>"
. " <hr/>"
. " </body>";
CloseTable();
include("footer.php");
?>
Any thoughts would be welcome and I've tried commenting out the first three AND four lines like this, but not a winner:
Code:
<?php
#### Generated by Module Creator - By Disipal site (www.disipal.net) ####
//if (!eregi("modules.php", $PHP_SELF)) {
// die ("You can't access this file directly...");
//}
//require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
$index = 0;
OpenTable();
echo"<body>"
. "<center><h4>UTNY Application Form Error</h4></center>"
. "<p>We are unable to complete your registration as a member of the United Taxidermists of New York because the following fields <font color=\"red\"><b>MUST</font></b> be filled in. Please fill in these fields as they are required for membership application.</p>"
. "<p><b>Here is the full error message:</b></p>"
. "<fmfullerror/>"
. " <hr/>"
. " <p>The basic error message is: <b><fmerror/></b></p>"
. " <hr/>"
. " <p>Extra error information: <b><fmerrorextra/></b></p>"
. " <hr/>"
. " <p>This is a list of items in error:</p>"
. " <ul>"
. " <fmerroritemlist/>"
. " </ul>"
. " <hr/>"
. " <p>The first and second items in error:</p>"
. " <ul>"
. " <li><fmerroritem1/></li>"
. " <li><fmerroritem2/></li>"
. " </ul>"
. " <hr/>"
. " </body>";
CloseTable();
include("footer.php");
?>
Bookmarks