[FX.php List] Help: Getting an error "missmatched tag at line 118"

Michael Layne fx at 9degrees.com
Thu Jan 13 09:41:57 MST 2005


The only time I have ever had that error was when the solution required 
a password and I either didn't pass one or had the wrong one.

It could of course be something else...

then again, what is the last value for SetDBData (50000) ?
> 		$FM->SetDBData('IDWweb.fp7','invoices',50000);


according to documentation, that could be ''all", default is 50,  or 
leave blank, but 50000?  you might want to omit that and see what 
happens.

HTH.

Michael

On Jan 12, 2005, at 5:40 PM, Jordan Sandford wrote:

> 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] =>
> )_______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>

Michael Layne  :  9 degrees development  :  www.9degrees.com  :  
404.226.7835
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 3763 bytes
Desc: not available
Url : http://www.iviking.org/pipermail/fx.php_list/attachments/20050113/f53a6220/attachment.bin


More information about the FX.php_List mailing list