[FX.php List] Very small difference in v12 XML

Steven Thoms sthoms at wavecomm.com
Fri Sep 14 09:18:17 MDT 2012


All,

This is a small issue I have discovered, but one I use all the time.  
When I run a query using the -dbnames action, without setting other  
attributes, i.e. no layout, no max, no db, etc. Here is the code:

$strError = '';
$resultError = 0;
$query = new FX(FM_IP, FM_PORT, FM_VERSION, SCHEME);
$query -> SetDBUserPass(FM_USERNAME, FM_PASSWORD);
$result = $query -> FMDBNames();

I get an error '4: Command is unknown' and the following url:

http://user:pass@127.0.0.1:80/fmi/xml/FMPXMLRESULT.xml?-db=&-max=&-dbnames

This url works on prior versions of the WPE. If you manually change  
the code to:

http://user:pass@127.0.0.1:80/fmi/xml/FMPXMLRESULT.xml?-dbnames

The xml describing available files is returned. I know this is a small  
issue; I use it only to assure we avoid 100 errors (File is missing)  
later in the process. I just want to share this with the group and  
confirm it is not unique to my install (FMS12/IIS/WindowsServer2008)

Thanks and Take care,

Steve
207 798-0171



More information about the FX.php_List mailing list