Discussion:
form
(too old to reply)
Graham
2007-02-11 19:11:01 UTC
Permalink
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
NOF9 Firebird User
2007-12-22 21:51:09 UTC
Permalink
Hi

My guess is that you need to check your php.ini file.

Ensure that :-

short_open_tag =3D On

is in it.

This setting means that php then interprets text begining with <?
as php code.

Good Luck !

QC



On Sun, 11 Feb 2007 1
Hi
I have upgraded to a new computer with same operating system as the ol=
d =
(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=3D"FormsHandler";
$nof_debug =3D "false";
$nof_langFile =3D "./scripts/FormsHandler_en.properties";
$nof_rootDir =3D ".";
$nof_scriptDir =3D "scripts";
?>
<?
if (!file_exists($nof_langFile) || !file_exists($nof_rootDir . "/" .
$nof_scriptDir . "/" . "nof_utils.inc.php")) {
if($nof_debug =3D=3D "true") {
echo "<p><b>FormsHandler</b> components are not published. Please chec=
k =
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
Loading...