[FX.php List] Help: Getting an error "missmatched tag at line 118"
Jordan Sandford
jordan at interiordesignweb.com
Wed Jan 12 15:40:38 MST 2005
Hello all,
I'm trying to connect to a FM7 db for the fist time and am getting an
error. What am I missing? Thanks!
-Jordan
My code is:
<?php
require_once($HTTP_SERVER_VARS['DOCUMENT_ROOT'] . "/FX/FX.php");
require_once($HTTP_SERVER_VARS['DOCUMENT_ROOT'] . "/FX/FMErrors.php");
require_once($HTTP_SERVER_VARS['DOCUMENT_ROOT'] .
"/FX/server_data7.php");
require_once($HTTP_SERVER_VARS['DOCUMENT_ROOT'] .
"/FX/image_proxy.php");
$FM = new FX($serverIP,$webCompanionPort,'FMPro7');
$FM->SetDBData('IDWweb.fp7','invoices',50000);
$FM->setDBPassword($DBPassword,$DBUser);
$FM->AddDBParam('Year', 2005);
$ReturnedData=$FM->FMFind();
echo "<pre>";
print_r($ReturnedData);
?>
the output is
fx_error Object
(
[error_message_prefix] =>
[mode] => 1
[level] => 1024
[code] => 100
[message] => FX: ExecuteQuery XML error: mismatched tag at line 118
[userinfo] =>
[backtrace] => Array
(
[0] => Array
(
[file] => /Library/Apache2/htdocs/FX/FX.php
[line] => 889
[function] => fx_error
[class] => fx_error
[type] => ->
[args] => Array
(
[0] => ExecuteQuery XML error: mismatched
tag at line 118
)
)
[1] => Array
(
[file] => /Library/Apache2/htdocs/FX/FX.php
[line] => 1051
[function] => executequery
[class] => fx
[type] => ->
[args] => Array
(
[0] => -find
)
)
[2] => Array
(
[file] => /Library/Apache2/htdocs/FX/FX.php
[line] => 1102
[function] => fmaction
[class] => fx
[type] => ->
[args] => Array
(
[0] => -find
[1] => 1
[2] => full
)
)
[3] => Array
(
[file] => /Library/Apache2/htdocs/Proof
System/web-content/proof/db7test.php
[line] => 23
[function] => fmfind
[class] => fx
[type] => ->
[args] => Array
(
)
)
)
[callback] =>
)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2888 bytes
Desc: not available
Url : http://www.iviking.org/pipermail/fx.php_list/attachments/20050112/733d7ad3/attachment-0001.bin
More information about the FX.php_List
mailing list