Graham
2007-02-11 19:11:01 UTC
Hi
I have upgraded to a new computer with same operating system as the old (XP)
but now when i publish my site and navigate to the page containing the form,
it just displays html code with the following error message at the top:
error_reporting(0);
$nof_suiteName="FormsHandler";
$nof_debug = "false";
$nof_langFile = "./scripts/FormsHandler_en.properties";
$nof_rootDir = ".";
$nof_scriptDir = "scripts";
?>
<?
if (!file_exists($nof_langFile) || !file_exists($nof_rootDir . "/" .
$nof_scriptDir . "/" . "nof_utils.inc.php")) {
if($nof_debug == "true") {
echo "<p><b>FormsHandler</b> components are not published. Please check your
publish settings in Fusion and republish the site.</p>";
} else {
echo "<p>An error occured. Please contact the site administrator</p>
<p>Error code: 103</p>";
}
exit();
}
require_once($nof_rootDir . "/" . $nof_scriptDir . "/" .
"nof_utils.inc.php");
$nof_resources->addFile($nof_langFile);
Anyone any ideas why this is happening?
Thanks
I have upgraded to a new computer with same operating system as the old (XP)
but now when i publish my site and navigate to the page containing the form,
it just displays html code with the following error message at the top:
error_reporting(0);
$nof_suiteName="FormsHandler";
$nof_debug = "false";
$nof_langFile = "./scripts/FormsHandler_en.properties";
$nof_rootDir = ".";
$nof_scriptDir = "scripts";
?>
<?
if (!file_exists($nof_langFile) || !file_exists($nof_rootDir . "/" .
$nof_scriptDir . "/" . "nof_utils.inc.php")) {
if($nof_debug == "true") {
echo "<p><b>FormsHandler</b> components are not published. Please check your
publish settings in Fusion and republish the site.</p>";
} else {
echo "<p>An error occured. Please contact the site administrator</p>
<p>Error code: 103</p>";
}
exit();
}
require_once($nof_rootDir . "/" . $nof_scriptDir . "/" .
"nof_utils.inc.php");
$nof_resources->addFile($nof_langFile);
Anyone any ideas why this is happening?
Thanks