[FX.php List] ExecuteQuery XML error: mismatched tag at line 6
jason f. boldt
jason_fb at beezwax.net
Wed Feb 7 11:43:53 MST 2007
Sure, here's the configuration file:
<?php
$serverIP = 'pisces.dwc-west.net';
$webCompanionPort = 80; // for FM7SA, this should we the web
server port
$dataSourceType = 'FMPro7';
$scheme = 'http'; // generally this will be 'http';
'https' for SSL connections to FileMaker
$fm_dbpass = "pass";
$fm_dbuser = "user";
?>
and here's the code from the script:
$directqry = new FX($serverIP, $webCompanionPort, $dataSourceType);
$directqry->SetDBPassword($fm_dbpass, $fm_dbuser);
$directqry->SetDBData("Households.fp7","Main", 1);
$data = $directqry->FMFind();
$dataObj = $data['data'];
print "<PRE>";
print_r($data);
print "</PRE>";
and here's the result:
fx_error Object
(
[error_message_prefix] =>
[mode] => 1
[level] => 1024
[code] => 100
[message] => FX: ExecuteQuery XML error: mismatched tag at line 6
[userinfo] =>
[backtrace] => Array
(
[0] => Array
(
[file] => /Library/WebServer/Documents/dev_fm8/
libs/FX/FX.php
[line] => 895
[function] => fx_error
[class] => fx_error
[type] => ->
[args] => Array
(
[0] => ExecuteQuery XML error:
mismatched tag at line 6
)
)
[1] => Array
(
[file] => /Library/WebServer/Documents/dev_fm8/
libs/FX/FX.php
[line] => 1057
[function] => executequery
[class] => fx
[type] => ->
[args] => Array
(
[0] => -find
)
)
[2] => Array
(
[file] => /Library/WebServer/Documents/dev_fm8/
libs/FX/FX.php
[line] => 1108
[function] => fmaction
[class] => fx
[type] => ->
[args] => Array
(
[0] => -find
[1] => 1
[2] => full
)
)
[3] => Array
(
[file] => /Library/WebServer/Documents/dev_fm8/
validation_logInUser.php
[line] => 13
[function] => fmfind
[class] => fx
[type] => ->
[args] => Array
(
)
)
)
[callback] =>
)
On Feb 6, 2007, at 3:34 PM, Jonathan Schwartz wrote:
> Can you show the us the config settings?
>
> J
>> FX List,
>>
>> I am attempting to migrate a web application that was using
>> FileMaker 5.5 server (with a FM6 publishing engine) right on up to
>> FIleMaker Server Advanced 8.0v4.
>>
>> I changed the config file the way I thought I should.... but now
>> I'm getting this strange FX error I've never seen before... (FX is
>> returning the FX_Error object), when I print it out using print_r
>> () function I get:
>>
>>
>> fx_error Object
>> (
>> [error_message_prefix] =>
>> [mode] => 1
>> [level] => 1024
>> [code] => 100
>> [message] => FX: ExecuteQuery XML error: mismatched tag at line 6
>> [userinfo] =>
>> [backtrace] => Array
>> (
>> [0] => Array
>>
>>
>> {remainder deleted}
>>
>>
>> what should I check? One of the things I love about the FX class
>> is the very exact error report... but this one I've never seen
>> before... maybe it's a FM7/8 thing?
>>
>> thanks for any tips,
>> Jason
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>
>
> --
>
> Jonathan Schwartz
> FileMaker 8 Certified Developer
> Associate Member, FileMaker Solutions Alliance
> Schwartz & Company
> jonathan at eschwartz.com
> http://www.eschwartz.com
> http://www.exit445.com
> 415-381-1852
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
--
jason f. boldt
jason_fb at beezwax.net
beezwax datatools inc
(510) 835-4483 x 104
More information about the FX.php_List
mailing list