[FX.php List] Can't get query to work on FM Server 13

Bob Patin bob at patin.com
Fri Jun 13 09:14:07 MDT 2014


That was it… thanks for reminding me, I’d totally forgotten about that. 

BP

Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-333-6858
FileMaker 9, 10, 11, 12 & 13 Certified Developer
http://www.longtermsolutions.com
-
iChat: bobpatin at me.com
Twitter: bobpatin
—
FileMaker Consulting 
FileMaker Hosting for all versions of FileMaker
PHP • Full email services • Free DNS hosting • Colocation • Consulting

On Jun 13, 2014, at 10:03 AM, Fitzgerald, Theodore C <ted-fitzgerald at uiowa.edu> wrote:

> Bob,
> 
> Do you have the latest version of FX.php from github?  I actually just ran into this exact issue this morning and pulling the latest code helped.  There was an update to FX.php to make it compatible with Server 13 a while back.
> 
> Ted
> 
> Application Programmer/Analyst
> ITS-Enterprise Services
> 2800 UCC
> University of Iowa
> 
> -----Original Message-----
> From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Bob Patin
> Sent: Friday, June 13, 2014 9:46 AM
> To: FX.php Discussion List
> Subject: [FX.php List] Can't get query to work on FM Server 13
> 
> OK list, here's a simple query that I can't get to work on FM Server 13:
> 
> <?php
> 
> include_once('FX/FX.php');
> include_once('FX/server_data.php');
> 
> $q =new FX('208.52.164.174',80,'fmpro7','http');
> $q->SetDBData('FMServer_Sample','web');
> $q->SetDBPassword('web','web');
> $qResult = $q->FMView();
> 
> echo "Error code: ".$qResult['errorCode'];
> 
> ?>
> 
> Notice that I hard-coded the new FX command, just to make sure that wasn't an issue... I get error code 4, which means "Unknown command." Huh?
> 
> The only difference in setups is that now, the website is on one server and the FM Server / web publishing engine are on another. 
> 
> I'm running PHP 5.3.26 on the web server; since I get a FileMaker error code back, I assume the WPC is actually sending and receiving, but what am I missing here?
> 
> Things that I've checked:
> 
> FX folder does exist, and 'FX.php' is present; Privileges are set to allow XML; login creds are correct Database exists WPE is running on the FM server because I can run the test page and it succeeds
> 
> Thanks,
> 
> Bob Patin
> Longterm Solutions
> bob at longtermsolutions.com
> 615-333-6858
> FileMaker 9, 10, 11, 12 & 13 Certified Developer http://www.longtermsolutions.com
> -
> iChat: bobpatin at me.com
> Twitter: bobpatin
> -
> FileMaker Consulting
> FileMaker Hosting for all versions of FileMaker PHP * Full email services * Free DNS hosting * Colocation * Consulting
> 
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list