[FX.php List] First try with WPE and FM Server 13... fail...

Andrew Denman adenman at tmea.org
Tue Mar 18 11:27:52 MDT 2014


I guess I should also mention: upgrading to the latest FX.php version from github was all we had to do to make FileMaker 13 work with FX.php.

Andrew Denman

From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Andrew Denman
Sent: Tuesday, March 18, 2014 12:23 PM
To: FX.php Discussion List
Subject: RE: [FX.php List] First try with WPE and FM Server 13... fail...

It’s been a while since I’ve had to dig in an error object, but the ‘dataServer’ variable doesn’t look right it when I run your test page. Missing periods and includes what looks suspiciously like curly quotes.

‘fms6longtermsolutionscom’


Andrew Denman

From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Bob Patin
Sent: Tuesday, March 18, 2014 12:15 PM
To: FX.php Discussion List
Subject: Re: [FX.php List] First try with WPE and FM Server 13... fail...

It’s not a port issue; there’s no firewall yet on this machine.

BP

On Mar 18, 2014, at 12:08 PM, Vargas, Steve E <vargas_s at aps.edu<mailto:vargas_s at aps.edu>> wrote:

Have you recently pinged the IP and checked the status of the port?

Steve


From: fx.php_list-bounces at mail.iviking.org<mailto:fx.php_list-bounces at mail.iviking.org> [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Bob Patin
Sent: Tuesday, March 18, 2014 11:03 AM
To: FX.php Discussion List
Subject: Re: [FX.php List] First try with WPE and FM Server 13... fail...

Well, a server restart made it run faster, but still no joy; here’s the first line that I get back from a print_r():

FMS 13 web app test...FX_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => 100 [message] => FX: cURL could not retrieve Post data in RetrieveFMData(). A bad URL is the most likely reason.


On Mar 18, 2014, at 12:01 PM, Bob Patin <bob at patin.com<mailto:bob at patin.com>> wrote:


Oops, that’s not the code on the page…

<?php

include_once('FX/FX.php');
include_once('FX/server_data.php');

echo 'FMS 13 web app test...';

// perform query
$q =new FX($serverIP,$webCompanionPort, $dataType);
$q->SetDBData('wpe_test.fmp12', 'data' );
$q->SetDBPassword($webPW,$webUN);
$qResult = $q->FMFind();

echo $qResult['errorCode'];

?>

On Mar 18, 2014, at 11:46 AM, Bob Patin <bob at patin.com<mailto:bob at patin.com>> wrote:


Hey Chris,

I downloaded 6.0 from github; is that the latest?

Still no joy; I copied the test page and FX folder to the FMS server, but it won’t successfully query the DB; if you want to take a look, here’s the test page:

http://fms6test.longtermsolutions.com<http://fms6test.longtermsolutions.com/>

and here’s the query:

<?php

include_once('FX/FX.php');
include_once('FX/server_data.php');

echo 'FMS 13 web app test...';
exit;

// perform query
$q =new FX($serverIP,$webCompanionPort, $dataType);
$q->SetDBData('wpe_test.fmp12’,’data’);
$q->SetDBPassword($webPW,$webUN);
$qResult = $q->FMFindAll();

// echo ‘Found: '.$qResult['foundCount'];

print_r($qResult);

?>

As always, your help is greatly appreciated; hope you’re well,

Bob


Bob Patin
Longterm Solutions
bob at longtermsolutions.com<mailto:bob at longtermsolutions.com>
615-333-6858
FileMaker 9, 10, 11 & 12 Certified Developer
http://www.longtermsolutions.com<http://www.longtermsolutions.com/>
-
iChat: bobpatin at me.com<mailto: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 Mar 18, 2014, at 11:40 AM, Chris Hansen <chris at iViking.org<mailto:chris at iViking.org>> wrote:


Bob,

Good and good.  But, you WILL need the latest version of FX.php.  Unfortunately another oddity was created with the release of FileMaker 13, so you need to be using the very latest version of FX.

Best,


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20140318/3cb41ff5/attachment-0001.html


More information about the FX.php_List mailing list